collected_records_comment_create
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.
Comment on collected records โ adds a comment to each record in a collection. group: "action". No specific trigger context is required.
Part of the Record collections family. This page
documents the typed config; for how an action sits inside an automation definition, see
Actions and Action examples.
Configโ
| Key | Type | Required | Description |
|---|---|---|---|
comment_content | template value | yes | Comment body. |
record_collection | reference | no | Reference to a record collection variable produced by an earlier action. Omitted โ the collection bound by the enclosing for-loop. |
author_id | integer | reference | no | User the comment is attributed to โ a literal user id or a variable reference. 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 (no notifications). |
Exampleโ
An action entry inside an automation definition's actions[]:
{
"type": "collected_records_comment_create",
"config": {
"record_collection": { "kind": "variable", "source": "action", "action_type": "record_collection", "app_id": 123 },
"comment_content": ["Reviewed by automation on record ", { "kind": "variable", "source": "meta", "meta_type": "app_record_id" }],
"silent": true
}
}
Validation & behaviorโ
comment_contentis the only required member; every other member is optional and falls back to its internal default.- This is a consumer of a record collection:
record_collectionreferences a collection variable produced by an earlier action. When omitted, the action targets the collection bound by its enclosing for-loop, so it must run inside one. - With
author_idomitted, the comment is attributed to the automation itself. trigger_webhooks,trigger_other_flows, andsilentare the shared mutation-control members; omitted = the internal default.
See alsoโ
- Dynamic values โ template values and references
- Record collections family โ actions that produce and consume collections
- Action examples ยท Actions catalog