Sub workflow with Human in the Loop does not return an output

Describe the problem/error/question

I have a main workflow and a sub workflow.
I have a “Human in the loop” node in a sub-workflow.

The issue is that I can’t get an output value from the sub-workflow in the main workflow. I always get a value of the previous node (just before the sub-workflow execution).

If I remve “Human in the loop” - everything works fine.

What is the error message (if any)?

No errors, just no output.

Please share your workflow

Main workflow

Sub workflow

Share the output returned by the last node

“output”: “main_flow”

Expected output

“output”: “subprocess”

Information on your n8n setup

  • n8n version: 1.107.3
  • Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main): sorry have no idea
  • Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
  • Operating system:

Unfortunately this is a limitation of n8n that will not be fixed until a major update (like n8n 2.0). Anytime you use a wait node in a sub-workflow it will not output data back to the main one.

You will either need to do that in the main one, or if you can’t, feel free to open a new thread and post your workflow there, so we can brainstorm on workarounds. I did one just today.

Feel free to mark as solution if this helped :slight_smile:

1 Like

Thank you for pointing this out! Hope there will be a major release this year.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

There was, and this is now possible: n8n v2.0 breaking changes | n8n Docs :slight_smile:

1 Like