Automating repetitive workflow steps
Accupe has two different automation surfaces that happen to share the same on-screen name, "Automations (Flow)". They do genuinely different things, so it's worth knowing which one you're looking at.
Two pages, same name
This article covers the rules engine first, since that's the one linked from Settings, then the older preset page.
Building an automation rule
Open Settings, then under Configuration click "Automations (Flow)". This is headed "Automations" with a "New" badge and the description: "Wire firm triggers (job status, KYC expiry, new client, document upload, deadlines) to actions (email, task, Slack, workflow job, notification)." You need the manage automations permission. By default only the firm owner and admins have this, managers and other staff see "Access Restricted" unless an admin grants them the permission individually from Settings, Team & Roles.
To create a rule:
- Click "New automation".
- Give it a Name, for example "Alert manager when a KYC document expires".
- Choose a trigger under "When".
- Choose an action under "Do".
- Optionally expand "Advanced: trigger filter (JSON)" to narrow which events matching that trigger actually fire the rule, leave it as an empty object to match every event of that type.
- Fill in "Action config (JSON)" for the action you chose, using double-curly placeholders such as client_name to pull values from the event that fired the rule.
- Click "Create automation".
Available triggers
"AML screening result" used to be on this list. It is no longer offered, because Accupe does not run sanctions or PEP screening and nothing can emit that event. If your firm saved a rule on it before the change, the rule still appears in the list labelled "AML screening result (retired)" with the note "Retired. Accupe does not run sanctions or PEP screening, so this trigger can never fire." It is shown that way deliberately rather than being silently relabelled as something else. Point it at a live trigger or delete it.
Available actions
Managing your rules
Each rule appears as a card showing its name, an Enabled or Disabled pill, its trigger and action, and, once it has fired at least once, when it last fired and a running fire count. If a run errors, the card shows a red "Last run error" banner with the message.
From a rule's card you can:
- Open its run history to see every past run, whether it succeeded or failed, and the payload that triggered it
- Toggle it on or off
- Delete it, after confirming "Delete '{rule name}'? The rule and its run history are permanently removed. Cannot be undone."
Rules that fire from a background trigger update their card automatically, you don't need to refresh the page to see a new "Last fired" time or run history entry appear.
The legacy preset page
This older page isn't linked from the Settings menu. You'll only land here via the command palette's "Run automations now" action, or by typing its URL directly. It's headed "Automations (Flow)" too, with the description "Save time by automating repetitive tasks, reminders, and compliance workflows," but instead of rules you build yourself, it lists four fixed presets:
Only admins can flip these toggles, other roles see "Only admins can change automations. Contact a firm admin to update these settings." and the switches are disabled. The four presets have fixed trigger conditions that can't be edited, so the gear button on each row takes you to the rules engine instead, where you can build an equivalent rule with your own trigger and action. A "Run now" button at the top runs all active presets immediately and shows a "Last run" summary underneath.
Note: If you want configurable, auditable automation with proper run history, use the rules engine at Settings, Automations (Flow), that's the actively developed surface. The preset page's four toggles are the older, fixed mechanism.