current_record_restore
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.
Restore record โ restores the current soft-deleted record. group: "action". Requires any record-context trigger.
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โ
Restoring a record is a mutation, so the action carries only the shared record-mutation envelope and nothing of its own. Every member is optional; omitting one falls back to the internal default.
| Key | Type | Required | Description |
|---|---|---|---|
author_id | integer | reference | no | User the mutation is attributed to โ a literal user id, or a reference (created-by / last-modified-by / a user field). Omitted โ the automation itself. |
trigger_webhooks | boolean | no | Whether the mutation fires outbound webhooks. |
trigger_other_flows | boolean | no | Whether the mutation triggers other automations. |
silent | boolean | no | Whether the mutation is silent (suppresses notifications). |
Exampleโ
An action entry inside an automation definition's actions[]:
{
"type": "current_record_restore",
"config": {
"author_id": { "kind": "variable", "source": "meta", "meta_type": "last_modified_by" },
"silent": true
}
}
The config may also be empty ("config": {}) โ the restore then runs with every envelope member at its default.
Validation & behaviorโ
- No member is required; an empty
configis valid and runs the restore with all envelope defaults. author_idaccepts either a literal user id or a variable reference; omitted, the mutation is attributed to the automation itself.trigger_webhooks,trigger_other_flows, andsilentare booleans that gate the mutation's side effects; omitted, each uses its internal default.- Restores the current soft-deleted record, so it is typically only reachable after an upstream
current_record_deletein the same run โ outside that context there is nothing to restore.
See alsoโ
- Dynamic values โ the reference shape used by
author_id - Action examples ยท Actions catalog