Skip to main content

current_record_delete

Internal beta โ€” config shape is being migrated

The Automation API is an internal beta and is not released yet โ€” endpoints and payloads may change or be withdrawn without notice. This action's config is being migrated to a typed schema; the fields below reflect that in-progress shape. Always read the authoritative, live shape from GET /v1/automation/meta/action before building against it.

Delete record โ€” deletes the record that triggered the automation. group: "action". Requires any record-context trigger. Deleting a record is a mutation, so the action carries only the shared record-mutation envelope and nothing of its own.

Part of the Current record family. This page documents the typed config; for how an action sits inside an automation definition, see Actions and Action examples.

Configโ€‹

KeyTypeRequiredDescription
author_idinteger | referencenoUser the mutation is attributed to โ€” a literal user id, or a variable reference (created-by / last-modified-by / a user field). Omitted โ†’ the automation itself.
trigger_webhooksbooleannoWhether the mutation fires outbound webhooks.
trigger_other_flowsbooleannoWhether the mutation triggers other automations.
silentbooleannoWhether the mutation is silent (no notifications).

Exampleโ€‹

An action entry inside an automation definition's actions[]. The config is empty by default โ€” every member is optional:

{
"type": "current_record_delete",
"config": {}
}

To attribute the deletion to a specific user and suppress notifications:

{
"type": "current_record_delete",
"config": {
"author_id": 812,
"silent": true
}
}

Validation & behaviorโ€‹

  • No config members are required โ€” an empty config: {} is valid and deletes the current record with the internal defaults.
  • Operates on the trigger's current record, so it needs any record-context trigger to run.
  • Every member is a mutation-control from the shared envelope; each omitted member falls back to the internal default.
  • author_id accepts a literal user id or a variable reference (created-by / last-modified-by / a user field); omitted attributes the deletion to the automation itself.

See alsoโ€‹