Hi, I’m trying to know if it’s possible to send 2 items from 2 separate HTTPs request to one unique Webhook (in another separate workflow). I tried with the test version but it only listen for one HTTPs request but it’s maybe because I’m in test mode.
If you would like to send data from two distinct HTTP requests, you should pack the responses from both into one array and then send that to the Webhook.
HTTP request are from 2 separate workflow, that why I tried to build a new workflow with a webhook. I would like to get all output data from the 2 workflow.
To illustrate :
Workflow 1 → Do some data transformation and calculation from source 1, end with a http request
Workflow 2 → Do some calculation and transformation too but from source 2, end with a http request
Workflow 3 → Starts with a Webhook Trigger (I would like to merge all my previously calculated and transformed data)
Did you have any idea how can I do it ?
edit : I tried to add 2 Webhook with different URL targeted by my 2 HTTP request but its not working too. My Workflow 3 stopped when it gets only one item from Workflow 1 or 2.
So they are two separate http calls to you and you want to return the data of both together, right?
Is there any identifiable data in them where you could store the first calls data until the second one comes in and then match it with a search to combine them? This could be done many places: local storage/spreadsheet/air table
Flow 1 - prepare data, save the data_pack1 on the n8n’s disk, trigger the webhook with something like “hey, I’ve saved the data_pack1”
Flow 2 - prepare data, save the data_pack2 on the n8n’s disk, trigger the webhook with something like “hey, I’ve saved the data_pack2”
Flow with Webhook - check if both files are on the disk. Basically, It has two possible scenarios:
** if the data_pack1 is saved and data_pack2 is not yet (or vice versa), then it does nothing.
** if both files are sabed on the disk, then it downloads their content, deletes the original files and processes them as you want.