https://retellai.com/?utm_source=discord&utm_medium=seo logo
what is the node functions use case and for
# ❓・ai-evy-support
m
@AI Evy what is the node functions use case and for
a
Thanks for tagging me @Mikey. I'll look through relevant sources and get back to you shortly.
### Answer Node functions allow you to add functions directly to a conversation node so the agent can perform actions during the conversation. [(1) ]() ## How It Works The LLM decides when to call functions based on the conversation context—the agent converses with the user while also being able to perform tasks like calling APIs, transferring calls, or sending SMS. Key characteristics: - Multiple functions can be added to a single conversation node - The agent can continue talking while a function executes - Function results are available to the LLM for generating follow-up responses ## Use Cases Node functions are best for **context-dependent actions during dialogue**—for example, looking up an order only if the user asks. Available function types include: - Custom Function – Make HTTP requests to your external APIs - Check Calendar Availability – Query available time slots - Book Appointment – Book calendar events - End Call – Terminate the call - Transfer Call – Transfer to a phone number - Send SMS – Send a text message ## Node Functions vs Function Nodes - **Function Nodes**: Deterministic—executes on node entry; one function per node; best for always-execute actions (e.g., always look up order on entry) - **Node Functions**: LLM-driven—called when the LLM decides it's appropriate; multiple functions per node; best for context-dependent actions during dialogue Use node functions when the agent should decide whether and when to call a function based on what the user says.
​ To learn more, see the sources I considered: [[1] Node Functions](https://docs.retellai.com/build/conversation-flow/conversation-node-functions) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.