Delete Record
salesforce.delete_record
ActionCRM & salesconnection required
Calls the Salesforce REST API at the connection's instance URL.
Delete one sObject record by its Salesforce id.
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
2 fields, 2 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 |
|---|---|---|---|---|---|
sobject sObject type, e.g. Contact. Supports {{ }}. | string | Yes | — | — | — |
record_id The 15- or 18-character record id. Supports {{ }}. | string | Yes | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
id The id that was deleted. | string | — |
deleted True once Salesforce accepted the delete. | boolean | — |
{
"deleted": false,
"id": ""
}Notes
- The record goes to the Recycle Bin; queryAll still returns it as IsDeleted.
Templates that use Salesforce
Solutions with Salesforce
See Delete Record 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.