Agent Node
Agent node contains the prompts that drives the conversation with the Voice Agent
The Edges connected with Agent Nodes are pathways that the LLMs can take depending on how the conversation has been going so far.
What an Agent node does#
An Agent node holds the instructions for one stage of the conversation. It tells the model what to ask, what to listen for, which tools may be relevant, and which pathway should be selected next.
Prompting checklist#
- Give each Agent node one clear responsibility, such as qualify a lead, collect booking details, answer FAQs, or confirm an action.
- Write instructions in plain language and include the required outcome for the node.
- Add tools only when the agent should take action or fetch data during that stage.
- Use pathways to move to the next node based on caller intent or collected information.
Testing guidance#
Test every Agent node with successful, unclear, and negative user responses. This helps confirm that the pathways and tool calls behave correctly when the conversation does not follow the ideal script.