- When it runs: its trigger, such as a schedule or a document arriving.
- Steps: what it does, in order. An AI step works something out; other steps ask a person, check a condition or wait.
- Uses: the data areas and connected apps it may read, and where it may propose changes.
Available when the Automations module is turned on for your workspace. Ask your workspace admin.
Who can do what
Two separate permissions control automations:
So a finance lead can review findings without being able to change the automation, and an operator can build automations without seeing results outside their own access. See Roles and permissions.
Owner and who can see it
Every automation has an Owner. A run acts as its owner: it can only read what the owner’s role can read, and only within the areas the automation’s Uses allow. The owner also approves what the automation proposes and answers its questions, and a workspace admin can always step in. Under More settings, Who can see it is either the owner and workspace admins (the default; the automation shows a Private tag) or Everyone in the workspace. A private automation, its runs and its Inbox items are invisible to everyone else.Find your automations
Click Automations in the sidebar. The list on the left groups automations as Waiting for you, On and Off, with a search box and New automation. Pick one to open it on the right, with two tabs: Runs (what it did) and Steps (what it does).Create an automation
1
Start a new one
Click New automation. Describe what it should do in the box, for example “When a freight invoice arrives, check it against the rate sheet and propose the deduction”, and click Draft. Mercora drafts the trigger, steps and access for you to check. Or click Start empty to build it yourself.
2
Choose when it runs
Under When it runs, pick a trigger and set its details. See Triggers.
3
Check the steps
Each step reads as a sentence. Click one to open it, use Move up or Move down to reorder, or Add a step. See Steps.
4
Set what it can use
For each data area, choose No access, Read or Propose changes. An area the owner can’t see is disabled with the reason. A drafted automation never gets Propose changes on its own: it is shown as “Suggested: Propose changes” for you to accept.
5
Test it
Click Test. The automation runs on real data, but nothing is sent or saved. See Test before you switch on.
6
Save and switch on
Click Save, then switch it on. If you haven’t tested these exact steps, Mercora asks first, with Test first or Switch on anyway.
Triggers
Document and message triggers only count what arrives after the automation is switched on.
Calling an automation from your own systems
With When another system calls, save the automation once to get its address, shown asPOST /api/v1/agents/<id>/run with a Copy button. Your system calls it with a workspace API key that has the automations scope. The run works in Mercora, and anything it would change still waits for a person there. If a step waits for your system, your system answers through the run’s callback. See the API reference and API keys.
Email, Teams and WhatsApp triggers
A message goes to one place only, so a recap is never captured twice:- Email. Only an admin can save an email trigger. An email that matches its filters goes to the automation instead of to Deal Capture or vessel nominations. Emails from registered freight carriers stay with Freight Rates. With no filter at all, every email that isn’t from a carrier goes to the automation. If no run could start, the email carries on to Deal Capture as usual.
- Teams. An admin sets a channel or group chat to Automations under Settings → Integrations → Microsoft 365, in Chats and channels. A channel set to Automations no longer goes to Deal Capture. See Microsoft 365.
- WhatsApp. An admin switches a group on under Groups for automations in Settings → Integrations → WhatsApp. Hedge groups are never offered. See WhatsApp.
Steps
Click Add a step to see what you can add. Steps your role or workspace can’t use are shown with the reason.
App actions are available only once an admin has connected the app and switched those actions on under Settings → Integrations. Every app action starts off. See Integrations.
Test before you switch on
Test runs the automation’s steps on real data, as you, within the areas the automation may use. For a document trigger you pick a recent document to try it on, such as Veltana’s B/L RCLLCH2607841; for an API trigger you pick a recent call or paste a body; for a message trigger you pick a recent message or type one. During a test:- Reads are real.
- Any change the automation proposes is held and shown as the card the approver would see. It is never made.
- An Ask someone to approve step counts as approved, and is marked so.
- A question is shown unanswered.
Runs and results
The Runs tab lists the newest runs, most telling first:- A waiting run shows what it waits for first, such as the approval card, with the steps folded into one line.
- A finished run shows its answer, each step on one line, and any calculation it made. Continue in Copilot opens the result in a chat, Rerun runs it again on the same input with an optional note for the AI, and Save as PDF prints the answer.
- A failed run leads with the step that failed and why.
What reaches the Inbox
An automation files its work in the Inbox, under Needs you:- A finding it reported, or an Automation failed card.
- Each change it proposes, with an Approve chip.
- Each question it asks, with an Answer chip.
Approve what an automation proposes
Each proposed change is one Inbox item. The card shows the change, the record it touches, why the automation suggested it, and the evidence it used, such as its calculations and the source document.- Approve makes exactly that change. For anything that leaves Mercora, the button reads Approve and send (a message) or Approve and run (another action outside Mercora).
- Edit lets you change the values, then Save and approve.
- Reject makes no change. You can add a reason.
Approve from your phone
If you switched on WhatsApp under Settings → Notifications and linked your number, approvals and questions waiting for you are also sent to your WhatsApp, each with a number. Reply with:
Your reply is recorded exactly like a click in the Inbox. A number you weren’t sent decides nothing. This needs your workspace’s WhatsApp to be set up and sending turned on. See WhatsApp.
Switch off or archive
From the ⋯ menu, Switch off stops new runs, and Archive removes the automation from the list. Its runs and decisions stay. If the Automations module is turned off, no new runs start, and existing results stay available to people who may see them.Each workspace has a daily limit on automation runs. Runs, tests and API calls beyond it are refused until the next day.
Next steps
The Inbox
Where automation findings, approvals and questions wait for you.
Integrations
Allow the app actions an automation’s steps can use.
Copilot
Draft an automation from a chat with Make this an automation.