How do I add another trigger into the workflow?

I have a workflow, and at the end of that workflow an unique ID is created.

I need that unique ID passed into another workflow where it then sits and waits for a webhook

once that webhook is recieved, the ID and the data from the webhook combine and are used in the new workflow

I have tried wait for webhook, but the service sending the webhook in doesn’t allow dynamic urls
I tried execute workflow from the previous workflow, but when I insert the wait for webhook node I have to use the url for the wevhook that is generate new each time

in order to use the webhook sent in I have to create a new subworkflow, which captures the data fine, but I am at a loss of how to combine the unique id from the previous workflow with the webhook I just recieved.

it would be ideal if I could just tell my workflow to stop and wait for the webhook and it gives me a webhook url which is the same every time

is there a “send data to another workflow and wait for a webhook” node? lol

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

hello @djjace

Can you return that unique ID in the first webhook response? So it will move within the data into the next webhook.

Another option is to pass that ID to the next workflow and store it in the workflow’s metadata, so the webhook can access it when it is fired. Example below.
First workflow

Second workflow

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