Skip to content
For LLMsView as Markdown·

Salesforce

Manage leads, contacts, accounts, and opportunities in Salesforce CRM.

DetailValue
CategoryCRM
Base URLhttps://{instance_url}.my.salesforce.com
AuthenticationOAuth2 Client Credentials
Endpoints7
Connector keysalesforce

Using Salesforce in a workflow

  1. Go to Connections and click New Connection.
  2. Pick Salesforce from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown — the full list is below.

Available endpoints

EndpointSummary
GET /sobjects/ContactGet contact metadata
POST /sobjects/ContactCreate a contact
GET /sobjects/Contact/{id}Get a contact by ID
GET /queryExecute a SOQL query
POST /sobjects/LeadCreate a lead
GET /sobjects/Opportunity/{id}Get an opportunity by ID
PATCH /sobjects/Contact/{id}Update a contact

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET /sobjects/Contact

Get contact metadata

DetailValue
Operation IDcrm.listContacts
MethodGET
Path/sobjects/Contact

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Salesforce connection from the Connection dropdown.
  3. In the Operation dropdown, select crm.listContacts.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Salesforce API reference.

POST /sobjects/Contact

Create a contact

DetailValue
Operation IDcrm.createContact
MethodPOST
Path/sobjects/Contact

Parameters

No parameters.

Request Body

FieldType
FirstNamestring
LastNamestring
Emailstring

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Salesforce connection from the Connection dropdown.
  3. In the Operation dropdown, select crm.createContact.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Salesforce API reference.

GET /sobjects/Contact/{id}

Get a contact by ID

DetailValue
Operation IDcrm.getContact
MethodGET
Path/sobjects/Contact/{id}

Parameters

NameLocationTypeRequired
idpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Salesforce connection from the Connection dropdown.
  3. In the Operation dropdown, select crm.getContact.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Salesforce API reference.

GET /query

Execute a SOQL query

DetailValue
Operation IDcrm.query
MethodGET
Path/query

Parameters

NameLocationTypeRequired
qquerystringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Salesforce connection from the Connection dropdown.
  3. In the Operation dropdown, select crm.query.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Salesforce API reference.

POST /sobjects/Lead

Create a lead

DetailValue
Operation IDcrm.createLead
MethodPOST
Path/sobjects/Lead

Parameters

No parameters.

Request Body

FieldType
FirstNamestring
LastNamestring
Companystring

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Salesforce connection from the Connection dropdown.
  3. In the Operation dropdown, select crm.createLead.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Salesforce API reference.

GET /sobjects/Opportunity/{id}

Get an opportunity by ID

DetailValue
Operation IDcrm.getOpportunity
MethodGET
Path/sobjects/Opportunity/{id}

Parameters

NameLocationTypeRequired
idpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Salesforce connection from the Connection dropdown.
  3. In the Operation dropdown, select crm.getOpportunity.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Salesforce API reference.

PATCH /sobjects/Contact/{id}

Update a contact

DetailValue
Operation IDcrm.updateContact
MethodPATCH
Path/sobjects/Contact/{id}

Parameters

NameLocationTypeRequired
idpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Salesforce connection from the Connection dropdown.
  3. In the Operation dropdown, select crm.updateContact.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Salesforce API reference.