Query (SOQL)

salesforce.query
ActionCRM & salesconnection required

Calls the Salesforce REST API GET /query?q=.

Run a SOQL query against Salesforce and return the records.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Salesforce
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
login_url, api_version
Resolved by
config.connection_id, else node.connection_id

Configuration

1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
soql
SOQL query, e.g. SELECT Id, Name FROM Account.
stringYes———

Output

One shape.

result

FieldTypeExample
records
array—
count
number—
total
number—
{
  "count": 0,
  "records": [],
  "total": 0
}

See Query (SOQL) run in a workflow.

In a technical demo we add the Salesforce connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.