Merge behavior

Hi dear friends

In my case:

  • I use 2 stream in one workflow.
  • Because I use telegram nodes and trigger I can’t connect straight stream 1 to stream 2.
  • In stream 2 I need some data from stream 1 and from external api (and telegram trigger)
  • I started stream 2 with 2 Webhook. First one get information from “http url node” in the end of stream 1and the second Webhook get information from external api.
  • I merge them by “merge node” on wait feature.

My problem is that:

The “merge node” on wait feature should force workflow wait for income information from both Webhook and then when both information is ready it allow run remaining stream, but I don’t know why it doesn’t work and when the first Webhook is triggered my stream got continue without attention to wait feature on merge node.

Sorry that is not possible and is sadly not how it works. Trigger and Webhook nodes start a workflow and a workflow does always just get started by one trigger. It is not possible to get data from to trigger nodes.
If you have two Webhook Nodes it simply means that the workflow can get started via two different URLs.

You right.
My problem is about “merge node”.
It should be wait for data from tow different stream, isn’t it?
Do you think I make mistake?
Best regards;

Ah only one of the inputs is a webhook or trigger? Then it should wait. Did you connect only one node per input or multiple ones?

Really I connect two Webhook to one merge node.
I connect Webhook 1 to input 1 and Webhook 2 to input 2.

Ah ok. So then it can not work. A merge node waits for the data of all inputs but if the second input is a Trigger or Webhook node it simply resolves it with an empty item.

Emmm
Can you probably add options to add this feature (wait for multiple Webhooks or triggers) or basically it can not possible?

That is nothing that can be added easily. That would be a big change.

oooooh thank you.
I try to find another way to solve my way.

another thing please:
In Webhook setting I see “response mode” that I can’t understand how can I use it, can you please help me?

changer_014

Can you please open a new topic for that as it is a totally different and unrelated question.

1 Like