‘Test workflow’ UI hangs on custom send and wait node, unless there’s a base wait node present
Hey all!
I’m making a custom ‘send and wait’ node modeled after the Slack and Gmail approval nodes. On execute, it constructs a callback/webhook url, sends a request to some other 3rd party http service, and puts execution to wait unlimited. On webhook (call made from 3rd party http service with constructed callback url), it sets the output to the payload body.
Given a very simple workflow of Trigger → SendAndWait → NoOp, using ‘Test workflow’ will lead execution to wait for a webhook callback on SendAndWait. When this call is made (even successfully), the UI does not display node output or resume execution to the next node.
Hitting stop at this point displays a message that the workflow already completed successfully, and at this point I can inspect the SendAndWait output here or in historical executions.
However, if I place a normal wait node in parallel, e.g. Trigger → [SendAndWait, Wait] → NoOp, then output will display immediately on the SendAndWait node after receiving it, and execution will move to the Wait node to hold for its own webhook.
Ultimately would like to figure out how to fix UI updates during ‘Test webhook’ to better develop workflows with my custom SendAndWait nodes.
Thank you!
What is the error message (if any)?
None
Information on your n8n setup
- n8n version: latest
- Database (default: SQLite): postgres
- n8n EXECUTIONS_PROCESS setting (default: own, main): own
- Running n8n via (Docker, npm, n8n cloud, desktop app): docker compose
- Operating system: Windows