Reactions & automation
Section titled “Reactions & automation”This guide is for builders who want an application to do routine work on its own — email the requester when a request is approved, stamp a date on a related record, remind an owner before a deadline, escalate a step that is overdue. By the end you will be able to add a reaction to an entity, choose what sets it off, narrow it to the records that matter, pick what it does, chain several reactions together, and check that each one ran.
How a reaction works
Section titled “How a reaction works”A reaction is a rule that runs by itself. It has three parts:
- An event — when it runs: a record is created, a workflow action such as Approve is taken, a date arrives, someone presses a button.
- A filter (optional) — which records it runs for: only requests over a certain amount, only records in a certain status.
- An action — what it does: send an email, update a record, move the workflow on, call another system.
Take an Asset Request. When the IT manager approves a request, two things should happen: the requester gets an email, and the related Asset record is marked as Assigned. That is two reactions on the Asset Request entity, both fired by the Approve action — one sends the email, the other updates the asset. The worked example builds them step by step.
flowchart LR
E["Event<br/>Approve is taken"] --> F{"Filter<br/>(optional)"}
F -->|matches| A1["Action<br/>Send Email"]
F -->|no match| S["Nothing happens"]
A few things are always true:
- One reaction does one thing. Each reaction has exactly one action. To do two things, add two reactions on the same event, or chain them when the order matters.
- Reactions live on an entity, on its Reactions tab, and run for that entity’s records.
- Reactions run in the background. The person whose click set one off does not wait for it and is not told if it fails — see Check that it ran.
Add a reaction
Section titled “Add a reaction”You need Developer access or higher on the entity to add, change or delete its reactions.
- Open the entity’s designer: Administration › Applications › Modules, open the module, open the entity, and edit it.
- Select the Reactions tab. It has two sub-tabs: New Reaction for ordinary reactions, and Time Monitoring for reactions to an overdue workflow step.
- On the sub-tab you need, select + (or Add Reaction if the list is empty). The New Reaction dialog opens.
- Enter a Name and, optionally, a Description. Turn on Deactivated if you want to save the reaction without running it yet.
- Under Event, choose what sets it off — see Choose the event. Depending on the event, more settings appear below it, such as the workflow step or the fields to watch.
- Choose the Execution Spaces and Event Executor Type — see Where it runs and who it acts as. The defaults suit most reactions.
- Optionally build a Filter — see Run it only for some records.
- Under Action, choose the Action Type and fill in its settings — see Choose what it does.
- Confirm the dialog. The reaction is saved straight away and appears in the list.
To change a reaction, open it from the list. To pause one, edit it and turn on Deactivated. Duplicate copies a reaction into a new dialog; you can change the copy’s event before saving, unless you started it from an event group’s +, which keeps that event.
The Reactions tab Since 1.10
Section titled “The Reactions tab Since 1.10”Each row shows the reaction’s event and action at a glance; expand a row to see its description and, for actions that have one, its scope. The toolbar lets you search by name, filter by who created or changed a reaction and when, filter by status — including Executed and Not executed — sort, and group the list by event, action type or filter status.
Choose the event
Section titled “Choose the event”Pick the event that matches the moment you care about.
| You want to act when… | Choose this Event |
|---|---|
| A record is created | On Entry Created |
| A record is changed (optionally, only when certain fields change) | On Entry Updated |
| A record is archived, or restored from the archive | On Entry Archived · On Entry Restored Since 1.8 |
| Someone takes a workflow action — for example Approve or Reject | On Workflow Action Executed |
| A record arrives at a workflow step, or leaves one | On Workflow Step Reached · On Workflow Step Exited |
| A step is handed to someone else, reassigned or taken over | On Owner Changed Since 1.8 |
| A date or a repeating schedule arrives | Timer |
| Someone presses a button, or another reaction calls this one | Custom Action |
| A file is produced from an export template | Export File by template |
| Another reaction finished, or failed | Reaction Succeeded · Reaction Failed Since 1.8 |
| Another reaction announced something | On Event Announced Since 1.8 |
| A workflow step is overdue (on the Time Monitoring sub-tab) | On Time Exceeded |
| A Zapier integration sends an event | Zapier Event |
Approvals are workflow events, not updates. When a record moves from one workflow step to another, On Entry Updated does not run. To react to an approval, use On Workflow Action Executed (for “when someone chose Approve”) or On Workflow Step Reached (for “when the record arrives at Approved”). On an entity with a workflow, creating a record runs both On Entry Created and On Workflow Step Reached for the first step.
Event Source Type. By default a reaction runs for the record the event happened to (Self). Choose Relation to run it when the event happens on a related record — for example, react on Employee when their Department changes. Choose Absolute Entity with On Event Announced, to run over all of this entity’s records that match the filter.
Run on a schedule
Section titled “Run on a schedule”With Timer, set the Interval type:
- One Time — runs once at the Timer Date.
- Repeat — runs on a schedule written as a Cron Expression, between an optional Start Date and End Date.
At each run, the reaction goes through every record that matches its filter — for example “every morning, find requests still waiting after three days and remind their owner”. Large sets are worked through in batches, so a run over thousands of records takes a while to finish. Cron rules and recipes: Run an automation on a schedule.
Run from a button: Custom Action
Section titled “Run from a button: Custom Action”Custom Action reactions run on demand. Attach one to a button (see Buttons), or call it from another reaction with Execute Custom Action.
Custom action level decides who may call it:
- UI action — run by a button. Only UI actions can be attached to a button.
- Local action — called by another reaction in the same module.
- External action — called by a reaction in any module.
Contextual (on by default) means the action runs on a record. Turn it off for an action that simply runs once, with no record — for example “recalculate this month’s totals”.
For a UI action you can also set the Execution Indicator people see while it runs — Blocking (they wait, with an On execution started and an On execution succeeded message), Inform (they see progress but can carry on), or None.
To ask the person for input first, turn on Ask User For (called Parameters for Local and External actions), give the dialog a Dialog Name, and choose the Fields Source: an Inline Entity you describe, or a View whose fields appear in the dialog. The values they enter can be used in the action. Recipe: Ask for input before an action runs.
React to an owner change Since 1.8
Section titled “React to an owner change Since 1.8”On Owner Changed runs when a step’s owner changes. Narrow it with Owner Change Type — a hand-off to someone else, someone taking ownership, or a reassignment — and Choose Step. Leave either empty to react to every change or every step.
Run it only for some records
Section titled “Run it only for some records”The event decides when; the filter decides for which records. Without a filter, the reaction runs every time the event happens.
- Watch specific fields. On Entry Updated lets you pick the fields to watch; it then runs only when one of them changes.
- Pick steps and actions. The workflow events let you pick the steps (and, for action events, the actions) they apply to. Leave the selection empty to cover all of them.
- Add conditions. Under Filter, reuse a Saved Query of the entity, add conditions of your own, or both — when you use both, a record must match both. Conditions are built exactly like a query, and can reach into related records.
- For date-only fields, compare against @today (with an offset such as
+1dor-3d; the sign is required). @now includes the time of day, so it never equals a date-only value. - A full-text search condition cannot be used in a reaction’s filter.
- If the filter refers to a saved query that has since been deleted, the reaction is skipped rather than run for every record.
Choose what it does
Section titled “Choose what it does”The Action Type list, grouped by what you want to achieve:
| Goal | Action types |
|---|---|
| Change data | Create Data Entry · Update Data Entry · Archive Data Entry · Delete Archived Entry Since 1.8 · Create / Update / Delete Repeatable Block Record |
| Move the workflow | Move Workflow To Step · Execute Workflow Step Action · Change Current Step Owner |
| Tell people | Send Email · Send Notification (in-app) · Send SMS · Send WhatsApp Since 1.10 |
| Produce a file | Generate File (from an export template) |
| Manage users and access | Activate/Deactivate User · Set Permission / Remove Permission Since 1.10 |
| Connect and extend | Call API · Execute Function · Execute Custom Action Since 1.8 · Announce Event Since 1.8 · Notify Zapier |
Filling in values. Wherever an action writes a field, choose where each value comes from (messages use placeholders instead — see Insert record values into messages):
- Not Set — write nothing to the field. Offered only when the field is not required.
- Default — the field’s own default value. Offered only when the field has one.
- Manual — a fixed value you type, such as Assigned.
- Field — a field of the record that set the reaction off, such as its Requester.
- Pointer — a reference picked from a list:
@thisReference()(the record that set it off) for a field that points to this entity,@current_user(the person whose action set it off) for a field that holds people, and further pointers for people, group and organizational-unit fields. - Expression — a formula, for advanced builders.
The sections below cover the actions most builders use. Every option of every action is listed in the reaction reference.
Update the record, or a related one
Section titled “Update the record, or a related one”Update Data Entry changes field values. Choose update mode decides which record:
- Self — the record that set the reaction off.
- Reference — the record a reference field points to. For the Asset Request, choose the Asset reference field to update that asset.
- Relation — every record reached through a relation, for example all Tasks of a Project.
When the update can touch several records, Action Success Criteria decides when the action counts as a success: Successful execution on at least one entry (the default) or Successful execution on all entries.
Create Data Entry adds a new record — to this entity or another — and fills its fields the same way. The repeatable-block actions add, change or delete rows of a repeatable block; Record Selector picks which rows (by Number, Field, Expression, Last Record or All Records) and On Record Selection Failure says what to do when none match. Recipe: Change repeating block rows from an automation.
Notify people
Section titled “Notify people”- Send Email — choose the Template (or write a Subject and Body), the recipients in To, CC and BCC (people, groups, lists, org units or a typed address), and From: System, Reaction Executor (the person who set it off) or Custom. ADD Entry Link adds a link back to the record. You can attach files from the record or a fixed file.
- Send Notification — an in-app notification to people, groups, lists or org units, optionally opening a view of the record.
- Send SMS — a text message to phone numbers taken from the record or typed in.
Write {{name}} placeholders in a message and map each one to a value, under
Custom Variables. Send Email and Send SMS offer the types Field and
Expression; Send Notification also offers Fixed (a value you type).
A date from a field is written as dd/MM/yyyy HH:mm in UTC+4, whatever the
reader’s time zone. A Field mapped to a field of a linked record comes out
blank — copy that value onto this record first and map that field. Tick
Redact in history on a value — such as a one-time code — to keep it out of the
reaction’s run history; the real value is still sent. Recipes:
Insert record values into messages
and Generate a PDF from a record and email it.
Send a WhatsApp message Since 1.10
Section titled “Send a WhatsApp message Since 1.10”Send WhatsApp sends one of your organization’s approved WhatsApp message templates.
- Make sure WhatsApp is set up for the space — your administrator fills in the WhatsApp section of System Settings (see WhatsApp settings).
- In the action, choose the recipients, the same way as for Send SMS.
- Under Template, pick an approved template from the list.
- Under Template variables, give a value for each numbered variable in the template, in order.
Good to know:
- You need system-level access to see the template list. If WhatsApp is not set up, the action says so instead of listing templates.
- The template is not checked against WhatsApp when you save. Pick it from the list and fill in exactly as many variables as it has.
- Empty values are sent as blanks; line breaks and long runs of spaces are turned into single spaces; a protected value you may not see is sent masked. If no phone number is found, nothing is sent and the action still counts as a success.
Move the workflow on
Section titled “Move the workflow on”- Execute Workflow Step Action “clicks” a workflow action for you — for example close a request that has sat in Resolved for a week. It continues through the following steps for as long as you have chosen an action for them. It cannot act on the workflow’s last step.
- Move Workflow To Step jumps the record to a step you choose.
- Change Current Step Owner hands the current step to someone else — the usual answer to an overdue step.
Grant or remove access Since 1.10
Section titled “Grant or remove access Since 1.10”Set Permission gives people or groups access to a resource; Remove Permission takes it away. Typical uses: give a request’s assignee access to a report when a step is reached, or remove someone’s access to a module when their record is archived.
- Choose the Resource Type — System, Module, Entity, View, Page or Report — and the resource itself.
- Choose User or Group, and the Principal Source: a Fixed Value, a Reference Field of the record, an Expression or a Pointer.
- For Set Permission, choose the Level. Views, pages and reports can only be granted view access; modules and entities up to edit; the system up to admin.
Good to know:
- You cannot grant more than you have. When you save, each permission action is checked against your own access: to grant a level you must hold it, and to remove access you need admin access on the resource.
- It never lowers access. Someone who already has a higher level keeps it.
- A person who has no access to the system yet is given the minimum system access first, so a module or entity grant can take effect.
Recipe: Give and remove access automatically.
Call another system, or your own code
Section titled “Call another system, or your own code”- Call API sends a request to an external web address and can use values from the record. For safety it only reaches public HTTP(S) addresses, must finish within 30 seconds, and cannot carry a masked protected value.
- Execute Function runs a function your team
wrote.
Since 1.10reactions that run after it can use what it returned. - Announce Event broadcasts a named announcement that On Event Announced reactions — on any entity — pick up.
Recipes: Send a record to another system and Connect automations with announced events.
Execute Custom Action Since 1.8 runs a
Local or External Custom Action — for example, call
Recalculate budget in the Finance module whenever a purchase is approved. Choose
the Custom Action (grouped as Local Actions and External Actions), then,
if it is contextual, the Scope that finds the record to run it on:
- Self — this record (only when the custom action belongs to this entity).
- Relation — the records reached through a relation.
- Expression or Pointer — a formula, or a value such as the current user.
If the custom action asks for Parameters, give each one a value; one you leave empty is passed empty. Each target record is handled separately, and finding no target is not an error — the action simply does nothing. A UI action cannot be called this way; it only runs from a button.
Do several things in order: chain reactions
Section titled “Do several things in order: chain reactions”Because each reaction does one thing, a sequence is built from several reactions:
- Add the first reaction as usual — for example Create the contract record.
- Add a second reaction with the event Reaction Succeeded (or Reaction Failed, to handle a failure), and choose the entity and the first reaction it follows. It can use what the first reaction produced.
- Set its Execution Spaces to Triggering Space.
Announce Event is the other way to connect reactions: one reaction announces, and any number of On Event Announced reactions respond — even on other entities.
Good to know:
- The follow-up reaction must exist, and be active, before the first one runs. It can use the first reaction’s data only for about ten minutes after that run.
- A follow-up reaction may occasionally run twice for one run of the first reaction (for example after a server restart). Design it so a second run does no harm — check whether the record it would create already exists.
- Reaction Failed runs only when every action of the first reaction failed. If at least one action succeeded, Reaction Succeeded runs instead. Recipe: Handle a failed automation.
Where it runs and who it acts as
Section titled “Where it runs and who it acts as”Execution Spaces — for organizations with several spaces, where the reaction runs: Root Space, Triggering Space (where the event happened), Root Space and Triggering Space, All Spaces Except Root, or All Spaces. A chained reaction should always use Triggering Space. See Design an app for several branches.
Event Executor Type — whose authority the action uses: System (the platform’s own system user, with full rights), Manager, or Executor (the person whose action set it off).
Protected (sensitive) fields Since 1.10
Section titled “Protected (sensitive) fields Since 1.10”If the entity has a sensitive field, the dialog shows a Sensitive Data Access Policy. It decides what the reaction’s action sees of those fields:
| Policy | What the reaction sees |
|---|---|
| Privileged | Always the real value. This is the behaviour when nothing is chosen. |
| Prohibited | Always the mask (****). The action still runs; it just never sees the value. |
| User-Based | What the person who set it off is allowed to see. |
| Auto | Privileged when the system sets it off (a timer, an overdue step), User-Based when a person does. |
User-Based cannot be chosen when nothing personal sets the reaction off — a System executor, a Timer or On Time Exceeded. Choose Auto there. Under a masking policy, an action that would write a mask over a real value, or send one out by email or Call API, fails instead.
Good to know
Section titled “Good to know”- Loops are stopped. A reaction that updates a record can set off another reaction — or itself. To stop endless loops, each action runs only once per chain of events. Raise Loop Threshold (it appears once the reaction has a filter) only if a reaction really must run again within the same chain, and make sure its filter eventually stops matching.
- No order between records. When one action updates many records, they may be finished in any order. The order between reactions in a chain is kept.
- A restart can cut a run short. If the platform restarts mid-run, what already happened is recorded, but the remaining work is not redone. Design follow-up reactions to cope with an earlier one not having happened.
- A reaction only touches its own entity’s records
Since 1.8. Records of another entity — for example through a reference field that accepts several entities — are skipped. - Fixed files in a reaction
Since 1.10, such as an email attachment you uploaded, are kept for as long as the reaction exists. If the upload expired before you saved, upload it again. - Secrets stay out of the run
history
Since 1.6. Values from sensitive fields, values you marked Redact in history, and anything that looks like a password or access key are masked in the history. The action itself still gets the real value.
Check that it ran
Section titled “Check that it ran”A failed reaction does not show an error to the person who set it off, so check here:
- On the Reactions tab
Since 1.10, each reaction shows how many runs succeeded and how many failed since it was last changed. System administrators can open either number to list the runs. - Reaction Logs
Since 1.10— system administrators see every run in Administration › Monitoring › Reaction Logs, with each action’s input, output and error. See Reaction Logs. - On the record — a view can show reaction runs in a record’s history. In the view’s Entry history settings, turn on Reaction history (and Reaction history details to include each action’s input, output and error). Both are off by default.
| Problem | What to check |
|---|---|
| The reaction never runs when a record is approved | You used On Entry Updated. Use On Workflow Action Executed or On Workflow Step Reached — see Choose the event. |
| It runs for some records but not others | The filter does not match those records. A run skipped by the filter is not logged at all. |
| It ran once but not the second time in the same chain | The loop protection skipped it — see Loop Threshold above. |
| A follow-up reaction never runs | Check it names the right entity and reaction, is active, and uses Triggering Space; and that the first reaction actually succeeded. |
| An action fails with a path error | A Field value points to a field that does not exist in the record that set it off. Pick the field again. |
| You cannot save a reaction | Check you have Developer access on the entity, that a permission action grants no more than your own access, and that required settings of the action are filled in. |
Worked example: on approval, email the requester and update the asset
Section titled “Worked example: on approval, email the requester and update the asset”An Asset Request has a reference field Asset and a workflow whose IT approval step has the action Approve. When IT approves, the requester should get an email and the asset should be marked Assigned.
Reaction 1 — email the requester.
- On the Asset Request entity, open Reactions, stay on New Reaction, and select +.
- Name: Email requester on approval.
- Event: On Workflow Action Executed; choose the IT approval step and its Approve action.
- Action Type: Send Email. To: the record’s Requester field. Choose your Request approved template, and turn on ADD Entry Link so the email links back to the request.
- Confirm the dialog.
Reaction 2 — mark the asset as assigned.
- Select + again. Name: Mark asset assigned on approval.
- Event: the same — On Workflow Action Executed, IT approval, Approve.
- Action Type: Update Data Entry. Choose update mode: Reference, then the Asset field.
- Set Status to Manual Assigned, and Assigned to to Field Requester.
- Confirm the dialog.
Test it. Submit a request as a test user, approve it as the IT owner, then check the inbox and the asset record. If either did not happen, open the reaction’s counters or Reaction Logs.
If the asset must be updated only after the email went out, give Reaction 2 the event Reaction Succeeded pointing at Reaction 1 instead — see Chain reactions.
Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27