Skip to content

Salesforce ​

Interact with Salesforce

This node signs in with a credential: API Key. See Connect a credential.

Actions ​

Steps this node can perform. Add one from Add a step, then pick the action.

Find Records ​

Search for records in Salesforce using SOQL or field-based search

Settings

FieldTypeRequiredDescription
Object TypeChoice (loaded from your account)YesThe type of object to work with
Search FieldChoice (loaded from your account)The field to search in
Search ValueTextThe value to search for
Search OperatorChoiceThe operator to use for comparison (=, !=, LIKE, etc.)
Options: Equals, Not Equals, Like, Not Like, In, Not In, Greater Than, Less Than, Greater Than or Equal, Less Than or Equal
Default: =
Where ClauseTextCustom SOQL WHERE clause (e.g., 'Email LIKE '%example.com'')
FieldsChoice (loaded from your account)Comma-separated list of fields to return (leave empty for all fields)
Order ByChoice (loaded from your account)Field to order results by
Order DirectionChoiceDirection to order results
Options: Ascending, Descending
Default: ASC
LimitNumberMaximum number of records to return (default: 200)
Default: 200
OffsetNumberNumber of records to skip (for pagination)
Default: 0

Output

Later steps use this data by picking this step in the $ picker. For example, records[0].attributes.type is $.<step ID>.output.records[0].attributes.type.

json
{
  "records": [
    {
      "attributes": {
        "type": "Account",
        "url": "string"
      },
      "Id": "string"
    }
  ],
  "totalSize": 0,
  "done": false
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
records[]ListList of found records
records[].attributesObjectRecord metadata from Salesforce
records[].attributes.typeTextObject API name, e.g. Account
records[].attributes.urlTextREST API path of the record
records[].IdTextID of the record. Absent when fields leaves Id out
totalSizeNumberTotal number of records found
doneYes / NoWhether all records have been retrieved

Add Note to Account ​

Add a note to an account

Settings

FieldTypeRequiredDescription
Account IDTextYesThe ID of the account to add the note to
Note ContentTextYesThe content of the note to add
Note TitleTextThe title of the note
Is PrivateYes / NoWhether the note is private

Output

Later steps use this data by picking this step in the $ picker. For example, id is $.<step ID>.output.id.

json
{
  "id": "string",
  "success": false,
  "errors": [
    {
      "statusCode": "REQUIRED_FIELD_MISSING",
      "message": "string",
      "fields": [
        "string"
      ]
    }
  ],
  "statusCode": 0
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
idTextID of the created record
successYes / NoTrue when Salesforce created the record
errors[]ListErrors Salesforce reported. Empty on success: a failed create fails the node instead
errors[].statusCodeTextSalesforce error code, e.g. REQUIRED_FIELD_MISSING
errors[].messageTextError message
errors[].fields[]ListAPI names of the fields the error concerns
statusCodeNumberHTTP status code of the Salesforce response

Create Account ​

Create a new account

Settings

FieldTypeRequiredDescription
Account NameTextYesThe name of the account
Account NumberTextThe account number
Account SiteTextThe account site
TypeChoiceThe type of account
Options: Prospect, Customer - Direct, Customer - Channel, Channel Partner / Reseller, Installation Partner, Technology Partner, Other
IndustryChoiceThe industry of the account
Annual RevenueNumberThe annual revenue of the account
RatingChoiceThe rating of the account
Options: Hot, Warm, Cold
PhoneTextThe phone number of the account
FaxTextThe fax number of the account
WebsiteTextThe website of the account
Ticker SymbolTextThe ticker symbol of the account
OwnershipChoiceThe ownership of the account
Options: Public, Private, Other
EmployeesNumberThe number of employees
SIC CodeTextThe SIC code of the account
Billing CountryChoice (loaded from your account)The billing country
Billing StreetTextThe billing street address
Billing CityTextThe billing city
Billing State/ProvinceChoice (loaded from your account)The billing state or province
Billing Zip/Postal CodeTextThe billing zip/postal code
Shipping CountryChoice (loaded from your account)The shipping country
Shipping StreetTextThe shipping street address
Shipping CityTextThe shipping city
Shipping State/ProvinceChoice (loaded from your account)The shipping state or province
Shipping Zip/Postal CodeTextThe shipping zip/postal code
DescriptionTextThe description of the account

Output

Later steps use this data by picking this step in the $ picker. For example, account is $.<step ID>.output.account.

json
{
  "account": {}
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
accountAny
account.idTextID of the written record
account.successYes / NoTrue when Salesforce accepted the write
account.dataObjectWhat the write returned or sent; the parent field's description says which

Update Account ​

Update an account. At least one account field must be provided to update.

Settings

FieldTypeRequiredDescription
Account IDTextYesThe ID of the account to update
Account NameTextThe name of the account
Parent AccountTextThe parent account
Account NumberTextThe account number
Account SiteTextThe account site
TypeTextThe type of account
IndustryTextThe industry of the account
Annual RevenueNumberThe annual revenue of the account
RatingTextThe rating of the account
PhoneTextThe phone number of the account
FaxTextThe fax number of the account
WebsiteTextThe website of the account
Ticker SymbolTextThe ticker symbol of the account
OwnershipTextThe ownership of the account
EmployeesNumberThe number of employees
SIC CodeTextThe SIC code of the account
Billing CountryChoice (loaded from your account)The billing country
Billing StreetTextThe billing street address
Billing CityTextThe billing city
Billing State/ProvinceChoice (loaded from your account)The billing state or province
Billing Zip/Postal CodeTextThe billing zip/postal code
Shipping CountryChoice (loaded from your account)The shipping country
Shipping StreetTextThe shipping street address
Shipping CityTextThe shipping city
Shipping State/ProvinceChoice (loaded from your account)The shipping state or province
Shipping Zip/Postal CodeTextThe shipping zip/postal code
DescriptionTextThe description of the account

Output

Later steps use this data by picking this step in the $ picker. For example, account is $.<step ID>.output.account.

json
{
  "account": {}
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
accountAny
account.idTextID of the written record
account.successYes / NoTrue when Salesforce accepted the write
account.dataObjectWhat the write returned or sent; the parent field's description says which

Create Task ​

Create a task

Settings

FieldTypeRequiredDescription
AssigneeChoice (loaded from your account)YesThe user to assign the task to
StatusChoiceYesThe status of the task
Options: Not Started, In Progress, Completed, Waiting on someone else, Deferred
SubjectTextYesThe subject of the task
NameChoice (loaded from your account)The contact related to the task
Due DateTextFormat YYYY-MM-DD eg. 2022-11-20.
Related ToChoice (loaded from your account)Related to an Account
PriorityChoiceYesThe priority of the task
Options: High, Normal, Low
CommentsTextAdditional comments for the task

Output

Later steps use this data by picking this step in the $ picker. For example, task is $.<step ID>.output.task.

json
{
  "task": {}
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
taskAny
task.idTextID of the written record
task.successYes / NoTrue when Salesforce accepted the write
task.dataObjectWhat the write returned or sent; the parent field's description says which

Update Task ​

Update a task

Settings

FieldTypeRequiredDescription
Task IDTextYesThe ID of the task to update
Owner IDChoice (loaded from your account)The user ID to assign the task to
StatusChoiceThe status of the task
Options: Not Started, In Progress, Completed, Waiting on someone else, Deferred
SubjectTextThe subject of the task
NameChoice (loaded from your account)The contact related to the task
Due DateTextFormat YYYY-MM-DD eg. 2022-11-20.
Related ToChoice (loaded from your account)Related to an Account
PriorityChoiceThe priority of the task
Options: High, Normal, Low

Output

Later steps use this data by picking this step in the $ picker. For example, task is $.<step ID>.output.task.

json
{
  "task": {}
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
taskAny
task.idTextID of the written record
task.successYes / NoTrue when Salesforce accepted the write
task.dataObjectWhat the write returned or sent; the parent field's description says which

Add Note to Contact ​

Add a note to a contact

Settings

FieldTypeRequiredDescription
Contact IDTextYesThe ID of the contact to add the note to
Note ContentTextYesThe content of the note to add
Note TitleTextThe title of the note
Is PrivateYes / NoWhether the note is private

Output

Later steps use this data by picking this step in the $ picker. For example, id is $.<step ID>.output.id.

json
{
  "id": "string",
  "success": false,
  "errors": [
    {
      "statusCode": "REQUIRED_FIELD_MISSING",
      "message": "string",
      "fields": [
        "string"
      ]
    }
  ],
  "statusCode": 0
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
idTextID of the created record
successYes / NoTrue when Salesforce created the record
errors[]ListErrors Salesforce reported. Empty on success: a failed create fails the node instead
errors[].statusCodeTextSalesforce error code, e.g. REQUIRED_FIELD_MISSING
errors[].messageTextError message
errors[].fields[]ListAPI names of the fields the error concerns
statusCodeNumberHTTP status code of the Salesforce response

Add Note to Opportunity ​

Add a note to an opportunity

Settings

FieldTypeRequiredDescription
Opportunity IDTextYesThe ID of the opportunity to add the note to
Note ContentTextYesThe content of the note to add
Note TitleTextThe title of the note
Is PrivateYes / NoWhether the note is private

Output

Later steps use this data by picking this step in the $ picker. For example, id is $.<step ID>.output.id.

json
{
  "id": "string",
  "success": false,
  "errors": [
    {
      "statusCode": "REQUIRED_FIELD_MISSING",
      "message": "string",
      "fields": [
        "string"
      ]
    }
  ],
  "statusCode": 0
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
idTextID of the created record
successYes / NoTrue when Salesforce created the record
errors[]ListErrors Salesforce reported. Empty on success: a failed create fails the node instead
errors[].statusCodeTextSalesforce error code, e.g. REQUIRED_FIELD_MISSING
errors[].messageTextError message
errors[].fields[]ListAPI names of the fields the error concerns
statusCodeNumberHTTP status code of the Salesforce response

Create Contact ​

Creates a new Salesforce contact

Settings

FieldTypeRequiredDescription
First NameTextThe first name of the contact
Last NameTextYesThe last name of the contact
EmailTextThe email of the contact
PhoneTextThe phone number of the contact
Account IDTextThe ID of the account to associate with the contact
TitleTextThe job title of the contact
DepartmentTextThe department of the contact
Mailing CountryChoice (loaded from your account)The country for mailing
Mailing StreetTextThe street address for mailing
Mailing CityTextThe city for mailing
Mailing StateChoice (loaded from your account)The state/province for mailing
Mailing Postal CodeTextThe postal code for mailing

Output

Later steps use this data by picking this step in the $ picker. For example, id is $.<step ID>.output.id.

json
{
  "id": "string",
  "success": false,
  "errors": [
    {
      "statusCode": "REQUIRED_FIELD_MISSING",
      "message": "string",
      "fields": [
        "string"
      ]
    }
  ],
  "statusCode": 0
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
idTextID of the created record
successYes / NoTrue when Salesforce created the record
errors[]ListErrors Salesforce reported. Empty on success: a failed create fails the node instead
errors[].statusCodeTextSalesforce error code, e.g. REQUIRED_FIELD_MISSING
errors[].messageTextError message
errors[].fields[]ListAPI names of the fields the error concerns
statusCodeNumberHTTP status code of the Salesforce response

Update Contact ​

Update a contact

Settings

FieldTypeRequiredDescription
Contact IDTextYesThe ID of the contact to update
First NameTextThe first name of the contact
Last NameTextThe last name of the contact
EmailTextThe email of the contact
PhoneTextThe phone number of the contact
Account IDTextThe ID of the account to associate with the contact
TitleTextThe job title of the contact
DepartmentTextThe department of the contact
Mailing CountryChoice (loaded from your account)The country for mailing
Mailing StreetTextThe street address for mailing
Mailing CityTextThe city for mailing
Mailing StateChoice (loaded from your account)The state/province for mailing
Mailing Postal CodeTextThe postal code for mailing

Output

Later steps use this data by picking this step in the $ picker. For example, contact is $.<step ID>.output.contact.

json
{
  "contact": {}
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
contactAny
contact.idTextID of the written record
contact.successYes / NoTrue when Salesforce accepted the write
contact.dataObjectWhat the write returned or sent; the parent field's description says which

Create Lead ​

Create a new lead in Salesforce

Settings

FieldTypeRequiredDescription
First NameTextThe first name of the lead
Last NameTextYesThe last name of the lead
CompanyTextYesThe company name
EmailTextThe email address of the lead
PhoneTextThe phone number of the lead
TitleTextThe job title of the lead
StatusChoiceThe status of the lead
Options: New, Contacted, Qualified, Unqualified
Lead SourceChoiceThe source of the lead
Options: Web, Phone Inquiry, Email, Campaign, Other
IndustryChoiceThe industry of the lead
RatingChoiceThe rating of the lead
Options: Hot, Warm, Cold
DescriptionTextAdditional description of the lead
StreetTextThe street address
CityTextThe city
CountryChoice (loaded from your account)The country
State/ProvinceChoice (loaded from your account)The state or province
Postal CodeTextThe postal code

Output

Later steps use this data by picking this step in the $ picker. For example, lead is $.<step ID>.output.lead.

json
{
  "lead": {}
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
leadAny
lead.idTextID of the written record
lead.successYes / NoTrue when Salesforce accepted the write
lead.dataObjectWhat the write returned or sent; the parent field's description says which

Update Lead ​

Update an existing lead in Salesforce

Settings

FieldTypeRequiredDescription
Lead IDTextYesThe ID of the lead to update
First NameTextThe first name of the lead
Last NameTextThe last name of the lead
CompanyTextThe company name
EmailTextThe email address of the lead
PhoneTextThe phone number of the lead
TitleTextThe job title of the lead
StatusChoiceThe status of the lead
Options: New, Contacted, Qualified, Unqualified
Lead SourceChoiceThe source of the lead
Options: Web, Phone Inquiry, Email, Campaign, Other
IndustryChoiceThe industry of the lead
RatingChoiceThe rating of the lead
Options: Hot, Warm, Cold
DescriptionTextAdditional description of the lead
StreetTextThe street address
CityTextThe city
CountryChoice (loaded from your account)The country
State/ProvinceChoice (loaded from your account)The state or province
Postal CodeTextThe postal code

Output

Later steps use this data by picking this step in the $ picker. For example, lead is $.<step ID>.output.lead.

json
{
  "lead": {}
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
leadAny
lead.idTextID of the written record
lead.successYes / NoTrue when Salesforce accepted the write
lead.dataObjectWhat the write returned or sent; the parent field's description says which

Convert Lead ​

Convert a lead to account, contact, and optionally opportunity

Settings

FieldTypeRequiredDescription
Lead IDTextYesThe ID of the lead to convert
Converted StatusChoiceThe status to set when converting the lead
Options: Closed - Converted
Account IDTextYesThe ID of the existing account to associate with
Opportunity IDTextThe ID of the existing opportunity to associate with
Create AccountYes / NoWhether to create a new account
Create OpportunityYes / NoWhether to create a new opportunity
Opportunity NameTextThe name for the new opportunity

Output

Later steps use this data by picking this step in the $ picker. For example, success is $.<step ID>.output.success.

json
{
  "success": false,
  "accountId": "string",
  "contactId": "string",
  "opportunityId": "string"
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
successYes / NoTrue when the lead was converted
accountIdTextThe ID of the created or associated account
contactIdTextThe ID of the created or associated contact
opportunityIdTextThe ID of the created or associated opportunity. Empty when none was created

Add Contact to Campaign ​

Add a contact to a campaign

Settings

FieldTypeRequiredDescription
Contact IDTextYesThe ID of the contact to add to the campaign
Campaign IDTextYesThe ID of the campaign to add the contact to

Output

Later steps use this data by picking this step in the $ picker. For example, id is $.<step ID>.output.id.

json
{
  "id": "string",
  "success": false,
  "errors": [
    {
      "statusCode": "REQUIRED_FIELD_MISSING",
      "message": "string",
      "fields": [
        "string"
      ]
    }
  ],
  "statusCode": 0
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
idTextID of the created record
successYes / NoTrue when Salesforce created the record
errors[]ListErrors Salesforce reported. Empty on success: a failed create fails the node instead
errors[].statusCodeTextSalesforce error code, e.g. REQUIRED_FIELD_MISSING
errors[].messageTextError message
errors[].fields[]ListAPI names of the fields the error concerns
statusCodeNumberHTTP status code of the Salesforce response

Add Lead to Campaign ​

Add a lead to a campaign

Settings

FieldTypeRequiredDescription
Lead IDTextYesThe ID of the lead to add to the campaign
Campaign IDTextYesThe ID of the campaign to add the lead to

Output

Later steps use this data by picking this step in the $ picker. For example, id is $.<step ID>.output.id.

json
{
  "id": "string",
  "success": false,
  "errors": [
    {
      "statusCode": "REQUIRED_FIELD_MISSING",
      "message": "string",
      "fields": [
        "string"
      ]
    }
  ],
  "statusCode": 0
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
idTextID of the created record
successYes / NoTrue when Salesforce created the record
errors[]ListErrors Salesforce reported. Empty on success: a failed create fails the node instead
errors[].statusCodeTextSalesforce error code, e.g. REQUIRED_FIELD_MISSING
errors[].messageTextError message
errors[].fields[]ListAPI names of the fields the error concerns
statusCodeNumberHTTP status code of the Salesforce response

Delete Record ​

Delete any type of record from Salesforce

Settings

FieldTypeRequiredDescription
Object TypeChoice (loaded from your account)YesThe type of Salesforce object to delete
Record IDTextYesThe ID of the record to delete
Custom Object NameTextThe name of the custom object (required when Object Type is 'Custom')

Output

Later steps use this data by picking this step in the $ picker. For example, success is $.<step ID>.output.success.

json
{
  "success": false,
  "recordId": "string",
  "objectType": "string"
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
successYes / NoWhether the deletion was successful
recordIdTextThe ID of the deleted record
objectTypeTextThe type of object that was deleted

Bulk Create Records ​

Create multiple records of the same type in bulk (max 200 records per request)

Settings

FieldTypeRequiredDescription
RecordsListYesSource records to create, as objects. data maps each Salesforce field API name to a $. path into the record, or to a fixed value
Is JobYes / NoWhether to create the records as a job
Object TypeChoice (loaded from your account)YesThe type of object to work with
Data SchemaFormYesData Schema of the records

Output

Later steps use this data by picking this step in the $ picker. For example, records[0].id is $.<step ID>.output.records[0].id.

json
{
  "records": [
    {
      "id": "string",
      "success": false,
      "errors": [
        "string"
      ],
      "data": {
        "errors": [],
        "id": "string",
        "success": false
      }
    }
  ],
  "objectType": "string",
  "success": false,
  "totalCount": 0,
  "successCount": 0,
  "errorCount": 0,
  "jobId": "string",
  "status": "string",
  "uploadResult": {}
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
records[]ListWithout isJob: one result per record sent, in order. A record with item_N keys expands into several, so this can be longer than totalCount. Absent with isJob
records[].idTextID of the created record. Empty when it failed
records[].successYes / NoTrue when the record was created. Omitted when it failed
records[].errors[]ListError messages for a failed record. Absent when it was created
records[].dataObjectSalesforce's result for this record
records[].data.errors[]ListErrors Salesforce reported for this record
records[].data.errors[].statusCodeTextSalesforce error code, e.g. REQUIRED_FIELD_MISSING
records[].data.errors[].messageTextError message
records[].data.errors[].fields[]ListAPI names of the fields the error concerns
records[].data.idTextID of the created record
records[].data.successYes / NoTrue when the record was created
objectTypeTextThe type of object that was created
successYes / NoWithout isJob: true when every record was created. With isJob: true once the job is created
totalCountNumberNumber of input records, before item_N expansion
successCountNumberNumber of records created successfully. Absent with isJob
errorCountNumberNumber of records that failed to create. Absent with isJob
jobIdTextWith isJob: ID of the Bulk API job. Pass it to checkJobStatus
statusTextWith isJob: JobCreated
uploadResultObjectWith isJob: Salesforce's response to the CSV upload

Check Job Status ​

Check the status of a bulk job in Salesforce

Settings

FieldTypeRequiredDescription
Job IDTextYesThe ID of the bulk job to check

Output

Later steps use this data by picking this step in the $ picker. For example, id is $.<step ID>.output.id.

json
{
  "id": "string",
  "object": "string",
  "operation": "insert",
  "state": "string",
  "contentType": "string",
  "apiVersion": "string",
  "numberRecordsProcessed": 0,
  "numberRecordsFailed": 0
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
idTextThe ID of the job
objectTextThe Salesforce object type
operationTextThe operation type (e.g., insert)
stateTextThe current state of the job
contentTypeTextThe content type of the job
apiVersionTextThe Salesforce API version
numberRecordsProcessedNumberNumber of records processed
numberRecordsFailedNumberNumber of records that failed

Create Record ​

Create a new record

Settings

FieldTypeRequiredDescription
Object TypeChoice (loaded from your account)YesThe type of object to work with
DataFormYesData of the record

Output

Later steps use this data by picking this step in the $ picker. For example, objectType is $.<step ID>.output.objectType.

json
{
  "objectType": "Account",
  "record": {},
  "recordId": "string",
  "success": false
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
objectTypeTextSalesforce object API name, e.g. Account
recordAny
record.idTextID of the written record
record.successYes / NoTrue when Salesforce accepted the write
record.dataObjectWhat the write returned or sent; the parent field's description says which
recordIdTextID of the written record
successYes / NoTrue when Salesforce accepted the write

Update Record ​

Update an existing record

Settings

FieldTypeRequiredDescription
Record IDTextYesThe ID of the record to update
Object TypeChoice (loaded from your account)YesThe type of object to work with
DataFormYesData of the record

Output

Later steps use this data by picking this step in the $ picker. For example, objectType is $.<step ID>.output.objectType.

json
{
  "objectType": "Account",
  "record": {},
  "recordId": "string",
  "success": false
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
objectTypeTextSalesforce object API name, e.g. Account
recordAny
record.idTextID of the written record
record.successYes / NoTrue when Salesforce accepted the write
record.dataObjectWhat the write returned or sent; the parent field's description says which
recordIdTextID of the written record
successYes / NoTrue when Salesforce accepted the write