Hey all,
I have a Make scenario that begins with a webhook to capture WhatsApp conversation responses. Each time it’s triggered, a complex scenario is activated, involving multiple ChatGPT Assistant modules using the same thread. Everything runs smoothly, except when I receive more than one WhatsApp response in quick succession. In that case, the scenario sends multiple iterations to the ChatGPT Assistant simultaneously, which results in an error.
I’m looking for a solution where each iteration waits until the previous one has fully completed before processing the next. Essentially, I want to ensure that no new webhook data is processed until the entire scenario has finished. The challenge is that my scenario has multiple branches, making it a bit more complex to manage.
Do you have any suggestions on how to implement this in Make?
Error [400] Can’t add messages to thread_xxxxx is active.
1 Like
Welcome to the Make community!
In the scenario settings, turn on Sequential Processing to “Yes”.
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!
Thanks for your Help! But this doesn’t solve my problem, it creates another ones!I
1st- My scenario is not answering correctly and I’m getting this warning:
Warning
Response can’t be processed when scenario is not executed immediately on data arrival.
Is there any other solution that keeps the webhook running but pauses the other modules and waits until chatgpt modules are done before runing next iterations?
1 Like
Hi @Hamza_Haddadi
Webhook response can only run on the time of trigger. This doesn’t work with delay. You can add.
You can do one thing in this case. Use webhook response in your 1st scenario and put rest of the flow in another scenario with another webhook. To that second scenario, pass the payload to webhook using http post request from 1st scenario. And then set your second scenario to sequential processing.
Best regards,
Msquare Automation
Platinum Partner of Make
@Msquare_Automation