How to serve file downloading with Wait Node

[Question] How to serve file downloading with Wait Node.

This is simple file downloading service workflow.

I run workflow successfully without Wait Node.
But, I need some more scenario step to download binary from other so that I added Wait Node with “Respond to Webhook” - named in workflow : “Respond to Wait-Webhook”.

I need your kind help what I should set parameters in “Respond to Wait-Webhook”.
or
Any suggest robust-way to handle my scenario ?

[Secnario]

  1. Webhook from user
  2. Create file
  3. Wait for download from other request
  4. End 1st webhook request

Information on your n8n setup

  • n8n version: 1.102.3
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): ?
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Raspberry Pi OS

Hi there, can you explain more wjat are you trying to achieve here? what does the respond to wait-webhhok does

d you want to like,for the wait-webhook to like tell the user that it’s ‘waiting’ and then the last respond webhook node for sending the actual data?

if it is then you can do something like this

Thank you for your kind answer.

As I mentioned your suggestion worked successfully in my original workflow - which is the same with your suggestion.

I run workflow successfully without Wait Node.

I should add interrupt request to download file while original worklow is being executed.
Step #3 is for that.

[Secnario]

  1. Webhook from user
  2. Create file
  3. Wait for download from other request
  4. End 1st webhook request

I hope you understand my scenario and give more guide for me :slight_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.