Delete Record

salesmate.delete_record
ActionCRM & salesconnection required

Calls the Salesmate API with the connection's credentials.

Delete one contact, company, deal or activity.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Salesmate
Secret shape
the Salesmate access key, or {"access_token": "…"}
Config it needs
linkname
Resolved by
config.connection_id, else node.connection_id

Configuration

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

FieldTypeRequiredDefaultConstraintsExample
module
Which Salesmate record this node acts on.
stringYes—one of "contact", "company", "deal", "activity"—
record_id
Numeric id of the Salesmate record to act on, as returned by a create or search.
stringYes——1540
hard_delete
Delete the activity permanently instead of moving it to the recycle bin. Salesmate documents this only for activities; it is ignored for the other modules.
booleanNofalse——

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "hard_delete": false,
  "record_id": "1540"
}

Output

One shape.

result

FieldTypeExample
module
The module the deleted record belonged to.
string—
id
The id that was deleted.
string—
deleted
Always true; a missing record raises instead.
boolean—
{
  "deleted": false,
  "id": "",
  "module": ""
}

Notes

  • Salesmate reports a delete of a record that does not exist as HTTP 200 with an ObjectNotFound body; this node treats that as a step failure.

See Delete Record run in a workflow.

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