2026
AI Back Office for a Service Business
Leads, invoices and a Telegram copilot, built on n8n. The owner only steps in when it matters.
Tags:
- AI Automation
- n8n
- AI Agents
- Gemini
- Role
- Solo build
- Stack
- n8n, Gemini, Telegram, Gmail, Google Calendar, Google Sheets
- Scope
- 2 workflows + 1 AI agent
- Status
- Demo build, Nov 2026

Demo
Watch first
A one-minute tour of the ops copilot: ask a question in Telegram, get a daily brief, check new leads, then draft an email and send it only after a yes.
Part 1
Lead Intake
Every enquiry is captured, cleaned, scored by Gemini and routed in seconds. Junk is filtered out before it reaches the AI, so it costs nothing.

- 01
Capture
A form for the demo, plus a webhook so any website form (Framer, WordPress) can post JSON in.
- 02
Clean & de-duplicate
Validates the email, blocks disposable domains and link spam, and checks the sheet for repeat enquiries. Junk never reaches the AI.
- 03
AI qualification
Gemini scores each lead hot, warm, cold or junk against a strict JSON schema. It retries twice; if it still fails, the lead is kept and flagged for a human.
- 04
Log & route
Every lead lands in the CRM sheet. Hot leads ping the owner on Telegram, real leads get a personal reply, junk and repeats get no email.


Part 2
Invoice Intake
Invoices arrive by email and end up read, checked and logged. Clean ones go straight through; anything suspicious waits for the owner on Telegram.

- 01
Intake
Checks Gmail every minute for emails with PDF attachments, splits out every PDF and processes them one at a time.
- 02
Read & extract
Pulls the text from each PDF and Gemini turns it into structured invoice data (strict schema, temperature 0, 2 retries). Scanned PDFs and AI failures go to review, never lost.
- 03
Verify
The part clients pay for. Re-checks the AI's maths (line items, subtotal, tax, total), the dates, its confidence, the approval limit and duplicates.
- 04
Approve & log
Clean invoices under the limit are auto-approved. Anything flagged pings the owner with Approve / Reject buttons, and every decision is logged with who made it.

Caught by the verify stage
Line items add up to 560. The subtotal says 610.
A test invoice with a deliberate maths error. Gemini read it with 95% confidence, and the verify stage still refused to trust it. That gap between “the AI is sure” and “the numbers are right” is exactly where a back office loses money.
Part 3
Ops Copilot
The owner never opens n8n or the sheet. They text the agent like a colleague, and it reads the CRM, the ledger and the calendar to answer. It can draft and send email, but only after a yes.

The real chat, with the signature blurred.

Nine tools, each a small n8n workflow the agent can call.
- 01
Just ask
Questions in plain words: what do we owe this week, who came in today, what's on tomorrow.
- 02
Daily brief on demand
“Brief me” returns today's meetings, new leads, follow-ups and money owed in one short message.
- 03
Check new leads
Who is hot, why, and what to do next, read straight from the CRM sheet.
- 04
Draft, approve, send
It writes the email, shows it in the chat and waits. Nothing goes out until the owner says yes.
The system
How it fits together
Each job is its own n8n flow, and they all share one memory: a Google Sheet that works as the CRM, the invoice ledger and a live dashboard. Gmail sends the email, Telegram keeps the owner in the loop.
- Website form or webhookLead intake workflowCRM sheet, personal reply, hot-lead alert
- Invoice email in GmailInvoice intake workflowInvoice ledger, Approve / Reject on Telegram
- Owner message on TelegramGemini AI agentAnswers, briefs, calendar changes, emails after a yes
Human in the loop
Routine runs alone. Risky waits for a yes.
Automating everything is easy; knowing where to stop is the job. The safe, repetitive work runs by itself, and the owner sees anything that could cost money or trust.
- Runs alone, owner alerted
Hot lead
The student gets an instant personal reply, and the owner gets a Telegram alert to call within five minutes, so the best enquiries reach a human fast.
- Needs a yes
Flagged invoice
Bad maths, a duplicate, low AI confidence or anything over the limit waits for Approve or Reject, and the decision is logged with who made it.
- Needs a yes
Copilot email
The agent shows the full draft and asks “Shall I send?”. Only a yes sends it.
Challenge:
A small business owner loses hours every week to the same jobs: sorting real enquiries from spam, replying to leads, keying invoices into a sheet and remembering who to chase. This back office had to take that work off their plate without becoming a black box that pays the wrong invoice or emails a customer on its own.
Role:
Solo build. I mapped the busywork, designed and built every workflow in n8n, wrote the prompts, JSON schemas and agent skills, tested it with real enquiries and invoices, and produced the demo videos.
What made it hard
Challenges
- 01
Junk shouldn't cost money
Spam and fake sign-ups would burn AI calls. Email checks, disposable-domain blocks and link-spam filters run first, so only real enquiries reach Gemini, and the dashboard counts what was blocked.
- 02
AI that answers in the right shape
A lead score or an invoice total is useless if the JSON is broken. Gemini answers against strict schemas at temperature 0 and retries twice; if it still fails, the item goes to review instead of disappearing.
- 03
Confident isn't correct
The AI read a test invoice with 95% confidence and the maths was still wrong. So every invoice is re-checked in code (line items, subtotal, tax, total, duplicates) before anyone trusts it.
- 04
Trust over full autopilot
Routine lead replies go out automatically, but copilot emails and flagged invoices always wait for the owner's yes on Telegram, and every decision is written to the sheet.
How it was made
Designed by me.
Run by n8n.
- n8n
- Gemini
- Telegram
- Gmail
- Google Calendar
- Google Sheets
It started with the busywork, not the tools: which jobs eat the owner's week, and which ones are safe to hand to a machine. Each job became its own n8n workflow, split into labelled, colour-coded stages so anyone opening the canvas can follow it. Gemini does the reading and scoring against strict JSON schemas, Google Sheets is the shared memory and dashboard, Gmail sends, Google Calendar holds the schedule, and Telegram is where the owner talks to it and approves what matters. The copilot is an n8n agent with nine small workflow tools and plain-language skills, such as the format of the daily brief and the rule to confirm before sending.
- 01
Map the busywork
Listed the owner's repeat jobs and drew the line between what runs alone and what needs a yes.
- 02
Lead intake
Capture, clean and de-duplicate, Gemini qualification, then log, alert and reply.
- 03
Invoice intake
Gmail intake, PDF extraction with Gemini, verification in code, then approval and logging.
- 04
Ops copilot
An n8n agent with nine workflow tools across leads, invoices, the calendar and the owner, steered by plain-language skills.
- 05
Test the edges
Spam enquiries, repeat submissions, broken AI output and a deliberately wrong invoice, run until each one failed safely.
- 06
Demo videos
Three short walkthroughs, cut in 16:9 and 9:16, so a client can see each part run end to end.