Add a Function
Add the function first, then select it inside the node. This way if you delete the node, you don’t need to re-create the function again. For specific instructions on different function types:- Custom Function
- Pre-built Functions: Check Calendar Availability, Book Calendar
When Can Transition Happen
If Wait for Result is turned off:- If Speak During Execution is on — agent transitions once done talking
- If Speak During Execution is off — agent transitions immediately after function is invoked (right upon entering the node)
- If the user interrupts the agent — transition can also happen once user is done speaking
- If Speak During Execution is on — agent transitions once function result is ready and agent is done talking
- If Speak During Execution is off — agent transitions once function result is ready
- If the user interrupts — transition can also happen once function result is ready and user is done speaking
Node Settings
| Setting | Description |
|---|---|
| Speak During Execution | When enabled, write instructions for the agent to generate an utterance (e.g. “Let me check that for you.”) while the function executes. Choose Prompt or Static Sentence. |
| Wait for Result | When enabled, the agent waits for the function to finish before transitioning. Guarantees the result is ready when the next node is reached. |
| Global Node | See Global Node guide. |
| Block Interruptions | When enabled, the agent will not be interrupted by the user when speaking. |
| LLM | Choose a different model for this node — used for function argument generation and speak-during-execution message generation. |
| Fine-tuning Examples | Fine-tune transition behavior. See Finetune Examples guide. |