Skip to main content

🚀 Quickstart

Connect to Salesforce with Nango and see data flow in 2 minutes.
1

Create the integration

In Nango (free signup), go to Integrations -> Configure New Integration -> Salesforce.
2

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.
3

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:
curl "https://api.nango.dev/proxy/services/data/v58.0/query?q=SELECT+Id,FirstName,LastName,Email+FROM+Contact+LIMIT+10" \
  -H "Authorization: Bearer <NANGO-SECRET-KEY>" \
  -H "Provider-Config-Key: <INTEGRATION-ID>" \
  -H "Connection-Id: <CONNECTION-ID>"
Or fetch credentials with the Node SDK or API.✅ You’re connected! Check the Logs tab in Nango to inspect requests.
4

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. Official docs: Salesforce API docs

🧩 Pre-built syncs & actions for Salesforce

Enable them in your dashboard. Extend and customize to fit your needs.

Composite

Function nameDescriptionTypeSource code
composite-batch-requestExecute multiple independent Salesforce REST subrequests in one batch callAction🔗 Github
composite-graph-requestExecute 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-requestExecute multiple Salesforce REST subrequests in one composite call.Action🔗 Github

Identity

Function nameDescriptionTypeSource code
get-current-userRetrieve the current Salesforce user and org identity context.Action🔗 Github

Limits

Function nameDescriptionTypeSource code
get-limitsRetrieve current org API usage and platform limitsAction🔗 Github

Metadata

Function nameDescriptionTypeSource code
describe-globalList available sObject types and global metadata for the org.Action🔗 Github
describe-sobjectRetrieve schema metadata for a specific sObject typeAction🔗 Github
get-sobject-basic-infoRetrieve basic metadata for a specific sObject type including object properties, recent items, and URIs for related resources.Action🔗 Github

Query

Function nameDescriptionTypeSource code
query-all-recordsRun a SOQL query that also includes deleted and archived records.Action🔗 Github
query-recordsRun a SOQL query and return matching recordsAction🔗 Github
retrieve-query-moreContinue a SOQL query using a nextRecordsUrl locatorAction🔗 Github

Quick Actions

Function nameDescriptionTypeSource code
list-quick-actionsList quick actions available in the org or on an sObjectAction🔗 Github

Recent Items

Function nameDescriptionTypeSource code
list-recent-itemsList recently viewed records visible to the authenticated userAction🔗 Github

Records

Function nameDescriptionTypeSource code
create-recordCreate a Salesforce sObject record for a specified object type.Action🔗 Github
delete-recordDelete a Salesforce sObject record by type and record ID.Action🔗 Github
get-record-by-external-idRetrieve a record by external ID field and value.Action🔗 Github
get-recordRetrieve a Salesforce record by object type and record IDAction🔗 Github
update-record-by-external-idUpdate a record by external ID field and value.Action🔗 Github
update-recordPartially update a Salesforce record by object type and record ID.Action🔗 Github
upsert-recordCreate or update a Salesforce record using an external ID field.Action🔗 Github

Resources

Function nameDescriptionTypeSource code
list-available-resourcesDiscover supported Salesforce REST resource versions and root URLs.Action🔗 Github

SObject Collections

Function nameDescriptionTypeSource code
create-sobject-collectionCreate multiple sObject records in one collection request.Action🔗 Github
Function nameDescriptionTypeSource code
parameterized-search-recordsRun a parameterized search request across Salesforce objects.Action🔗 Github
search-recordsRun a SOSL search across searchable Salesforce objectsAction🔗 Github

sObject Collections

Function nameDescriptionTypeSource code
delete-sobject-collectionDelete multiple records in one sObject collection request.Action🔗 Github
update-sobject-collectionUpdate multiple records in one sObject collection requestAction🔗 Github
upsert-sobject-collectionUpsert multiple records using external IDs in one collection requestAction🔗 Github

Others

Function nameDescriptionTypeSource code
get-quick-action-defaultsRetrieve default field values for a quick actionAction🔗 Github
accountsSync Salesforce Account records with a practical default field setSync🔗 Github
articlesSync Salesforce knowledge articles with title, content, and modified timestampsSync🔗 Github
casesSync Salesforce Case records with common service and status fields.Sync🔗 Github
contactsSync Salesforce Contact records with a practical default field setSync🔗 Github
opportunitiesSync Salesforce Opportunity records with amount, stage, close date, and owner fields.Sync🔗 Github
records-by-soqlSync arbitrary Salesforce records from a caller-provided SOQL querySync🔗 Github
ticketsSync Salesforce case tickets with core fields and related conversation context.Sync🔗 Github
usersSync Salesforce User records with profile, email, and active state fields.Sync🔗 Github