Connect your AI with Salesforce for comprehensive CRM and support integration
Get your Salesforce instance URL
https://na1.salesforce.com
.Create a Connected App in Salesforce
Setup
→ Apps
→ App Manager
New Connected App
https://api.open.cx/backend/salesforce-case-management/oauth/callback
Full access (full)
and Perform requests at any time (refresh_token, offline_access)
(to get refresh tokens for auto-refresh)Require Secret for Web Server Flow
Require Secret for Refresh Token Flow
Save
Configure the Open.cx integration - Step 1: OAuth Credentials
Settings
→ Ticketing
→ Salesforce
- Input the Consumer Key
(Client ID) and Consumer Secret
from the Connected App - For production Salesforce orgs, use
https://login.salesforce.com
as the Login URL - For sandbox orgs, use
https://test.salesforce.com
as the Login URL - The redirect URI will be automatically set to
https://api.open.cx/backend/salesforce-case-management/oauth/callback
- Click Save OAuth Credentials
Configure the Open.cx integration - Step 2: Complete OAuth Flow
Connect with Salesforce
to complete the OAuth flowCreate a Named Credential in Salesforce
Setup
→ Named Credentials
New Named Credential
OpenCX_Integration
Settings
→ Ticketing
→ Salesforce
Identity Type
to: Anonymous
Authentication Protocol
as No Authentication
Generate Authorization Header
Create the Apex Class
Setup
→ Apex Classes
New
Create the Apex Trigger
Setup
→ Apex Triggers
New
Case
After Insert