With one Excel file. It holds the pre-filter, the categories, the keywords, the signatures and the line saying an AI helped, and every change applies on the next run, which happens every 5 minutes. The server stays untouched, and the agent drafts a reply only when it actually knows the answer.
A client of mine runs a business with an info inbox and a support inbox, and she wanted an agent that writes draft replies. I built it so that she depends on me as little as possible. Everything that concerns her customers she can change in a spreadsheet, and everything technical lives on the server, where she has nothing to touch.
On the day we switched it on together, the first drafts came out the way we wanted. It is far from finished, and I say so on purpose. This post covers how the spreadsheet is laid out, why the agent would rather say nothing than guess, and why I set it up rigid at the start. I build systems like this from Dubai for clients in the German speaking market.
The pre-filter decides before the AI reads a single email
The first tab is called the pre-filter, and it fixes what the AI never gets to see. At this stage the agent looks only at the sender and the subject line, and it does not read the body at all. If the sender or subject contains something like law firm, health or lawyer, it writes no draft, and the email stays in the inbox.
If she never wants a particular sender handled by the agent, she adds it to this tab herself, with no call to me and no line of code. So at this point a plain list decides whether an email gets answered, and the AI's own judgement has no say. The list belongs to her and she can change it whenever she likes, which is exactly what I care about when someone hands an agent their inbox.
Every category has a switch and every keyword has a cell
The categories tab holds the answers the agent produces, and she can edit any of them to suit her needs. If she is unhappy with one category, she types False instead of True in its Active column, and that category is no longer answered.
When an email is not recognised, she adds a comma and a new keyword to the list, so every borderline case makes the list longer. Next to this sit the signatures and a library of ready answers. That library is already quite large, because she collected as many of her own replies as she could before we started. A booking link sits in exactly one place in the sheet, so when it changes she replaces it there and it is right in every reply. It is only a table, and it is one she already knows how to use.
The disclaimer, the AI model and the interval live in the settings
A tab called Config holds the basic settings. The disclaimer at the bottom of every reply sits there word for word. If she wants to add that replies are written with AI support, she types it in once and it applies everywhere.
The tab also names the AI model the agent uses. If another provider is better tomorrow, someone changes one cell, so she stays fully independent of how I happened to build it. The interval is 300 seconds, which is 5 minutes. An hour would also do, but 5 minutes feels right, and she can change that value in the table as well. A log shows, for every mail the agent sent, that it left from her domain, without storing the whole text.
The agent stays silent when it has no answer
At the start we felt the urge to make the agent always write something, so that every email had a draft waiting. That would have meant answering every piece of junk along with everything important. So I set it up to write nothing when no category fits, because it only speaks when it knows.
The whole setup is built so that a person, either she or I, makes the final decision, since in my experience the AI always thinks it is smarter than it is. How much freedom I can give the AI without it writing nonsense, we want to find out in daily use. A rigid start costs a little comfort in the first weeks. It saves her from proofreading replies that turn out to be wrong, and that matters more to me.
Learning happens through a separate sheet, not by itself
She had assumed it was a learning system, and I had to tell her that right now it is static. For it to learn, every individual answer she writes has to be fed back in and used as data. That is my next step.
When the agent cannot answer a question, it leaves a placeholder and she answers it herself. Her answer goes into a new sheet of learned answers, and next time the agent checks that sheet first. That builds an external memory step by step, and within a few months I expect even very individual questions to be answered automatically.
Until then she keeps notes on errors in a Word document. I get the report once a week and tell my AI what did not work that week. A theory going straight into practice at 100 percent never happens.
Conclusion: running the agent from Excel keeps the client independent
How does a business owner run an email agent without touching code? Through one Excel file, where a pre-filter decides which emails the agent never touches and every category has its own switch. The settings for the disclaimer, the model and the interval sit in the same file.
The agent writes only when it knows the answer, and it learns only once she enters her corrections into a sheet of their own. I left it rigid on purpose at the start, so that she never has to check wrong answers.
One next step if you are planning an agent like this: write down which senders and keywords it must never touch, and have exactly that list built as the first tab.