Skip to content

This how-to is for builders whose automations talk to the outside world or do things that can fail: send an order to the ERP, email a supplier, grant access. A failed reaction shows no error to the person who set it off, so unless you plan for it, nobody notices.

You will make a failure visible on the record, tell someone, and retry on a schedule. The example sends each new order to an ERP with Call API. See Send a record to another system.

You need:

  • Developer access on the module, to add fields and reactions.
  • The basics of reactions. See Reactions & automation.
  • Each action succeeds or fails on its own. A Call API that gets an error answer, or no answer within its time limit, fails. The other actions of the reaction still run.
  • Failed actions are not retried. Each action is tried once.
  • Reaction Failed Since 1.8 runs only when every action of the watched reaction failed. If at least one succeeded, Reaction Succeeded runs instead.
  • The counters on the Reactions tab, and the Failed status in Reaction Logs, count a run as failed when any action failed.

So a reaction that you want to watch for failure should do one risky thing. Put the Call API in a reaction of its own, and the notifications that go with it in follow-ups.

The Orders entity gets a Sync status choice field with the options Pending, Sent and Failed. New orders start as Pending.

flowchart LR
  A["Order created"] --> B["Send to ERP<br/>(Call API)"]
  B -->|"Reaction Succeeded"| C["Sync status = Sent"]
  B -->|"Reaction Failed"| D["Sync status = Failed<br/>+ notify the team"]
  E["Every hour<br/>(Timer)"] -->|"Sync status = Failed"| B2["Send to ERP again"]
  B2 -->|"Reaction Succeeded"| C
  1. On Orders, add a reaction Send to ERP with the event On Entry Created.
  2. Give it one action: Call API, set up as in Send a record to another system.
  3. Save.
  1. Add a reaction with the event Reaction Succeeded.
  2. In Choose Entity, choose Orders; in Choose Trigger, choose Send to ERP.
  3. Keep Execution Spaces at Triggering Space.
  4. Add Update Data Entry on Self: Sync status = Sent.
  5. Save.
  1. Add a reaction with the event Reaction Failed, for Orders and Send to ERP.
  2. Add Update Data Entry on Self: Sync status = Failed.
  3. Add Send Notification to the integration team, for example Order {{no}} could not be sent to the ERP. See Insert record values into messages.
  4. Save.

The follow-up runs on the same order. It must exist, and be active, before the first reaction runs, and it can use that run’s data only for about ten minutes.

  1. Add a reaction Retry ERP with the event Timer, Repeat, and the Cron Expression 0 * * * * (every hour). See Run an automation on a schedule.
  2. Add the filter Sync status = Failed.
  3. Give it the same Call API action.
  4. Add a Reaction Succeeded follow-up for Retry ERP that sets Sync status to Sent, as in Step 2.

Do not add a Reaction Failed follow-up for Retry ERP that notifies people, or they are told again every hour. The order simply stays Failed and is tried again at the next run.

  • On the Reactions tab Since 1.10, each reaction shows two counts since it was last changed: successful runs and failures. System administrators can open either count to list the runs, and go on to Reaction Logs.
  • Reaction Logs Since 1.10 — in Administration › Monitoring › Reaction Logs, system administrators filter by reaction, event, action, Status (Succeeded, Failed or No actions) and period, and open a run to see each action’s input, output and error. For a failed Call API, the answer the other system sent is kept. Runs that the filter skipped are not logged.
  • On the record — in the view’s Entry history settings, turn on Reaction history, and Reaction history details to show each action’s input, output and error. See Check that it ran.

A failed run cannot be re-run from the logs. Fix the cause, then let the retry reaction, or a change to the record, run it again.

  • A follow-up may now and then run twice for one run of the first reaction, for example after a server restart. Make it harmless: setting a status twice is fine; creating a record twice is not, so check first that it does not exist.
  • A retry sends the record again. If the other system cannot tell a repeat from a new order, send your own unique key, such as the order number, and let it ignore repeats.
ProblemWhat to check
Reaction Failed never runs, but the logs show FailedOne of the reaction’s actions succeeded. Keep the risky action in a reaction of its own.
The follow-up never runsIt was added or turned on after the first run, it names another entity or reaction, or its Execution Spaces is not Triggering Space.
People are notified every hourThe retry reaction has a Reaction Failed follow-up that notifies. Remove it.
The retry never picks up an orderThe filter does not match: check Sync status. Archived orders are never included in a scheduled run.
You cannot open the counts or Reaction LogsBoth are for system administrators.

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