https://retellai.com/?utm_source=discord&utm_medium=seo logo
i have made a custom balance function while creati...
# ❓・ai-evy-support
a
@AI Evy i have made a custom balance function while creating LLM , to check balance, now i want this function to run as soon as call connects. and i dont want to write this in genral prompt, how can i do this?
a
Thanks for tagging me @adorable_fox_10699. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, I can see information about custom functions, but I don't find specific documentation about automatically triggering custom functions immediately when a call connects without using the general prompt. The documentation shows that custom functions can be configured with various settings [(1) ]() [(2) ]() , including: - HTTP methods (GET, POST, PATCH, PUT, DELETE) - Endpoint URLs - Request headers and query parameters - Speech behavior settings like "Speak during execution" and "Speak after execution" For Conversation Flow agents, function nodes can be configured to call functions when entering specific nodes [(3) ]() , but this still requires transitioning to that node through the conversation flow. The sources don't explicitly document a way to automatically execute a custom function immediately upon call connection without involving the prompt or conversation flow logic. Check out these potentially useful sources: [Function Node Overview]() , [Integrate any system with custom function]() , [Custom Function]() Would you like a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Integrate any system with custom function](https://docs.retellai.com/build/single-multi-prompt/custom-function) [[2] Custom Function](https://docs.retellai.com/build/conversation-flow/custom-function) [[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.