It is Monday morning and the shared inbox has 23 new messages. A laptop request, a question about expenses, a broken badge reader, someone asking who approves a software licence. Nobody is doing anything wrong. The work just arrives in one pile and a person has to sort it before anything gets done.
That sorting is what an AI agent for internal workflow automation handles well. It reads each request, decides what kind it is, turns it into a task for the right person, and asks for missing details. A human still makes the actual decisions. You can set up a first version in an afternoon.
No password needed – your reset opens instantly.
No password. Just your email, and you’re in.
What “internal” changes compared with other agent projects
Most agent guides point the agent at customers or leads. An internal workflow is different in three ways, and they shape how you build it.
- The senders are colleagues. They write short, vague messages and expect you to know the context. The agent has to ask a follow-up question instead of guessing.
- The rules live in people’s heads. “Finance approves anything over a certain amount” is rarely written down. You have to write it down before an agent can follow it.
- Mistakes are visible and personal. A wrong answer to a customer is one thing. Routing a colleague’s payroll question to the wrong person is a problem you hear about by lunchtime.
If you want the wider picture first, our guide to automating business workflows with an AI agent covers how to choose a process. This page is the narrow case: requests that come in by email or form and need to end up as tasks.
Which internal workflows suit an agent
Pick a workflow that has the same shape every time: something arrives, someone decides what it is, someone gets it. These are good first candidates.
- Request intake. IT, HR, facilities or finance questions sent to a shared address.
- Meeting follow-up. Action items from a call become tasks with an owner and a date.
- Onboarding checklists. A new starter triggers the same dozen small tasks.
- Weekly status collection. The agent asks each person three questions and compiles the answers.
Avoid anything that involves salary, performance, legal advice or personal data. Not because AI can never touch it, but because your first project should be one where a mistake costs you a small correction, not a difficult conversation.
The plan: write the rules before you open a tool
Take a sheet of paper, or a blank document, and answer these questions for the one workflow you chose.
- What counts as a request, and what is just noise?
- What are the four or five categories, and who owns each one?
- What makes something urgent? Be specific: “someone is blocked” is a rule, “important” is not.
- What information must every request have before work can start?
- What should the agent never do on its own? Examples: approve spending, reply to the whole company, delete anything.
Pull twenty real past requests from the inbox and label them by hand. This gives you a test set, and it usually shows you that your categories overlap more than you thought. Fix the categories now. Fixing them after the agent is running is much more annoying.
The prompt that does the sorting
This is the core of the agent. Paste it into ChatGPT or Claude first and test it on your twenty labelled emails before you connect anything.
Read the email below and return four things:
1. Category: IT, HR, finance, facilities or other.
2. Urgency: urgent only if someone is blocked or a deadline is within 24 hours. Otherwise normal.
3. A task title of at most 10 words.
4. The one detail that is missing, if any, as a question to send back.
If you are not sure about the category, answer “other” and say why.
Run all twenty and compare with your own labels. If it gets sixteen or more right, you are in good shape. If not, the usual fix is a sharper rule in the prompt, not a different tool. Add the cases it got wrong as examples inside the prompt.
How to build an agent that reads email and creates tasks
Once the prompt works, you wire it to your inbox and your task tool. We use n8n here because it shows each step on screen, which makes problems easy to find. The same structure works in Make or Zapier. If you have not used n8n before, start with our n8n tutorial for beginners.
- Trigger. Add a Gmail Trigger node (or the Outlook equivalent) that fires on new messages in the shared inbox. See the n8n Gmail Trigger documentation for the setup.
- Agent. Add an AI Agent node and paste your sorting prompt as its instructions. Ask it to answer in a fixed format so the next step can read it. The AI Agent node documentation explains the options.
- Route. Add a Switch node that sends each category to its owner.
- Create the task. Add a node for your task tool (Trello, Asana, Notion, a spreadsheet, whatever your team already uses) and fill in the title, owner and the original email text.
- Close the loop. Send a short reply to the requester: “Got it, this is with Sam in IT.” If the agent flagged a missing detail, the reply asks for it instead.
For a broader walk through the building blocks, see our step-by-step n8n AI agent workflow. That one builds a meeting-prep agent, so you can borrow its testing habits.
Keep a human in the loop at the start
For the first two weeks, do not let the agent send anything to the requester or assign anything automatically. Have it post its proposed category and task into a private channel or a review sheet, and let one person approve each one with a tap.
You will learn quickly what it gets wrong. When it has been right every time for a stretch that feels long to you, let it assign the low-risk categories on its own and keep approval for the rest. Loosen one category at a time.
What it costs and what it saves
The running cost is small: n8n has a free self-hosted option and paid cloud plans, and each email uses a few cents at most of AI usage. Check current prices on the vendors’ own pricing pages before you decide, because they change. The bigger cost is your time to write the rules, and that time is the part that pays off even if you never build the agent.
I will not give you a savings figure, because it depends entirely on how many requests you get and how long your team takes to sort them today. A better approach is to time yourself sorting ten requests by hand, then compare after a month of running the agent.
Common reasons these projects stall
- The categories overlap. If two people would label the same email differently, the agent will too.
- Nobody owns the agent. Name one person who checks the review queue and updates the prompt.
- Too many workflows at once. Get one working for a month before starting a second.
- Sensitive messages slip in. Tell your team what the inbox is for, and have the agent send anything that looks personal to a human without summarising it.
Frequently asked questions
Can an AI agent read my email and create tasks automatically?
Yes. A trigger watches the inbox, the AI model reads each message and decides category, urgency and a task title, and a later step creates the task in your tool. Start with a review step so a person approves each task for the first couple of weeks.
Do I need a developer to build this?
Not for a first version. Tools like n8n, Make and Zapier let you connect the steps visually. If you can write a clear set of rules for a colleague, you can write the prompt. A developer helps later if you want custom connections to internal systems.
Is it safe to send internal emails to an AI model?
That depends on your company’s policy and the plan you use. Check what your provider says about how it handles your data, and ask whoever owns IT or compliance before you connect a real inbox. Keep HR, legal and payroll mail out of the first version.
What is the difference between an agent and a plain automation?
A plain automation follows fixed rules: if the subject contains “invoice”, send it to finance. An agent reads the message and makes a judgement call, which helps when requests are phrased in a hundred different ways. If your rules are simple, a plain automation is cheaper and more predictable.
Your next step
Choose one inbox, label twenty past requests, and test the prompt above this week. Nothing needs connecting yet. If the prompt sorts them well, you have the hard part done. To keep learning how to put AI to work in your day job, join the free Launchpad on the RobotsHelp home page, or use the field below.
No password needed – your reset opens instantly.
No password. Just your email, and you’re in.