Skip to main content

current_record_comment_or_reply_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 comment or reply โ€” deletes the comment or reply from the triggering record. group: "action". Requires the record_comment_or_reply_created trigger context.

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โ€‹

Deleting a comment or reply is a record mutation, so this action carries only the shared record-mutation envelope and has nothing of its own.

KeyTypeRequiredDescription
author_idinteger | referencenoUser the mutation is attributed to โ€” a literal user id or a variable reference. Omitted โ†’ the automation itself.
trigger_webhooksbooleannoWhether the deletion fires outbound webhooks.
trigger_other_flowsbooleannoWhether the deletion triggers other automations.
silentbooleannoWhether the deletion is silent (suppresses notifications).

Exampleโ€‹

An action entry inside an automation definition's actions[]:

{
"type": "current_record_comment_or_reply_delete",
"config": {
"author_id": { "kind": "variable", "source": "meta", "meta_type": "created_by" },
"silent": true
}
}

Validation & behaviorโ€‹

  • No members are required โ€” an empty "config": {} deletes the triggering comment or reply with the internal defaults.
  • This action is only meaningful under the record_comment_or_reply_created trigger context, which supplies the comment or reply to delete.
  • author_id, trigger_webhooks, trigger_other_flows, and silent are all optional; each omitted member falls back to the internal default (the mutation is attributed to the automation itself).
  • Deleting a comment or reply is a record mutation and honours the shared mutation-control envelope above.

See alsoโ€‹