🚀 Quickstart
Connect to Salesforce with Nango and see data flow in 2 minutes.Create the integration
In Nango (free signup), go to Integrations -> Configure New Integration -> Salesforce.
Authorize Salesforce
Go to Connections -> Add Test Connection -> Authorize, then log in to Salesforce. Later, you’ll let your users do the same directly from your app.
Call the Salesforce API
Let’s make your first request to the Salesforce API (fetch a list of contacts). Replace the placeholders below with your secret key, integration ID, and connection ID:Or fetch credentials with the Node SDK or API.✅ You’re connected! Check the Logs tab in Nango to inspect requests.
- cURL
- Node
Implement Nango in your app
Follow our Auth implementation guide to integrate Nango in your app.To obtain your own production credentials, follow the setup guide linked below.
📚 Salesforce Integration Guides
Nango maintained guides for common use cases.- How do I link my account?
Connect your Salesforce account - How to register your own Salesforce OAuth app
Register an OAuth app with Salesforce and obtain credentials to connect it to Nango
🧩 Pre-built syncs & actions for Salesforce
Enable them in your dashboard. Extend and customize to fit your needs.Composite
| Function name | Description | Type | Source code |
|---|---|---|---|
composite-batch-request | Execute multiple independent Salesforce REST subrequests in one batch call | Action | 🔗 Github |
composite-graph-request | Execute a dependent graph of subrequests in one composite graph call. Supports up to 500 subrequests across multiple graphs with automatic rollback on failure. | Action | 🔗 Github |
composite-request | Execute multiple Salesforce REST subrequests in one composite call. | Action | 🔗 Github |
Identity
Limits
Metadata
| Function name | Description | Type | Source code |
|---|---|---|---|
describe-global | List available sObject types and global metadata for the org. | Action | 🔗 Github |
describe-sobject | Retrieve schema metadata for a specific sObject type | Action | 🔗 Github |
get-sobject-basic-info | Retrieve basic metadata for a specific sObject type including object properties, recent items, and URIs for related resources. | Action | 🔗 Github |
Query
Quick Actions
Recent Items
Records
| Function name | Description | Type | Source code |
|---|---|---|---|
create-record | Create a Salesforce sObject record for a specified object type. | Action | 🔗 Github |
delete-record | Delete a Salesforce sObject record by type and record ID. | Action | 🔗 Github |
get-record-by-external-id | Retrieve a record by external ID field and value. | Action | 🔗 Github |
get-record | Retrieve a Salesforce record by object type and record ID | Action | 🔗 Github |
update-record-by-external-id | Update a record by external ID field and value. | Action | 🔗 Github |
update-record | Partially update a Salesforce record by object type and record ID. | Action | 🔗 Github |
upsert-record | Create or update a Salesforce record using an external ID field. | Action | 🔗 Github |
Resources
SObject Collections
Search
sObject Collections
| Function name | Description | Type | Source code |
|---|---|---|---|
delete-sobject-collection | Delete multiple records in one sObject collection request. | Action | 🔗 Github |
update-sobject-collection | Update multiple records in one sObject collection request | Action | 🔗 Github |
upsert-sobject-collection | Upsert multiple records using external IDs in one collection request | Action | 🔗 Github |
Others
| Function name | Description | Type | Source code |
|---|---|---|---|
get-quick-action-defaults | Retrieve default field values for a quick action | Action | 🔗 Github |
accounts | Sync Salesforce Account records with a practical default field set | Sync | 🔗 Github |
articles | Sync Salesforce knowledge articles with title, content, and modified timestamps | Sync | 🔗 Github |
cases | Sync Salesforce Case records with common service and status fields. | Sync | 🔗 Github |
contacts | Sync Salesforce Contact records with a practical default field set | Sync | 🔗 Github |
opportunities | Sync Salesforce Opportunity records with amount, stage, close date, and owner fields. | Sync | 🔗 Github |
records-by-soql | Sync arbitrary Salesforce records from a caller-provided SOQL query | Sync | 🔗 Github |
tickets | Sync Salesforce case tickets with core fields and related conversation context. | Sync | 🔗 Github |
users | Sync Salesforce User records with profile, email, and active state fields. | Sync | 🔗 Github |