How to wait for after wait-node resume before returning request response?

Hello everyone!

Describe the issue/error/question

I have a workflow containing the following:

  1. Webhook node
  2. HTTP node
  3. Wait node
  4. HTTP node

I’d like for the webhook response to happen AFTER the last HTTP node response happens. Is this a possiblity? I have not been able to get it done.

Please share the workflow

(Select the nodes and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow respectively)

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 0.145.0
  • Database you’re using (default: SQLite): Postgres
  • Running n8n with the execution process [own(default), main]: main
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: Docker

Very sorry but that is sadly currently not possible.

The reason is that n8n stops the workflow execution and puts it to sleep to save resources as soon as a wait-node does get hit (except if “After time interval” is used smaller than 60 seconds). That means that the Wait-Node will be the last node of the Execution and the Webhook will so return its data.

1 Like