collect_app_view_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 view records โ collects the records of an app view 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 to collect records from. |
app_view_id | integer | no | Id of the app view to collect records from. |
limit | integer | no | Maximum number of records to collect. Defaults to the editor default when omitted. |
limit_enabled | boolean | no | Whether limit is applied. false when omitted. |
app_id / app_view_id are effectively required
Both ids are optional in the discovery schema and the typed DTO (a not-yet-configured action may have neither), but
validation reports action_app_missing / action_app_view_missing when either is absent โ a usable action must supply
both. Treat app_id + app_view_id as effectively required, enforced at validate/activate rather than at write.
Exampleโ
An action entry inside an automation definition's actions[]:
{
"type": "collect_app_view_records",
"config": {
"app_id": 4201,
"app_view_id": 9317,
"limit": 100,
"limit_enabled": true
}
}
Validation & behaviorโ
- This is a producer: it needs a real
app_idandapp_view_idto collect anything, and validation rejects an action missing either. app_view_idis only checked for presence at validate time โ a syntactically valid but non-existent view passes validation and then fails at run time.limitdefaults to the editor default when omitted, andlimit_enableddefaults tofalse, so an omitting caller still yields a complete action.- Every collect is capped at 1000 records at run time regardless of
limit_enabled. A configuredlimitabove 1000 โ or withlimit_enabled: falseโ is stored and read back unchanged (there is no write-time orvalidatewarning); the collection is truncated to 1000 only when the run executes. See Limitations.
See alsoโ
- Dynamic values โ template values and references
- Filters โ filter-group shape used by other record-collection actions
- Action examples ยท Actions catalog