Share feedback, ideas and get community help

Updated 5 months ago

High Response Time for startChat API in Self-Hosted TypeBot on Vercel

At a glance

The community member has a self-hosted TypeBot instance on Vercel, connected to a MySQL database. They are experiencing a noticeable delay of 15-16 seconds in the initial load when clicking on the chat bubbles, and the bottleneck seems to be with the startChat API. The comments suggest that the delay may be caused by a long-running block in the flow, such as an OpenAI integration, and provide a link to a TypeBot documentation page about webhook execution order. However, there is no explicitly marked answer in the provided information.

Useful resources
I have a self-hosted TypeBot instance on Vercel, connected to a MySQL database. When I click on the chat bubbles, there's a noticeable delay in response time, sometimes taking 15 to 16 seconds for the initial load. The bottleneck seems to be with the startChat API. How can I reduce this delay?
B
2 comments
Maybe your flow starts with a long-running block like OpenAI or something?
Add a reply
Sign up and join the conversation on Discord