collected_records_call_automation
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.
Call automation for collected records โ calls a target automation once per record in a referenced record
collection. group: "action". No specific trigger context is required.
Part of the Automation calls & weblinks 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 |
|---|---|---|---|
automation_id | integer | no | Id of the automation to call for each collected record. Omitted โ no target; an unset target round-trips as absent. |
record_collection | reference | no | The record collection to iterate over โ an action-variable reference to a prior action's collection output. Omitted when unset. |
call_arguments | array of call-argument objects | no | Arguments bound to the called automation's declared inputs, one per its custom variables. Empty when omitted. |
Each call_arguments entry binds one of the called automation's declared custom variables (variable_def) to either a
template value (value, when assignment_type is set) or a
code value (code, when assignment_type is set_code). assignment_type
defaults to set when omitted.
Exampleโ
An action entry inside an automation definition's actions[]:
{
"type": "collected_records_call_automation",
"config": {
"automation_id": 4021,
"record_collection": { "kind": "variable", "source": "action", "action_type": "record_collection" },
"call_arguments": [
{
"variable_def": { "custom_type": "any", "label": "Amount" },
"assignment_type": "set",
"value": ["100"]
}
]
}
}
Validation & behaviorโ
- All three members are optional at input; the mapper defaults omitted
call_argumentsto[], and an unsetautomation_idround-trips as absent. - This action is a consumer of a record collection:
record_collectionshould reference a collection produced by a prior action, and the target automation is called once per record in it. call_argumentsentries bind the callee's declared custom variables; each entry carries either a templatevalue(set) or acodeexpression (set_code), defaulting toset.- The action shares the shape of
current_record_call_automationplus therecord_collectionreference โ the per-record iteration is the only behavioral difference (beta โ see meta/action).
See alsoโ
- Dynamic values โ template values and references used by
record_collectionandcall_arguments - Actions catalog ยท Action examples