Enable your AI agent to get contact information, check opportunity status, create new leads, and update contact records in Salesforce.
6 min read
Updated October 2026
The Salesforce integration connects your AI agent to your Salesforce CRM. Your AI Agent can look up customer information, check deal status, capture new leads, and update contact records, all through natural conversation.
Ideal for sales teams who want to capture leads from chat conversations and provide customers with real-time information about their accounts.
Available actions depend on your agent type and plan. Customer-facing actions serve customers. Internal team actions are for authenticated team use. AI CoPilot is Enterprise-only. Plus enables up to 5 actions per agent, Pro enables 40, and Enterprise has no enabled-action limit.
| Action | Description | Audience |
|---|---|---|
| Create Case | Create a support case in Salesforce | Customer-facing |
| Create Lead | Create a new lead in Salesforce | Customer-facing |
| Get Case Status | Check the status of a Salesforce support case | Customer-facing |
| Get Contact | Look up a Salesforce contact by email or name | Internal team |
| Get Opportunity | Look up a Salesforce opportunity by name or account | Internal team |
| Live Agent Handoff | Hand off conversation to a live Salesforce agent | Customer-facing |
| Update Contact | Update an existing Salesforce contact's details | Internal team |
Before setting up the Salesforce integration, you'll need:
api, refresh_tokenhttps://yourcompany.salesforce.com)| Field | Description | Example |
|---|---|---|
| Instance URL | Your Salesforce instance URL | https://yourcompany.salesforce.com |
| Access Token | Your Salesforce access token | 00D... |
After setup, test the integration:
Other test queries:
Salesforce access tokens expire. You may need to refresh your token or re-authenticate the connection.
Ensure your Salesforce license includes API access. Some editions restrict API access.
Check that your Salesforce user profile has read/write access to the fields ChatSpark needs to access.