When a seller opens an Opportunity in Salesforce and launches a Deal-Insight-enabled AI Role Play from the Deal Content Recommendations panel, Allego retrieves signals from Deal Expert and injects them into the session. The AI avatar enters the conversation already knowing the deal — its contacts, recent signals, alerts, and any upcoming meetings — and offers to dry-run the next meeting or role play as a specific contact.
The integration builds on existing infrastructure. Deal context is injected into fields already part of the Tavus API calls: avatar instructions go into Create Persona; deal insights go into Create Conversation via the "Other background information" field.
Prerequisites
1Deal Content Recommendations configured in Salesforce (Allego Connected App)
3AI Role Play SCORM set up as "Rep requested roleplay" type
Workflow
Setup runs once per SCORM configuration. Runtime runs each time a seller launches the exercise from a Salesforce Opportunity. Deal Expert response is injected into the "Other background information" field of the Tavus Create Conversation call; avatar instructions (set in Setup) flow into the Create Persona call.