Skip to content

app.automation_actions

TableRow level security on

One action of an automation, run in position order as the owner through a public API operation (ADR 0047): create_task (records.create), update_status (records.transition), assign (records.update), add_comment (comments.postOnSubject), notify (automationRuns.notify) or call_webhook (automationRuns.deliverWebhook). Templates may name event paths in double braces, such as {{data.title}}.

Primary key: id

Columns of app.automation_actions
ColumnTypeNullableDescription
iduuidNoPrimary key, UUID v7.
org_iduuidNoOwning org, derived from app.automations on insert; never accepted from the caller and never changed.References app.organizations.id
automation_iduuidNoAutomation the action belongs to.References app.automations.id
positionsmallintNoOrder the actions run in, 1 first.
action_typeapp.automation_action_typeNoWhat the action does.
title_templatetextYescreate_task: the Task title (imperative verb first); notify: the notification title.
body_templatetextYesadd_comment: the comment; notify: the message; update_status: the blocker or replan reason Blocked and Deferred need.
project_iduuidYescreate_task: the project the Task goes in, under its engagement root; null means the event's project.References app.projects.id
phase_codetextYescreate_task: the Task's gated phase.References xpms.dim_phase.phase_code
xyzxpms.xyz_tagYescreate_task: the Task's declared XYZ tag.
due_in_dayssmallintYescreate_task: due at 17:00 on the org's calendar this many days after the run; null for no due date.
to_statetextYesupdate_status: the record state the subject record moves to.References xpms.dim_record_state.record_state
assignee_person_iduuidYesassign: the member who becomes the subject record's owner.References app.people.id
recipient_person_iduuidYesnotify: the member who receives the notification.References app.people.id
webhook_endpoint_iduuidYescall_webhook: the org's webhook endpoint the event is delivered to, signed as every webhook is.References app.webhook_endpoints.id
created_attimestamp with time zoneNoWhen the row was inserted. Set by the database.
created_byuuidYesPerson who inserted the row, or null for a platform process. Set by the database.References app.people.id
updated_attimestamp with time zoneNoWhen the row last changed. Set by the database.
updated_byuuidYesPerson who last changed the row, or null for a platform process. Set by the database.References app.people.id
deleted_attimestamp with time zoneYesSoft delete time. A row with deleted_at set is ignored by every access helper.