Automation
An automation: a flow of steps that starts on a trigger, such as a work item being created, a schedule or a person starting it by hand, and runs with the permissions of the person who made it, its owner.
- Summary view
- AutomationList, 28 fields. What a list returns by default.
- Detail view
- Automation, 29 fields. The default for a single read and for every write.
It belongs to the whole organisation, to every project or customer, or to one project or customer. The flow itself is the automation's current version.
Used by
/automations/{automation}/actions/rotate-webhook-secretAutomationFields
- Detail only
- Only in the detail view.
- Only with include
- Only when you ask for it with include.
- Server-assigned
- Set by plnnrly, never by a request.
What the automation belongs to. null is the whole organisation. With a type, context_id names the one project or customer, or is null for every one of them. The scope decides which permissions apply: automations, project_automations or customer_automations.
projectcustomer
New values may be added.
The one project or customer the automation belongs to. null with a context_type means every project or every customer.
The person who made the automation. Its runs use their permissions, so a step they may not do is refused when the flow is saved. null once that user is gone. It is whoever creates the automation and never changes, except for plnnrly support's own account, which must name a real person here when it creates or changes one.
Whether the owner is plnnrly support's own account. Such an automation cannot be saved or switched on until a real person is named as its owner.
Whether the automation is switched on. A new automation is always off.
Why plnnrly paused the automation, such as a step that kept failing. null while it is not paused. Switching it on again clears it. Never names record data.
The step type of the flow's trigger, such as trigger.record_created, taken from the current version. See GET /api/v2/automation-node-types.
The record type the trigger starts on, such as work_item, or null for a trigger without a record, such as a schedule.
The record events the trigger starts on. Empty for a trigger that does not start on record events, such as a schedule or a date being reached.
createdupdateddeleted
New values may be added.
When a schedule trigger next starts a run. null for other triggers.
How many live runs the automation has started, as counted for the organisation's usage. Test runs and runs that were skipped are not counted.
The template the automation was made from, null when it was built from scratch. See GET /api/v2/automation-templates. Send it on create to start from that template: its flow is saved as version 1, with the answers in template_answers in their places.
What a person fills in when they start the automation by hand, as its trigger declares it. Empty for an automation that is not started by hand.
Show 4 child fields
The address other systems send requests to, for an automation whose trigger receives webhooks; null otherwise. Requests must also prove they know the automation's secret, which this API never returns.
Soft-delete timestamp, null while live. A deleted automation starts no runs.
The person who made the automation.
Who last saved the automation.
The version whose flow runs.
Variants
AutomationList 28 fields
What a collection returns, and what ?view=summary returns on a single record.
Leaves out: manual_inputs
AutomationSummary 2 fields
The embedded form: what you get when another resource carries this one and you did not include it.
Leaves out: description, context_type, context_id, owner_id, owner_requires_replacement, is_active, is_runnable, paused_reason, current_version_id, trigger_type, trigger_record_type, trigger_events, next_run_at, last_run_at, runs_count, template_key, manual_inputs, webhook_url, updated_by_id, created_at, updated_at, deleted_at, owner, updated_by, current_version, versions_count, links
AutomationLinks 3 fields
The links object on this resource.
Keys: self, versions, runs
Columns deliberately not published
builder_sampleThe example record and request the builder's editors share, which hold record data.scanned_untilHow far a date trigger has looked for dates that were reached: internal state.webhook_secretNever readable over the API; only the builder shows it to its editors.webhook_tokenPublished only inside webhook_url.Something wrong or missing on this page? Tell us