Actions
Introduction
Actions define what should happen after a Trigger has been evaluated.
An Action belongs to a Trigger and executes logic based on its documented Action Type and config.
Actions can be targeted to users/departments and can be overwritten in specific contexts via ActionOverwrites.
Rich-text values in type-specific config.text, config.body, and config.description keys use the shared Rich Text HTML format.
System Variable-enabled text fields in createInfoboardPost, createTaskAssignment, and notify configs must contain valid rendered templates. Their computed_targetables_system_variable config uses key-only syntax.
Model Definition
Relations
users
User
Belongs To Many
Pivot user_action
departments
Department
Belongs To Many
Pivot department_action
Action Types
createInfoboardPost- Creates an InfoboardPost.createTaskAssignment- Creates a TaskAssignment.notify- Sends a notification.webhook- Dispatches an outbound webhook request.
Capabilities
Targetables -
assign_mode,user_ids, anddepartment_idsselect the recipients used by the action type.Translations - Localizes
title; examples useen-US.
Create
Create a new Action.
Definition
POST /api/actions
Request Keys
title*
string
-
Action title.
lang_id
string
system language
Language for translatable Action fields. If omitted, the system language is used.
on_condition
boolean
true
Whether the Action runs on fulfilled (true) or failed (false) condition branch.
tries
integer
1
Number of retry attempts for execution.
timeout
integer
120
Timeout in seconds for execution.
config*
object
default config by type
Type-specific configuration payload.
computed_targetable_type
string | null
null
Optional Computed Targetable Type; the supported subset depends on the selected Action type.
active
boolean
true
Whether the Action is active.
sort_number
integer
-
Sort order inside the Trigger branch.
user_ids
integer[]
[] (for assign mode none/all/...)
Explicit target users.
department_ids
integer[]
[] (for assign mode none/all/...)
Explicit target departments.
Keys with * are required.
Example Request
Example Response
Update
Update an existing Action.
Definition
PUT /api/actions/{action}
Route Parameters
action
integer
Action ID.
Request Keys
title
string
-
Updated Action title.
trigger_id
integer
-
New Trigger ID.
lang_id
string
-
Updated language for translatable fields.
on_condition
boolean
-
Updated branch behavior.
tries
integer
-
Updated retry attempts.
timeout
integer
-
Updated timeout in seconds.
config
object
default config by type (only if type changed and config omitted)
Updated type-specific config payload.
assign_mode
string
current assign mode
Updated targeting strategy selected from the shared Assignment Modes.
computed_targetable_type
string | null
-
Updated Computed Targetable Type; the supported subset depends on the selected Action type.
active
boolean
-
Updated active state.
sort_number
integer
-
Updated sort order.
user_ids
integer[]
[] (for assign mode none/all/...)
Updated target users.
department_ids
integer[]
[] (for assign mode none/all/...)
Updated target departments.
Behavior
Only submitted keys are updated.
Example Request
Example Response
Delete
Delete an Action.
Definition
DELETE /api/actions/{action}
Route Parameters
action
integer
Action ID.
Example Request
Example Response
Last updated