update_conversation_variables
Update dynamic variables on a conversation thread to influence subsequent voice or chat turns. Use when context arrives from CRM syncs or webhooks.
Instructions
Set or update dynamic_variables on a conversation thread.
These variables are inherited by any subsequent voice/chat turn that renders the agent's prompt template. Useful when context arrives out-of-band (CRM sync, webhook from your system, etc.).
Args: conversation_id: Target thread dynamic_variables: dict of {name: value} replace: If True, replaces the existing dict entirely. If False (default), merges into the existing dict.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| replace | No | ||
| conversation_id | Yes | ||
| dynamic_variables | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||