https://retellai.com/?utm_source=discord&utm_medium=seo logo
My Conversational Flow Agent does not call my cust...
# ❓・ai-evy-support
v
@AI Evy My Conversational Flow Agent does not call my custom function. I don't know why it's not triggering.
a
Thanks for tagging me @vishal.gopinath. I'll look through relevant sources and get back to you shortly.
### Answer I don't have specific troubleshooting documentation for why custom functions aren't triggering in Conversation Flow agents. However, based on the available sources, here are key areas to verify: Check your function configuration: - Ensure your custom function is properly defined in the
tools
array of your conversation flow [(1) ]() [(2) ]() [(3) ]() [(4) ]() - Verify the function has the correct
type
,
name
,
description
,
tool_id
,
url
, and
method
fields Verify node setup: - Confirm you're using a function node (not just a conversation node) to trigger the custom function [(5) ]() - Check that your transition conditions are correctly configured to reach the function node Review recent issues: There was a reported incident where function nodes in conversation flows stopped working during calls (though chat/web voice worked fine) [(6) ]() . This was later resolved according to community reports . If you're experiencing similar symptoms, verify your calls are working in test mode first. Common configuration example:
Copy code
json
{
  "type": "custom",
  "name": "get_customer_info",
  "description": "Get customer information from database",
  "tool_id": "tool_001",
  "url": "<https://api.example.com/customer%22,>
  "method": "GET"
}
[(1) ]() [(2) ]() [(3) ]() [(4) ]() For more detailed debugging assistance, I'd recommend: - [Conversation Flow Overview]() - [Contact Sales]() Would you like a general answer based on my knowledge about common function calling issues in conversational AI systems?
​ To learn more, see the sources I considered: [[1] Get Conversation Flow](https://docs.retellai.com/api-references/get-conversation-flow) [[2] List Conversation Flows](https://docs.retellai.com/api-references/list-conversation-flows) [[3] Update Conversation Flow](https://docs.retellai.com/api-references/update-conversation-flow) [[4] Create Conversation Flow](https://docs.retellai.com/api-references/create-conversation-flow) [[5] Conversation Flow Overview](https://docs.retellai.com/build/conversation-flow/overview) [[6] Conversation flow agent stops speaking after calling function](https://discord.com/channels/1186424376300679209/1394277381782638672) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
v
@AI Evy I am telling that I am unable to trigger the call within the frontend interface where I have built the flow
a
Thanks for the follow-up, @vishal.gopinath. I'll get back to you soon.
​ To learn more, see the sources I considered: [[1] Custom Function](https://docs.retellai.com/build/conversation-flow/custom-function) [[2] Custom Tool Function Call sends a "GET" from Retell to my URL and not a "POST" . Empty request body.](https://discord.com/channels/1186424376300679209/1284824056801132678) [[3] Troubleshooting Guide](https://docs.retellai.com/integrate-llm/troubleshooting) [[4] Integrate any system with custom function](https://docs.retellai.com/build/single-multi-prompt/custom-function) ​
### Answer Based on your clarification that the custom function isn't triggering within the Conversation Flow frontend interface, here are specific areas to check: Verify your endpoint URL configuration: [(1) ]() - Ensure the URL where Retell sends requests is valid and accessible - Check for trailing slashes in your URL - this has been reported as causing issues where requests fail silently [(2) ]() - Confirm your endpoint is using the correct protocol (` for secure connections) [(3) ]() Check HTTP method configuration: [(1) ]() - Verify you've selected the correct HTTP method (GET, POST, PUT, PATCH, DELETE) for your custom function - Note that parameters are only available for POST, PATCH and PUT requests [(1) ]() [(4) ]() Review parameter definition: - Ensure parameters are defined using proper JSON schema format - Example parameter schema:
Copy code
json
{
 "type": "object",
 "properties": {
 "city": {
 "type": "string",
 "description": "The city of the weather"
 }
 },
 "required": [
 "city"
 ]
}
[(1) ]() Configure speech behavior settings: - Set "Speak during execution" to control whether the agent speaks when the function is called - Set "Speak after execution" to control whether the agent continues talking after the function completes Update your prompt: - Include explicit instructions in your prompt about when to invoke the custom function - Example: "When user provided the city name, please get the weather for that city by calling the
get_weather
function." If these configuration checks don't resolve the issue, I'd recommend: - [Custom Function Documentation]() - [Contact Sales]() - [GitHub Issues]() Would you like a general answer based on my knowledge about common function calling issues?
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.