Sub-Workflow Does not return output from the last node

The output of my “Execute Sub-Workflow” shows everything from the sub-workflow instead of just showing me the output from the final node in the Sub-workflow.

Describe the problem/error/question

As part of the “Execute Sub-Workflow” I’m using a “Wait Form” node to send a message using the Form link and using that information downstream of my main workflow. The “Wait Form” is a sub-workflow called by my main workflow that initially does a different HTTP call to grab all the possible values for a dropdown list and updates the “Wait Form” workflow using the “Update Workflow” node. ?
After running the “Update Workflow” node, we have a few other steps but essentially reaches the point where it now needs to execute the sub-workflow that contains the “Wait Form” node (same that was updated previously).

Everything workflows perfectly except, the output after the sub-workflow is executed shows me data from the entire main workflow which is irrelevant.

What is the error message (if any)?

Not getting any output from the sub-workflow nodes in the output of the “Execute Sub-Workflow” node after execution is completed.

Please share your workflow

Main Workflow (the one that calls the sub-workflow):

Sub Workflow (the one that gets updated and gets called from the Main workflow):

Share the output returned by the last node

Output from the last node in Sub-Workflow:

Output from the “Execute Sub-Workflow Node” in Main Workflow:

Ideally this output should match the output above since the “Edit Fields” node is the last node in the sub-workflow.

Information on your n8n setup

  • n8n version: 1.108.1
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Cloud
  • Operating system: N/A
2 Likes

I have the same issue. Has anyone found a solution?

I have a Slack wait for response node in my sub-workflow. The outputs from Slack are captured correctly in the sub workflow, I map the ones I want to a Set node which I place last but in the main workflow the output is not visible.

Hello friends!
I think it’s time to be ready for upgrade to n8n v2,
There is a breaking change and behavior changes related to sub-workflows:

Thank you. Is there any alternative way? Because before I upgrade I need to test the workflows I have live.