My API sends responds back but sometimes it needs a little bit more time to process data and answer. I checked my logs the answer from my server was sent but it was too late for many chat to wait
I tried to add delay method in the many chat but it didn’t work.
Can I adjust responds wait time?
Unfortunately there's nothing we can do about.
External requests timeout at 10 seconds (except for requests to OpenAI.com).
If your API takes more than that, you have 2 options:
- Make your API faster
- If that's not possible, you need to create an asynchronous logic where you send the information and get a 200 OK immediately (no delay). Your API then set custom fields with the response and triggers the response flow to the user. It's a pain in the butt and a lot of work to get this going, but it works...
Unfortunately there's nothing we can do about.
External requests timeout at 10 seconds (except for requests to OpenAI.com).
If your API takes more than that, you have 2 options:
- Make your API faster
- If that's not possible, you need to create an asynchronous logic where you send the information and get a 200 OK immediately (no delay). Your API then set custom fields with the response and triggers the response flow to the user. It's a pain in the butt and a lot of work to get this going, but it works...
Where do I send my message back? I haven’t seen that manychat provides a callback url
Unfortunately there's nothing we can do about.
External requests timeout at 10 seconds (except for requests to OpenAI.com).
If your API takes more than that, you have 2 options:
- Make your API faster
- If that's not possible, you need to create an asynchronous logic where you send the information and get a 200 OK immediately (no delay). Your API then set custom fields with the response and triggers the response flow to the user. It's a pain in the butt and a lot of work to get this going, but it works...
Can’t I write any logic in many chat to fix this?
You have to use the API:
Which API should I use? I tried all from sending but can’t understand which one about instagram and which id they need for instagram
Hi

It’s all detailed there ;)
Then most likely you’re doing something wrong
Happy to jump on a troubleshooting call if you’d like.
You can book it on this link. (and we can speak Spanish also if you prefer)
This Workaround may help you guys...
I am using a polling approach and it is working for me.
My external requests go to voiceflow (the tool I use to build my ai agents), my agents sometimes run other functions and API requests behind the scenes before responding so it usually takes more than that Manychat’s lame 10 seconds native time out to respond
After running the request, I added a condition to check if the mapped-out variable is unknown. If it is unknown, it waits 10 seconds to make sure that the agent generated his response and then it sends the same request again but this time with a static message in the payload asking my agent to resend his last response. This time, the agent doesn’t do anything but resending his last response so it’s a lot quicker than he did generating the response. the variable is now known so the automation carries on..
P.S. It is a loop so don’t forget to handle errors ..

Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.