Anatomy of an AI secretary: how we automate a process end to end

Collecting consultants' days worked, every month, without anyone typing anything. Through this example, here is how we build an end-to-end automation — emails, document reading, Google Sheets, Drive, reminders — and what makes this kind of project solid.

  • Automation
  • Workflows
  • Google Workspace
  • AI secretary

On our Automations page we describe an AI secretary that collects consultants' timesheets. This article opens the hood: how it is built, which decisions mattered, and what you can take from it for your own processes.

The starting problem

The firm places consultants with its clients. To invoice, it needs to know every month, for each consultant, how many days were worked and for which client. Without automation, that means emails, reminders, timesheets in every format, and one person retyping everything into a spreadsheet.

Step 1: map before coding

We started by writing down the process as it existed, with its exceptions: the consultant on leave, the one who worked for two clients, the one who sends a photo of his calendar. That map is the real specification. In our experience, 80% of failed automations fail because this step was skipped.

Step 2: decide what the AI does alone

Not everything has to be automatic. We drew three zones:

  • The AI does it alone: send the requests, read the replies, extract the data, write to the spreadsheet, file the documents, chase.
  • The AI proposes, a human approves: ambiguous cases — a total above the number of working days, an unknown client.
  • The human does it: the invoicing itself. The AI secretary prepares the summary; the invoice remains a decision.

Step 3: the building blocks

The system relies on tools the firm already used:

  • Gmail to send requests and read replies. Each consultant gets a personalized email, not a circular — the reply rate depends on it.
  • A language model to understand the reply, whether it is a sentence ("18 days at X, 2 days at Y"), a table, a PDF or a photo. This is the block that didn't exist three years ago and that makes the project possible.
  • Google Sheets as the shared database: one row per consultant per month, the columns the firm was already reading. No new tool to learn.
  • Google Drive to file the supporting documents, renamed by convention (year-month-consultant-client).
  • A scheduler that triggers the cycle every month and reminders at a set interval.

Step 4: the guardrails

This is what separates a demo from a production system:

  • Consistency checks: days above working days, client missing from the list, double declaration → flagged, never silently written.
  • Full log: every action of the secretary is traced. If a figure is disputed, the original message is one click away.
  • Access rights: the AI writes to one tab, humans to another; nothing overwrites what a human corrected.
  • Minimal data: the secretary reads only the replies to its own requests, not the whole mailbox.

Step 5: gradual go-live

We recommend running the automation alongside the manual process for a first cycle: compare results, fix the unforeseen cases, adjust the tone of the messages. Then stop the manual process.

What it delivers

The sheet is filled, the supporting files are filed, late replies have been chased. The user typed nothing: they watched the work get done.

What transfers

Replace "timesheets" with expense reports, availability, intervention reports, meter readings, answers to an internal survey: the skeleton is the same. A personalized request, intelligent reading of the replies, writing into the tool you already use, checks, reminders, a summary. It is the most profitable pattern we know, and it applies to almost every company.

Have a process that looks like this? Describe it to us in five lines.

Articles on regulatory topics are technical and documentary analysis, not legal advice. Excerpts from legal texts are reproduced from official publications; our interpretations are flagged as such.

Got an idea in mind?

Let's discuss how AI can revolutionize your business processes and drive growth.

Contact us