Delete Records

zoho_crm.delete_records
ActionCRM & salesconnection required

Calls the Zoho CRM API with the connection's credentials.

Delete up to 100 records from a Zoho CRM module by id and return Zoho's per-record status for the batch.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Zoho CRM
Secret shape
{"client_id": "…", "client_secret": "…", "refresh_token": "…"}
Config it needs
data_center, api_domain, accounts_url, api_version
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
API name of the module to act on, such as Leads, Contacts, Accounts, Deals, Tasks, Products, Vendors or Invoices. A custom module's API name works too.
stringYes——Leads
ids
Comma-separated ids of the records to delete, at most 100 of them.
stringYes———
wf_trigger
Whether Zoho runs the module's workflows for these deletions. Leave unset to keep Zoho's default of running them.
booleanNo———

Example configuration

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

{
  "module": "Leads"
}

Output

One shape.

result

FieldTypeExample
module
The module API name the batch was written to.
string—
action
Which write this was, for example create or upsert.
string—
records
One status object per input record, in input order.
array—
succeeded
The status objects Zoho accepted, each with its new id.
array—
failed
The status objects Zoho refused, each with its error code.
array—
ids
The ids of the records Zoho wrote, in order.
array—
success_count
How many records of the batch Zoho wrote.
number—
failure_count
How many records of the batch Zoho refused.
number—
status
success when every record was written, partial when some were refused.
stringsuccess
{
  "action": "",
  "failed": [],
  "failure_count": 0,
  "ids": [],
  "module": "",
  "records": [],
  "status": "success",
  "succeeded": [],
  "success_count": 0
}

Notes

  • A partial success is normal: read status, succeeded and failed rather than assuming the whole batch landed. The step fails only when Zoho refused every record in the batch.

See Delete Records run in a workflow.

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