← All recipesRecipe · November 2026

Customers you haven't seen in a year, from ServiceM8, with Grok Bot or Claude

Once a month your AI lists the customers whose last job was more than a year ago, biggest spenders first, with a short draft for each one who agreed to hear from you. You decide who gets it, and you send it.

8 min read·Published by AI Pathway

Plenty of work is sitting in ServiceM8 as customers who had you out once or twice and haven’t been back. Nobody goes looking, because finding them means opening years of old jobs. Grok Bot and Claude can read those jobs through ServiceM8’s own connector and build the list for you each month. Who hears from you, and what they hear, stays with you.

In short

What you get
On the first Monday of the month, up to 20 lapsed customers, biggest spenders first, with a draft message for each one who agreed to hear from you.
Connecting
ServiceM8's own connector reads your finished jobs, with no API key to copy. An AI Pathway key, free for 14 days and then $19 a month per business, flags anyone who still owes you in Xero.
You decide
Who is contacted, what is offered, and when. You send every message, from your own phone or email.
Never
The bot never messages a customer, never changes a job, and never lists anyone who asked you to stop.

Take the spec to Claude, ChatGPT or Copilot. The sentence to paste is one click away.

Want the whole thing by email?

This paper, plus the rest of the library. One click to stop them.

Who you haven't seen in a year

A customer is lapsed when their last finished job in ServiceM8 was more than 12 months ago. The bot reads three years of finished jobs, so it can tell a one-off from a regular who stopped calling. Every lapsed customer lands on one list:

  • Ready. They agreed to hear from you. Ranked by what they have spent with you, with a short draft that names their last job.
  • No consent on file. Lapsed, but nothing says they agreed to marketing. Listed for you, with no draft.
  • Owes you. They still have an overdue invoice in Xero. That is a different conversation.
  • Check. Their job notes mention a complaint, a dispute or a request to be left alone. Yours to decide.
  • Fix. No mobile and no email, or a job with no completed date.

You keep three short files beside the list:

  • contact-ok.csv. Who agreed to hear from you, by SMS or email, and when and how they agreed.
  • stop.csv. Who asked you to stop. They never come back on the list.
  • contacted.csv. Who you sent to, and when, so nobody hears from you twice in 90 days.

This is the light version, built for a bot. The full Database Reactivation standard is the version a business runs at scale: separate plays with a reason for each, a ranking you can explain, how often to come back, and the checks that sit under every contact.

Connect ServiceM8 so your AI reads your jobs but never messages a customer

It finds the customers you haven’t seen in a year, with a draft for each one who agreed to hear from you. It reads your finished jobs through ServiceM8’s own connector, and who owes you in Xero, so nobody who still owes you gets a friendly hello. You decide who is contacted and what is offered, and you send every message. Your own login stays yours: neither bot ever gets your ServiceM8 password.

What each piece of access is for

  • ServiceM8’s connector: searches your clients and lists their jobs, dates and notes, so your AI can work out who is lapsed and what their last job was. It can also send job-linked email and SMS, change a job’s status and add notes, which is why the prompt forbids all three.
  • The AI Pathway key: reads who has overdue invoices in Xero, so those customers go on their own list. It is optional. Without it, the Owes you list stays empty. Free for 14 days, then Bot Starter at $19 a month per business.
  1. Go to connect.aipathway.com.au, sign in with Xero and pick your organisation. No developer setup.
  2. For Grok Bot, your key is made and shown with the MCP address. Treat the key like a password. If it ever leaks, delete it and make a new one. Claude and ChatGPT sign in with Xero instead, with no key to copy.
  3. Add ServiceM8’s connector, and the AI Pathway connector if you want the Owes you list, where you build it, under Build it below.
  4. Ask your AI how many jobs were completed last month. It should match ServiceM8’s own count. If it does, you are connected.

On Simpro, AroFlo or Fergus? The rules are the same and only the read changes. Start from a client and job export, or take the standard to whoever builds for you.

Build it

Pick where you want to build it. Grok Bot, Claude and ChatGPT take a prompt; Microsoft 365 and Google Workspace run the same steps as a flow or a script. Each step can run somewhere different, and the steps stay the same wherever they run.

Build this in

Every step runs here. To run a step somewhere else, change it on that step below.

Connect, once

Grok Bot

  1. Click + beside Bots and name it “Lapsed Customers”. In Edit Profile, put the standing rules in the description: read only, never send email or SMS, never change a job, ask before any action.
  2. Sign in to your ServiceM8 dashboard in another tab, then paste the message below into the Bot's chat and click Add it. Click Authorize on the card, sign in to ServiceM8 and allow access. Connected apps are account-wide in Grok Bot, so keep the rules in each Bot's profile.
  3. Optional, for the Owes you list: get your key at connect.aipathway.com.au, then ask the Bot to "add a custom MCP server called AI Pathway at https://connect.aipathway.com.au/api/mcp, with an Authorization header: the word Bearer, a space, then my AI Pathway key. Ask me for the key with a secure secret card." Enter the key in the card, never in the chat.
Add a custom MCP server called ServiceM8 at https://api.servicem8.com/mcp

It signs in with OAuth, so give me the Authorize card.

The steps

  1. Step 1 · Grok Bot

    List the customers you haven't seen in a year

    Reads three years of finished jobs, finds everyone whose last job was more than 12 months ago, sorts them into Ready, No consent on file, Owes you, Check and Fix, and drafts a message for each Ready customer.

    Reads
    ServiceM8: clients, jobs, dates and notes, by client ID; your three files; and, if connected, who is overdue in Xero
    Writes
    A dated list, lapsed-YYYY-MM-DD, with a draft for each Ready row
    Never
    Send email or SMS, change, create or schedule a job, or add notes

    In Grok Bot

    Paste the prompt into the Bot's chat.

    Only run on the first Monday of the month. On any other Monday, stop and say so.
    
    Use the ServiceM8 connector, read only. Do not send any email or SMS, do not change any job's status, do not create or schedule a job, do not send a job to a queue, and do not add notes.
    
    1. In ServiceM8, list every job completed in the last 3 years and group them by client. For each client collect: the ServiceM8 client ID, the client's name, mobile and email, the date and description of their last completed job, how many jobs they have had, and the total of those jobs.
    
    2. A client is lapsed when their last completed job was more than 12 months ago. Leave out, and count:
    - anyone on stop.csv (they asked not to hear from us, about anything, ever)
    - anyone with a job in Quote or Work Order status. They are already in the works.
    - anyone on contacted.csv in the last 90 days
    
    3. If the notes on a lapsed client's jobs show a complaint, a dispute, or a request not to be contacted, put them on the Check list with the note, for me to decide.
    
    4. If the AI Pathway tools are connected, call list_overdue. A lapsed client who still has an overdue invoice in Xero goes on the Owes you list with the amount overdue, not on the lists below. Match on the client's name, and if a match is not certain, say so rather than guessing.
    
    5. Put every other lapsed client on one list:
    - Ready: on contact-ok.csv, which says they agreed to hear from us and whether by SMS or email.
    - No consent on file: not on contact-ok.csv. List them for me, with no draft.
    - Fix: no mobile and no email, or no completed date on their last job.
    
    6. Rank Ready and No consent on file by the total of their past jobs, largest first, with the longest time since their last job breaking ties. Keep each list to 20 rows.
    
    7. For each Ready row, draft one short message for the channel in contact-ok.csv. Name the last job and the month it was done, using only what ServiceM8 records. Offer nothing and promise nothing: no price, no discount, no date. Sign off with my business name and say how to opt out. Do not send it.
    
    Save the lists as lapsed-YYYY-MM-DD.csv, with a column saying which list each row is on. Show me Ready as a table with its drafts, then No consent on file, then Owes you, Check and Fix as short lists, then how many were left out and why.

    Schedule: When the result looks right, ask it to "save this as a skill called lapsed customers, and create a routine that runs it every Monday at 9am Brisbane time."

  2. Step 2 · You

    Send the drafts yourself

    Who hears from you, and what they hear, is yours. Work through it once a month.

    • Read each Ready draft, add any offer you want to make, and send it from your own phone or email. Then add a line to contacted.csv.
    • Anyone who replies asking you to stop goes on stop.csv the same day. The bot reads it every run, and they never come back on the list.
    • A yes is yours. Book the job in ServiceM8 the way you already do, and next month's list drops them.
    • The Owes you list goes to whoever chases your debtors.
Did you know?

Let Claude Code set this up in Grok Bot for you

Paste the message below into Claude Code and it drives the Grok Bot app for you: it reads this page, saves the prompt as a skill, adds the routine and tests it before you rely on it. No clicking through the app.

Paste into Claude Code

Set up this Grok Bot recipe for me: https://aipathway.com.au/explore-ai/lapsed-customers-servicem8-grok-bot-claude Read the page, then follow https://aipathway.com.au/explore-ai/grok-bot-claude-code to drive my Grok Bot desktop app: open it with the debugging port on, save the prompt as a skill called "lapsed customers", create a routine that runs it every Monday at 9am Brisbane time, and test that it drafts and never sends. Never take a password or key in chat. Close the port when you're done.

Claude Code opens Grok Bot with its debugging port on for the run, and you close it after. It isn’t an official xAI feature, so an app update can break it. How it works, and how we set up 153 bots this way
Compare where it can run
Where it runsWhat you need
Grok BotOn its own cloud computer, laptop closedA plan that includes Grok Bot, plus the AI Pathway key
ClaudeOn Anthropic's side, computer asleep or app closedA paid Claude plan for scheduled tasks, plus the AI Pathway connector
ChatGPTOn OpenAI's sideChatGPT Business or Enterprise, plus the AI Pathway connector
Microsoft 365In your own tenant, on an account the business ownsYour Microsoft 365 plan; calling the connector from a flow needs a premium Power Automate licence
Google WorkspaceIn your own Workspace, on an account the business ownsYour Google Workspace plan, plus the AI Pathway key

Check the first run by hand on three customers you know have not been back. Each should be on the right list, with the right last job. Without the AI Pathway connector, step 4 of the prompt is skipped and the rest runs the same. It runs every Monday and stops on all but the first, because Claude’s scheduled tasks have no monthly option. A Claude task with a folder runs while your computer is awake and the Claude desktop app is open.

Why the bot stops at the list

The bot stops at the list. A message to a past customer is marketing, and you are the one who knows who agreed to it, what you can offer this month, and whether now is a good time.

Why some customers get no draft. The Australian Communications and Media Authority says you need consent to send marketing by email or SMS, and that it is up to you to prove it. Its guidance on avoiding spam says consent can be inferred usually when someone has a provable, ongoing relationship with your business, and that a past purchase on its own does not cover it. It also says you cannot send a message to ask for consent. So the No consent on file list is for you to decide: ask them next time you are in touch, or leave them.

When a customer agrees, add them to contact-ok.csv with who agreed, when and how. ACMA asks you to keep exactly that record. The ServiceM8 quote list is the same pattern for open quotes.

Questions

Can Grok Bot or Claude find customers I haven't seen in a year?

Yes. Connect ServiceM8 through its own connector, and one prompt reads three years of finished jobs, finds everyone whose last job was more than 12 months ago, and ranks them by what they have spent with you.

Can the bot send the messages for me?

ServiceM8's connector can send job-linked email and SMS, which is why the prompt forbids it. The bot drafts a message for each customer who agreed to hear from you, and you send it. You decide who is contacted and what is offered.

Why does a customer I've worked for get no draft?

Because nothing on file says they agreed to marketing. ACMA's spam guidance says a past purchase on its own does not cover marketing messages, and that it is up to you to prove consent. They stay on the list for you, with no draft.

Do I need the AI Pathway key?

No. Without it the bot reads ServiceM8 only and the rest of the list works the same. With it, anyone who still has an overdue invoice in Xero goes on their own list, so you chase the debt before you say hello.

Why only 20 a month?

So the list stays short enough to work through in one sitting. Change the number in the prompt to however many you will really send. The list is ranked, so the customers who have spent most with you come first.

Steps as each tool set them out on 23 November 2026. Menus move, so expect the odd label to differ.

Connect Xero

Sign in with Xero and your AI Pathway key is made and shown with the MCP address. Add it to Grok Bot, Claude or ChatGPT. Free for 14 days, no card to start, then Bot Starter at $19 a month per business. It reads your Xero and never approves, sends or pays.

Building it properly, at scale? The rules are open. Take the full Database Reactivation standard.

Published by AI Pathway · https://aipathway.com.au

Read the full interactive version at https://aipathway.com.au/explore-ai/lapsed-customers-servicem8-grok-bot-claude