collect_app_records
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.
Collect app records โ collects records from an app into a 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โ
| Key | Type | Required | Description |
|---|---|---|---|
app_id | integer | no | Id of the app whose records are collected. Carried through only when set. |
match_condition | filter group | null | no | Records filter. Empty "match all" condition when omitted; null composes back from an empty condition. |
limit | integer | no | Maximum number of records to collect. Default 1. |
limit_enabled | boolean | no | Whether limit is applied. Default false. |
Exampleโ
An action entry inside an automation definition's actions[]:
{
"type": "collect_app_records",
"config": {
"app_id": 4821,
"match_condition": {
"operator": "and",
"rows": [
{
"subject": {
"kind": "variable",
"source": "field",
"field_id": 55012,
"field_type": "single_text",
"previous": false,
"collection": false,
"triggering": false
},
"operator": "is_not_empty"
}
]
},
"limit": 100,
"limit_enabled": true
}
}
Validation & behaviorโ
- Every member is optional; an omitting caller still yields a complete internal action via the mapper's defaults.
match_conditiondefaults to the empty "match all" condition, so with no filter the whole app is collected.limitdefaults to1and only takes effect whenlimit_enabledistrue; withlimit_enabledfalsethe collect is unbounded.- This action is a producer: it publishes a
record_collection. An unbounded collect is capped at the server 1000-record limit.
See alsoโ
- Dynamic values โ template values and references
- Filters โ the filter-group shape used by
match_condition - Action examples ยท Actions catalog