https://retellai.com/?utm_source=discord&utm_medium=seo logo
<@1145576664366055464> when my workflow is done- e...
# ❓・ai-evy-support
d
@AI Evy when my workflow is done- even though i have the end call node on there it is not ending the call
a
Thanks for tagging me @dannykimes. I'll look through relevant sources and get back to you shortly.
### Answer There are several common causes for end call nodes not working properly in Retell AI workflows: For Conversation Flow (End Node) : The End Node terminates the call immediately when the agent enters it, and the agent will not speak when in this node [(1) ]() . If you want the agent to say farewell messages before ending the call, you need to put a conversation node (with
skip response
turned on) before the End Node . For Single/Multi Prompt (End Call Tool) : The agent won't end calls automatically by default - you need to configure the end call tool with specific termination conditions [(2) ]() . Make sure you've added the End Call tool and defined conditions like "If the user says 'thank you', 'goodbye', or 'bye', use the end_call tool to terminate the conversation" . Common troubleshooting approaches: 1. Structure your prompt clearly - Use numbered steps like "1. Say 'have a great rest of your day'. 2. Use 'end_call' tool to end the call" [(3) ]() [(4) ]() 2. Check for forwarded calls - When you forward a call, the original flow's end_call doesn't affect the forwarded leg. The second agent needs its own end_call node at the end of its flow [(5) ]() 3. Verify tool attachment - Ensure the end_call tool is properly attached to specific nodes or set as a global node with clear instructions about when to use it [(3) ]() [(4) ](
368505937952/1350197197056245880) 4. Update your prompt - If the tool is being called but not working, try adding phrases like "reliably and immediately call the end_call function" to your prompt [(6) ]() Safety measures: Consider setting max call duration and max silence duration in your agent settings to ensure calls end eventually, even if the end_call tool fails [(3) ]() [(4) ]() .
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
its attached just like this and its not ending the call
@AI Evy its not ending the call here is my current structure
a
Thanks for the follow-up, @dannykimes. I'll get back to you soon.
### Answer I can't see your current structure in the message, but I can help troubleshoot common end call issues based on the documentation. For Single/Multi Prompt Agents: By default, the agent won't end the call automatically - you need to configure when and how the call should be terminated using the end call tool [(1) ]() . Make sure you: 1. Add the End Call Tool - Click "+ Add" in the tools section and select "End Call" from the dropdown menu 2. Configure Termination Conditions - Define specific conditions like "If the user says 'thank you', 'goodbye', or 'bye', use the end_call tool to terminate the conversation" 3. Update the Prompt - Include specific instructions such as "If the user says 'thank you', 'goodbye', or 'bye', use the end_call tool to terminate the conversation" For Conversation Flow (End Node) : The End Node terminates the call immediately when the agent enters it, and the agent will not speak when in this node [(2) ]() . If you want farewell messages, put a conversation node (with
skip response
turned on) before the End Node . Common Solutions: Structure your instructions clearly - Try formatting like this: "When the conversation comes to an end or the user says 'bye': 1. Say 'have a great rest of your day'. 2. Use 'end_call' tool to end the call" [(3) ]() Check your tool description - Make sure it's clear when to use the tool. For example: "End the call once you have gotten to step 5 of your steps" [(4) ]() Safety measures - Set max call duration and max silence duration in your agent settings to ensure calls end eventuall
y, even if the end_call tool fails [(3) ]() If you can share your current structure or prompt, I can provide more specific guidance based on what you're seeing.
​ To learn more, see the sources I considered: [[1] End call](https://docs.retellai.com/build/single-multi-prompt/end-call) [[2] End Node](https://docs.retellai.com/build/conversation-flow/end-node) [[3] Discord message from @sanava.ai on 2025-03-14](https://discord.com/channels/1186424376300679209/1294891368505937952/1350212730593873941) [[4] Issue with end_call general tool for outbound calls](https://discord.com/channels/1186424376300679209/1224186693171806310) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
d
@AI Evy My calandar function is set correctly but in the call flow its finding the times for appointments correctly but its not booking them because I cannot see the appointments on my calendar
a
Thanks for the follow-up, @dannykimes. I'll get back to you soon.
### Answer I can help troubleshoot your calendar booking issue. Based on the sources, there are several common reasons why calendar appointments might not be showing up even when the function appears to work correctly. Common Calendar Booking Issues: Cal.com Location Settings Bug - There's a known issue where changing the location from Google Meet to regular call in Cal.com can prevent appointments from being booked properly [(1) ]() . The Cal.com team is working on this bug. Function Configuration - For the Book Calendar function, ensure you have correctly entered your Cal.com API Key and Event Type ID [(2) ]() . The Event Type ID can be found in your Cal.com URL when viewing the event type (e.g., if the URL is ` then
1427703
is your Event Type ID) . Function Node Settings - Check your Function Node configuration [(3) ]() : - Enable "Wait for Result" so the agent waits for the function to finish before transitioning - Verify the function is being called by checking if it hits the book_appointment tool call [(1) ]() Prompt Instructions - Make sure your prompt explicitly instructs when to call the booking function. For example: "When user selected a slot, please book the appointment by calling the
book_appointment
function" [(2) ]() . Troubleshooting Steps: 1. Verify API Credentials - Double-check your Cal.com API key and Event Type ID are correct 2. Check Location Settings - Ensure your Cal.com event type location is set properly (avoid switching from Google Meet to regular call) [(1
) ]() 3. Test Function Calls - Verify the book appointment tool is actually being triggered during calls 4. Review Function Results - Check what output you're receiving from the tool call Alternative Solutions: If the built-in Cal.com function continues having issues, you might consider creating a custom function that integrates with Google Calendar API or other calendar systems .
​ To learn more, see the sources I considered: [[1] calendar appointment booking through retell](https://discord.com/channels/1186424376300679209/1250814023067500657) [[2] Book Calendar](https://docs.retellai.com/build/book-calendar) [[3] Function Node Overview](https://docs.retellai.com/build/conversation-flow/function-node) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.