Skip to main content

collected_records_update

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.

Update collected records โ€” applies field assignments to each record in a collected record 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โ€‹

KeyTypeRequiredDescription
record_collectionreferencenoThe record collection to update โ€” the output of a prior collect action.
field_assignmentsarray of field assignmentsnoArray of typed per-field-type field assignments (discriminated by field_type), new in the typed schema. Empty when omitted.
author_idinteger | referencenoWho the mutation is attributed to โ€” a fixed user id or a reference. Omitted โ†’ the automation itself.
trigger_webhooksbooleannoWhether the mutation fires outbound webhooks.
trigger_other_flowsbooleannoWhether the mutation triggers other automations.
silentbooleannoWhether the mutation is silent (suppresses notifications).

field_assignments covers 20 per-field-type shapes discriminated by field_type; its populated encoding is beta โ€” see Action examples. An empty array [] (no-op) is always accepted, and an omitted list defaults to [].

Exampleโ€‹

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

{
"type": "collected_records_update",
"config": {
"record_collection": { "kind": "variable", "source": "action", "action_type": "record_collection", "app_id": 5 },
"field_assignments": [],
"silent": true
}
}

Validation & behaviorโ€‹

  • No member is required; record_collection and field_assignments both default (an omitted field_assignments becomes []).
  • This is a consumer action: record_collection should reference a record collection produced by an earlier collect action.
  • As a mutating action, it applies field_assignments to each collected record; author_id, trigger_webhooks, trigger_other_flows, and silent control attribution and side effects, each falling back to the internal default when omitted.
  • The populated field_assignments encoding is beta โ€” an empty array is always accepted; consult GET /v1/automation/meta/action for the live shape before sending populated assignments.

See alsoโ€‹