How to Introduce a Delay Between couple of Nearly Simultaneous Webhook Triggers

Hi everyone,

I’m facing a challenge in Make and would appreciate any insights or advice!

The Issue: I have a single webhook that gets triggered couple of time in quick succession, with only a milliseconds difference between. I need to process these webhook triggers with a 5-second delay between them. However, since they are nearly simultaneous, Make processes them almost at the same time, which isn’t ideal for my use case.

Alternatively, I would want to make sure that the scenario dosent run until the last one is finished

Any idea how to do it?

Thanks!

1 Like

Welcome to the Make community!

You simply need to turn on Sequential Processing in the scenario settings.

Then, after each trigger module, add a Sleep module with value 5.

Screenshot_2024-08-28_180832

Hope this helps! Let me know if there are any further questions or issues.

@samliew


P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!

Hey, first of all thanks!

The problem now is that every time the webhook is running, it’s adding to “incomplete excution”
“There are 2 records in the queue waiting to be processed.”

1 Like

Hi @Tom_Pesach

Data goes in queue when webhook is off. Could you please confirm to turn on your scenario?

Regards,

Msquare Automation - Gold Partner of Make
@Msquare_Automation

scenario is turned on

1 Like

@Tom_Pesach

Now it will process the data immediately it comes.

Regards,

Msquare Automation - Gold Partner of Make
@Msquare_Automation

Turn your scenario off and then on again. It will prompt you to delete all the data in the queue, or process all the older requests first.

Then keep the scenario turned on, otherwise new requests will enter the webhook queue and not get processed.

Hope this helps! Let me know if there are any further questions or issues.

@samliew


P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!

This is currently the situation, if there are incomplete runs it paused the sequence, any way to prevent it and to make sure it will run?

Did you try turning it off and on again like I mentioned, and select one of the two options?

What happens then?

When I try to turn off and on and click on “process old data” nothing happens

Hi Tom, you need to click on Incomplete Executions (on the right of the History tab) and go to the detail of each execution and re-run it (you will see the Play button says Run Once).

Until you complete all your incomplete executions, your normal scenario won’t run.

If the old data doesn’t need to re-run again, then just delete all the incomplete executions.

1 Like