Search (SOSL)
salesforce.search
ActionCRM & salesconnection required
Calls the Salesforce REST API at the connection's instance URL.
Run a SOSL search across several objects at once.
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.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
sosl SOSL search, e.g. FIND {Acme} IN ALL FIELDS RETURNING Account(Id, Name). | string | Yes | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
records The searchRecords Salesforce matched. | array | — |
count How many records matched. | number | — |
{
"count": 0,
"records": []
}Notes
- A SOSL search returns at most 2,000 rows in all. Searching a single object returns 250 unless the RETURNING clause adds a WHERE, ORDER BY or LIMIT; across n objects each one returns the smaller of 2,000/n and 250.
Templates that use Salesforce
Solutions with Salesforce
See Search (SOSL) 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.