Describe the problem/error/question
Hello,
I need help with an n8n workflow issue I’m experiencing.
I have created n8n workflows with the following structure:
main: A main workflow that executes a sub-workflow and waits for the result to proceed with the next task.
caller: A sub-workflow called by main. It sends an HTTP request through an HTTP Request node, including the $execution.resumeUrl from a Wait node in the same workflow. The Wait node waits until a webhook is called, then returns the body content when the webhook triggers.
worker: Operates with a webhook trigger. When the webhook is called, it performs predefined tasks and upon completion, makes an HTTP request to the received resumeUrl with the execution results.
What I want to achieve:
I want the main workflow to properly receive the results performed by the worker when the main workflow is executed.
Problem:
When I actually run the main workflow, both worker and caller execute normally and return proper results. However, the main workflow only receives the original parameter information that was used when initially calling the caller, not the updated results.
The main workflow waits until both caller and worker complete their tasks, but it’s not properly receiving the results returned by the caller.
Has anyone experienced a similar issue with Wait nodes and resume webhooks? Any suggestions on how to ensure the main workflow receives the updated data from the caller after the worker completes its task?
Thank you for your help!
What is the error message (if any)?
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
Share the output returned by the last node
Information on your n8n setup
- n8n version: 1.99.1
- Database (default: SQLite): SQLite
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Ubuntu 22.04