Salesforce access is read-only. Modem does not create, update, or delete Salesforce records. Synced records update about every 15
minutes rather than in real time.
Prerequisites
- Admin or Owner role in your Modem organization
- A Salesforce administrator who can install the Modem managed package
- A Salesforce user who can authorize the connection and access the objects and fields you want Modem to read
- A production Salesforce org. Salesforce sandboxes are not supported yet.
Setup
1
Open the Salesforce integration
Go to Settings → Integrations → Salesforce in your Modem dashboard.
2
Install the Modem package
Click Install Modem package. Sign in to the production Salesforce org you want to connect, then have a Salesforce administrator
approve the package installation.You don’t need to copy an API key, client ID, or client secret into Modem.
3
Connect your Salesforce org
Return to the Salesforce integration page in Modem and click Connect Salesforce. Sign in as the Salesforce user Modem should
use, then approve access.We recommend a dedicated integration user with read-only access to only the objects and fields your team needs.
4
Confirm the connection
After authorization, Modem returns you to the integration page. A healthy connection shows Connected with your Salesforce
instance hostname.
What Gets Synced
Modem runs an initial sync after connecting, then checks Salesforce for changes about every 15 minutes.
The sync is incremental and read-only. It does not create discussions or topics, fire automation triggers, or write changes back to Salesforce.
What the Agent Can Query
The synced objects provide CRM context inside Modem. The agent can also query Salesforce directly when you ask, including standard and custom objects that are queryable by the connected Salesforce user. The agent can:- List queryable standard and custom objects
- Inspect an object’s fields, picklist values, and relationships
- Run read-only SOQL
SELECTqueries, including relationship fields and child queries - Fetch a record by its Salesforce object name and record ID
- Combine Salesforce data with Modem conversations, topics, people, and companies
- Act on the result through other connected tools, such as posting a summary or creating a ticket
Example prompts
Access and Permissions
Salesforce’s permission model controls what Modem can read. If the connected user cannot query an object or field, neither the sync nor the agent can access it. Use a dedicated integration user when possible. Grant it API access and read access only to the CRM data your team wants available in Modem. Modem stores the resulting OAuth tokens encrypted and refreshes them automatically.Troubleshooting
Modem asks for additional scopes
Modem asks for additional scopes
Click Reconnect in the notice on the Salesforce integration page and approve the requested access. Reconnecting updates the
authorization without duplicating synced records.
The integration shows 'Connection Error'
The integration shows 'Connection Error'
The settings page checks the connection regularly. If the error persists, disconnect Salesforce, reconnect it, and authorize with a
user who still has API access. Contact support@modem.dev if reconnecting doesn’t restore a healthy connection.
New or changed records aren't visible yet
New or changed records aren't visible yet
Salesforce records update about every 15 minutes, so recent changes may not appear immediately. Sync can also pause when the
Salesforce org is close to its daily API limit. Confirm that the connected user can read the affected object and field, then check
again after the next sync.
The agent can't find an object or field
The agent can't find an object or field
Ask the agent to list Salesforce objects or describe the object first. If the object or field is missing, confirm that it is
queryable and visible to the connected Salesforce user.
Disconnecting
To disconnect Salesforce:- Go to Settings → Integrations → Salesforce
- Click Disconnect
- Confirm the disconnection
Related
The Modem Agent
Query connected data and take action from one conversation.
Companies & People
See how Modem organizes customer and company context.
Integrations Overview
Explore all integrations and how they fit together.