Agent setup guide
ServiceM8 Tomorrow's Bookings Brief
Every afternoon, tomorrow's ServiceM8 bookings per staff member, counted in code, with the gaps to sort out today.
What it does
Every afternoon, tomorrow's ServiceM8 bookings per staff member, counted in code, with the gaps to sort out today.
- Every afternoon, reads tomorrow's scheduled ServiceM8 bookings in your time zone, with staff names and job details.
- Counts them per staff member in code.
- AI lays out each person's day and flags what to sort out today; the brief is emailed to you.
- Dates are worked out in code, never by the AI: days until or since each date, the window and business days are computed in your workflow's time zone, and records outside the window are skipped before the AI sees them.
What it needs
- A paid plan (agents run live on paid plans).
- An AI provider key (Settings → AI Providers).
- ServiceM8, connected with a full-access API key (Settings → API Keys).
What it doesn't do
- It never changes, assigns or moves bookings.
- Job details are read for up to 40 jobs a day.
- It doesn't plan routes or travel times.
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: ServiceM8.
- Nothing to send: the agent runs on a schedule.
- About 5 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 ServiceM8
Connect ServiceM8 with an API key (Settings → Integrations → ServiceM8).
3. Pick ServiceM8 and your time zone
Open “Read tomorrow's bookings”, pick your ServiceM8 connection and set your time zone.
| Setting | What to enter | In step |
|---|---|---|
| ServiceM8 account | The ServiceM8 connection whose bookings are read. Pick your connected ServiceM8 account. | “Read tomorrow's bookings” |
| Your time zone | Decides what “tomorrow” means, e.g. Australia/Sydney. | “Read tomorrow's bookings” |
4. What to flag
Open “Write the brief” and replace the placeholder.
| Setting | What to enter | In step |
|---|---|---|
| What to flag | Replace the placeholder with your business, who reads the brief and what to flag. It starts as “[YOUR BUSINESS, WHO READS THIS BRIEF AND WHAT TO FLAG FOR TOMORROW (E.G. UNASSIGNED JOBS, JOBS WITHOUT AN ADDRESS, BACK-TO-BACK JOBS FAR APART, PARTS TO PICK UP)]” until you replace it. | “Write the brief” |
5. Where to send it
Open “Email the brief” and enter the email address.
| Setting | What to enter | In step |
|---|---|---|
| Send the brief to | You or the office. Replace the example address. It starts as “office@your-business.example” until you replace it. | “Email the brief” |
6. Test it with Dry Run
Press Dry Run: the agent runs on sample data with no messages sent and nothing written to your apps.
7. Switch the trigger on
Open the trigger, set the same time zone and switch the schedule on. It runs every day at 16:00.
How it works
The agent is a normal workflow with 8 steps (1 AI step). You can open, edit and monitor it like any other workflow.
- Every day at 16:00 — Runs on a schedule (cron 0 16 * * *, UTC — change it in the trigger's settings). Runs every afternoon for the next day. Set your time zone on the trigger.
- Read tomorrow's bookings — ServiceM8: List bookings. Reads tomorrow's scheduled ServiceM8 bookings (in your time zone), earliest first, with the staff member and the job's number, address and description.
- Any bookings tomorrow? — Decision: picks the branch to follow. No bookings tomorrow: the run ends quietly.
- No bookings tomorrow — Kept in the run history. Branch: None. Nothing to brief.
- Count per staff member — Step. Branch: Bookings. In code, not AI: tomorrow's bookings per staff member.
- Write the brief — AI step (runs on your AI provider key). AI lays out tomorrow per staff member and flags what the office should sort out today, without typing counts.
- Email the brief — Sends an email from your workspace's sender. Emails the counted lines and the brief to the office.
- Brief sent — Kept in the run history. The run history keeps every brief.
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.
- 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, set the same time zone and switch the schedule on. It runs every day at 16:00.
- Scheduled runs start only once the schedule is activated, and can't repeat faster than your plan's minimum interval.
- 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
Can the AI miscount the bookings?
No. Bookings per staff member are counted in code; the AI only writes the words.
Does it change the dispatch board?
No. It only reads bookings and jobs and emails the brief.
Which bookings are included?
Scheduled bookings (not recorded time) starting tomorrow in your time zone; job details for up to 40 jobs.
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.
- It didn't run at the expected time: the schedule must be activated, and its time is in the trigger's timezone.
- 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 .