Agent setup guide
Motive Fault Code Triage
Each new engine fault code in Motive is posted to maintenance with Motive's description, a plain-words explanation and whether your rules say stop now or schedule it.
What it does
Each new engine fault code in Motive is posted to maintenance with Motive's description, a plain-words explanation and whether your rules say stop now or schedule it.
- Starts on each new open engine fault code Motive reports.
- AI explains Motive's fault description in plain words and sorts it by your rules, without diagnosing.
- Posts the code, label, description and first-seen time from Motive with the triage to your Slack channel.
What it needs
- A paid plan (agents run live on paid plans).
- An AI provider key (Settings → AI Providers).
- Motive (an API key with fault_codes.read) and Slack, connected in Settings → Integrations.
What it doesn't do
- It doesn't diagnose causes, order parts or book the repair.
- It doesn't clear codes or change anything in Motive.
- Codes Motive reports more than 2 days late aren't picked up.
Availability and plans
Available
Its workflow is built and tested, and every app it needs is live. You can get it and set it up now.
Included free on the Enterprise plan; on other paid plans it's a one-time purchase per workspace (the price is on the Agents page). The Agents page in the app always shows its current status.
Before you start
- A paid plan: agents run live, and the Free plan only runs Dry Runs.
- An AI provider key (OpenAI, Anthropic, Google and more) in Settings → AI Providers. AI usage is billed by your provider.
- These apps, connected in Settings → Integrations: Motive and Slack.
- The app it watches, connected in Settings → Integrations (the agent starts from an app event).
- About 8 minutes.
Set it up step by step
Get the agent first (buy it, or it's already yours when your plan includes it), then in Agents → My agents press “Set up this agent”. That creates the agent's workflow in your workspace (it counts towards your plan's workflow limit) and opens the canvas with a setup checklist above it. Each item links to the exact place to go and ticks itself off when it's done.
1. Connect your AI provider
The AI steps run on your own key (OpenAI, Anthropic, Google and more). Add one in Settings → AI Providers.
2. Connect Motive
Connect Motive with your own API key from Admin → Developers → API Access (Settings → Integrations → Motive lists the scopes).
3. Connect Slack
Connect the Slack workspace for the alerts (Settings → Integrations → Slack).
4. Pick the Motive account
Open the trigger and pick your Motive connection.
| Setting | What to enter | In step |
|---|---|---|
| Motive account | Your Motive connection. Pick your connected Motive account. | “New fault code in Motive” |
5. Describe your rules
Open “Triage the fault” and replace the placeholder.
| Setting | What to enter | In step |
|---|---|---|
| Your fault rules | Replace the placeholder with your shop, which kinds of faults mean stop now and which can wait, and who decides. It starts as “[YOUR FLEET, YOUR SHOP OR VENDOR, WHICH KINDS OF FAULTS MEAN STOP NOW FOR YOU, WHICH CAN WAIT FOR THE NEXT SERVICE, AND WHO DECIDES]” until you replace it. | “Triage the fault” |
6. Pick the Slack channel
Open “Alert maintenance” and pick the workspace and channel.
| Setting | What to enter | In step |
|---|---|---|
| Slack account | The Slack workspace for the alerts. Pick your connected Slack account. | “Alert maintenance” |
| Slack channel | Where maintenance sees alerts, e.g. #maintenance. | “Alert maintenance” |
7. Test it with Dry Run
Press Dry Run: the agent runs on sample data with no messages sent and nothing written to your apps.
8. Switch the trigger on
Open the trigger and click “Activate app trigger”: Motive is checked every 15 minutes or more.
How it works
The agent is a normal workflow with 4 steps (1 AI step). You can open, edit and monitor it like any other workflow.
- New fault code in Motive — Starts on “New fault code” in Motive (an app event). Starts a run for each new open engine fault code (Motive checked every 15 minutes or more).
- Triage the fault — AI step (runs on your AI provider key). AI explains Motive's fault description in plain words and sorts it by your rules. It doesn't diagnose: your mechanic decides.
- Alert maintenance — Slack: Post a message. Posts Motive's fault details and the AI triage to your maintenance channel.
- Alert posted — Kept in the run history. The run history keeps every alert.
Test it with Dry Run
Press Dry Run in the canvas. The agent runs on the sample data stored on its trigger (the “Sample data for Dry Run” box), so you can check every step's output before anything is live. The sample has the same shape as a real event from the app.
Sample data fields
id, code, label, description, status, type, source, first_observed_at, vehicle_id, vehicle_number.
- Nothing is sent or written: app actions, emails and Slack posts are simulated, and AI steps don't call your AI provider.
Go live
- Open the trigger and click “Activate app trigger”: Motive is checked every 15 minutes or more.
- Activating the app trigger needs the trigger's connected account. The first check only remembers what's already there, so older items don't start runs; the same item never starts two runs.
- The setup checklist adds a “paid plan” item before activation: live runs need a paid plan (the Free plan only runs Dry Runs).
- When every checklist item is done and the trigger is on, the checklist says “Live — this agent is running”. Follow its runs in the workflow's History tab and in Analytics → Agents.
Questions
Does it diagnose the truck?
No. It explains Motive's description in plain words and sorts it by your rules; your mechanic decides what to do.
Which Motive scope?
fault_codes.read on your Motive API key.
Will it repeat for the same fault?
Once per fault code record Motive reports; a code that clears and comes back is a new record.
Troubleshooting
- “No AI provider connected” or a rejected key: connect or fix the key in Settings → AI Providers, then press Test there.
- A checklist item stays unticked: the setting is still empty or still contains its placeholder text. Open the step from the checklist and fill it in.
- An app step fails with “Needs reconnect”: the account's access was revoked or expired. Reconnect it in Settings → Integrations.
- Slack says the app isn't in the channel: in Slack, type /invite @Fluxo Flow in that channel (always needed for private channels).
- No runs start: activate the app trigger with a connected account. Only items created after activation start runs.
- A step failed: open the run in History and check that step in the Trace tab for the error and what it received.
Generated from the agent's own workflow, so it always matches what the agent does. Last updated .