AI Agent persistent conversation IDs
Maintain your agent even when you click away from a record or to keep consistency across teams.
Last updated
Maintain your agent even when you click away from a record or to keep consistency across teams.
Last updated
Create long-running conversations around a single record, task or topic by giving the conversation a unique thread ID. Multiple triggers can then send events into that same conversation thread, allowing your agent to responds to each event with all the context and plans it had previously. Use the thread in detail page widgets to give access to a persistent conversation, scoped to a particular record, user, or anything else you want.
Add an AI agent widget to your detail page
Set your template ID to keep it persistent based on record ID, user ID, or something else:
Record ID use {record.id}
: this will keep the conversation the same based on the record regardless of the user logged in.
User Record use {record.user}
: this will keep the conversations or other AI tasks based on the user logged in.
Other fields use {record.customer.primary_contact.email}
The path values here correspond to what is shown for the ‘developer name’ in the Manage Fields modal.
If it is a multi-link, we will use only the first record in the list.
You can also use the ID for emails and conversations that come through your AI agent.
Set the ID on your Send an email tool by setting a Thread ID:
Use the Record Creation trigger along with a Conversation ID set to connect with specific users or other conversation records.
For example, when adding new records that associate with the same company, using the {record.company} will help the AI agent reference all record information that is in common with the company. Helping your AI agent gather more accurate and complete information.