Skip to content

Salesforce

The Salesforce node lets you interact with the Salesforce REST API. A single node supports multiple operations — select the operation you need and the relevant fields appear.

All operations require a Salesforce connection configured with your instance URL and credentials.

Operations

SOQL Query

Run a Salesforce Object Query Language query.

FieldDescriptionNotes
SOQL QueryThe query to executeRequired. Supports templates

Example: SELECT Id, Name, Email FROM Contact WHERE AccountId = '{{upstream.account_id}}'

Returns all matching records with automatic pagination.

Get Record

Retrieve a single record by ID.

FieldDescriptionNotes
Object TypeSalesforce object API name (e.g., Account, Contact)Required. Supports templates
Record ID18-character Salesforce record IDRequired. Supports templates

Create Record

Create a new record.

FieldDescriptionNotes
Object TypeSalesforce object API nameRequired. Supports templates
FieldsField name-value pairsRequired. Supports templates

Update Record

Update an existing record.

FieldDescriptionNotes
Object TypeSalesforce object API nameRequired. Supports templates
Record IDRecord ID to updateRequired. Supports templates
FieldsField name-value pairs to updateRequired. Supports templates

Delete Record

Delete a record.

FieldDescriptionNotes
Object TypeSalesforce object API nameRequired. Supports templates
Record IDRecord ID to deleteRequired. Supports templates

Describe Object

Get the metadata (fields, types, relationships) of a Salesforce object.

FieldDescriptionNotes
Object TypeSalesforce object API nameRequired. Supports templates

Streaming

SOQL Query supports streaming — each record is emitted individually to downstream nodes. For mutation operations (create, update, delete), each upstream item triggers a separate API call.

Common Patterns

Sync Leads to DataStore

  1. Cron — run daily
  2. Salesforce (SOQL Query) — SELECT Id, Name, Email, Status FROM Lead WHERE CreatedDate = TODAY
  3. DataStore Insert — store leads locally

Create Contacts from Webhook

  1. Webhook — receive contact data from a form
  2. Salesforce (Create Record) — create a Contact in Salesforce
  3. Slack Send Message — notify the sales team