End Conversation
Ends the Assistant conversation and closes the chat session.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Output
- Payload - The response object containing information about the conversation ending.
How It Works
The End Conversation node terminates the current Assistant conversation. When executed, the node:
- Sends a command to end the conversation to the Assistant
- Closes the chat session
- Cleans up any resources associated with the conversation
Requirements
- An active Assistant conversation
- Proper permissions to end conversations
Error Handling
The node will return specific errors in the following cases:
- No active conversation to end
- Communication errors with the Assistant service
- Permission denied errors
Usage Notes
- The node immediately ends the conversation when executed
- Any subsequent nodes in the flow may not execute after this node
- The payload output may contain information about the conversation state at the time of ending
- This node is typically used at the end of a conversation flow
- Users will no longer be able to interact with the Assistant after this node executes
- The node is useful for gracefully ending conversations when all tasks are completed