Deze referentie is alleen in het Engels. Naar het Nederlandse REST API-overzicht

Diese Referenz gibt es nur auf Englisch. Zur deutschen REST-API-Übersicht

Cette référence existe uniquement en anglais. Aller à la présentation de l'API REST en français

Esta referencia solo está en inglés. Ir a la introducción de la API REST en español

Automation

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.

View as Markdown
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

GETRead an automation/automations/{automation}Automation
PATCHUpdate an automation/automations/{automation}Automation
POSTSwitch an automation on/automations/{automation}/actions/activateAutomation
POSTSwitch an automation off/automations/{automation}/actions/deactivateAutomation
POSTCopy an automation/automations/{automation}/actions/duplicateAutomation
POSTRestore a deleted automation/automations/{automation}/actions/restoreAutomation
POSTSet a new secret for an automation's webhook/automations/{automation}/actions/rotate-webhook-secretAutomation

Fields

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.
idinteger

Unique identifier.

namestring≤ 255

Name as shown in the automations list.

descriptionstring or nullMultiline

What the automation is for, in its makers' words.

context_typestring or null

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.

context_idinteger or null

The one project or customer the automation belongs to. null with a context_type means every project or every customer.

owner_idinteger or null

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.

owner_requires_replacementboolean

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.

is_activebooleanServer-assigned

Whether the automation is switched on. A new automation is always off.

is_runnableboolean

Whether triggers start runs right now: switched on, not paused and not deleted.

paused_reasonstring or null

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.

Variants

AutomationList 28 fields

What a collection returns, and what ?view=summary returns on a single record.

Leaves out: manual_inputs

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.