https://retellai.com/?utm_source=discord&utm_medium=seo logo
w
@AI Evy Hi. I’ve already tested everything in your documentation regarding how to send dynamic variables to an Inbound agent using Conversational Flow Hygiene, and the issue still persists: > The agent starts talking immediately when the call begins, before the webhook data is received, so variables like {{name}} are not being read, even though they are correctly passed. ✅ I’ve confirmed that: The webhook is working and sends all variables correctly (name, direccion, etc.). The respond to webhook payload is perfect and visible in N8N. The same webhook and variable structure works perfectly with other Inbound multiprompt agents. So the issue clearly comes from Retell’s internal processing/sync when using Conversational Flow Hygiene. 🛑 Please don’t suggest: Using Extract Variables node → already tested. Switching to multiprompt agent → not acceptable in this project. Renaming variables → everything is already clean and correct. “Wait a bit longer” → agent already starts talking before webhook resolves. Telling me to “check docs” → I’ve already read them all. 🎯 What I need is: 1. How can I delay the agent’s first sentence by 1–2 seconds to allow webhook input to load properly? 2. Is there any official or reliable workaround to fix this delay issue? 3. Is this a known limitation of Conversational Flow Hygiene? 4. Are you planning to release a solution like initial delay or similar? This is urgent. The Outbound agent is already in production and this issue is blocking the Inbound rollout. Thanks.
a
Thanks for tagging me @wilx015. I'll look through relevant sources and get back to you shortly.
### Answer For addressing your delay issue with inbound webhook data, there are several relevant configuration options available: 1. Delay Agent's First Response You can use the
begin_message_delay_ms
parameter to delay the first message [(1) ]() . This parameter allows you to delay the first message by a specified amount of milliseconds, giving more time for webhook data to be processed . The valid range is [0, 5000] milliseconds, and it only applies when the agent speaks first . 2. Webhook Processing Behavior According to the inbound webhook documentation, when the webhook response is not received yet, the call continues to stay in ringing state [(2) ]() . If the webhook is not successful, it gets retried up to 3 times . This suggests the system is designed to wait for webhook responses before proceeding. 3. Recommended Webhook Implementation Based on community discussions, the recommended approach is to configure your webhook handler to respond immediately with a 200 OK response, potentially with an override agent ID, then launch your workflow asynchronously [(3) ]() . This allows Retell to receive the webhook and stay in control while calls proceed . 4. Similar Issues Reported Other users have reported similar timing issues with inbound webhooks not being processed before the agent begins speaking [(4) ]() . This appears to be a known challenge in the community. Configuration Steps: 1. Set
begin_message_delay_ms
to 1000-2000 milliseconds in your agent configuration [(1) ]() 2. Ensure your webhook responds immediatel
​ To learn more, see the sources I considered: [[1] Create Agent](https://docs.retellai.com/api-references/create-agent) [[2] Inbound call webhook](https://docs.retellai.com/features/inbound-call-webhook) [[3] agent is not waiting for inbound response](https://discord.com/channels/1186424376300679209/1399757938532552704) [[4] Discord message from @bango6987 on 2024-11-10](https://discord.com/channels/1186424376300679209/1186462578310910112/1305141911648211026) ​
y with a 200 status code containing the dynamic variables [(2) ]() 3. Configure the agent to use "AI Remains silent until users speak first" if appropriate for your use case The
begin_message_delay_ms
parameter appears to be the most direct solution for your timing issue, allowing the webhook processing to complete before the agent begins speaking.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
w
@AI Evy Hi, I’ve read the documentation and I understand that begin_message_delay_ms is the recommended way to delay the first message so webhook variables have time to load. However, I’m using only the Retell AI dashboard to create and manage an inbound agent, not using the API or any external app. My agent receives calls via the default inbound flow from Retell (using the internal agent builder). I don’t see any option to set begin_message_delay_ms anywhere in the UI. Where exactly can I set begin_message_delay_ms if I’m working only through the dashboard (no API)? Please don’t suggest ExtractVariable nodes or workarounds — this is clearly a timing issue where the agent starts speaking before webhook values finish loading. Other agents using Multi-Prompt don’t have this issue. I just need to know how to delay the first message properly in a standard inbound agent configured via dashboard. Thanks.
a
Thanks for the follow-up, @wilx015. I'll get back to you soon.
### Answer Based on the available documentation, the
begin_message_delay_ms
parameter is documented in the API references for both creating [(1) ]() and updating agents [(2) ]() . However, the sources I have access to only cover the API endpoints and don't provide information about dashboard UI configuration options. The documentation shows that
begin_message_delay_ms
can be set through the API with a range of [0, 5000] milliseconds [(1) ]() , but I don't have specific information about where this setting appears in the Retell AI dashboard interface. I can't find information about the dashboard UI location for this setting in the available sources. For the exact location of this parameter in the dashboard interface, I'd recommend: Visit [Contact Sales]() Visit [) Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Create Agent](https://docs.retellai.com/api-references/create-agent) [[2] Update Agent](https://docs.retellai.com/api-references/update-agent) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.