Webhook returning empty body if connected to sub workflow

Hi,

I have a simple workflow where it would be triggered by a webhook and processed by a sub workflow.

For some reason, it seems that the “Respond to Webhook” node is returning an empty HTTP body if the output of the sub workflow is connected to it.

From the execution history, it seems to be stuck at waiting for an incoming webhook call even though i triggered it via webhook.

Testing with POSTMAN : Sub workflow connected to Respond to Webhook

Testing with POSTMAN : Sub workflow NOT connected to Respond to Webhook

Why is the Respond to Webhook only responding when not connected to the sub workflow or any other node?

*It is all on localhost

  • n8n version: 1.122.5

  • Database (default: SQLite): N/A

  • n8n EXECUTIONS_PROCESS setting (default: own, main): default

  • Running n8n via (Docker, npm, n8n cloud, desktop app): docker

  • Operating system: N/A