Steps follow a live demonstration and have not been re-checked against current documentation. Tool names appear only as examples; the skill works in any tool that offers the same pieces.
01 — Quick answer
How do you build an email automation that drafts support replies?
Plan the flow on paper first: a new email arrives, a small AI model answers one question (is this a support request?), a yes or no branch decides the path, and an AI agent with your real policies writes a reply into your drafts folder. You read and send it. Test with one frozen email before switching it on.
02 — Outcome
What will you have when you finish?
A working automation that watches one inbox, sorts each new email as support or not support, and leaves a policy-based draft reply for every support email. Nothing is sent without you. You also end up with a written flow you can reuse for any other trigger-and-action job.
03 — Who it's for
Who is this for?
Good fit: small teams and solo owners who answer the same kinds of customer emails (returns, delivery, damaged items, how-to questions) and already have written policies or FAQs.
Not the best fit: anyone without written policies yet, or businesses where most email needs a judgment call. Write the policies first, or start with a lighter step such as a weekly inbox review.
04 — Time needed
How long does it take?
Estimates; your first run takes longest.
- Active work: about 70 minutes
- Waiting or processing: none
- Testing: about 30 minutes
- Total: about 100 minutes
05 — Before you begin
What do you need first?
Terms used in this guide
- Trigger
- The event that starts the automation, here a new email arriving. Tools sometimes call it an "on message received" event.
- Node (step)
- One configurable box in the automation, such as the trigger, the AI step or the branch.
- Credential
- The saved sign-in that lets the automation tool use your email or AI account on your behalf.
- Classify
- Sort an item into a category. Here: support or not support.
- Branch (if/else)
- A step that sends the item down one path when a condition is true and another when it is false.
- AI agent
- An AI model plus memory and tools, so it can act (draft an email) as well as answer.
- System message
- Standing instructions that set the agent's role, rules and knowledge for every run.
- Pinned data
- A saved copy of one test input, so every test run uses the same email.
06 — Steps
How do you build it?
Step 1: Draw the flow before you open any tool
Objective: Write each step from trigger to final action.
Write how a person on your team handles a support email today, one line per step: the email arrives, someone decides whether it is a support request, they look up the right policy, they write a reply. Then mark which steps you will automate and which stay human. In the workshop, sending stayed human: the automation only creates drafts.
Ask whether every step is still needed. The workshop dropped the "we got your message" acknowledgment because a reply drafted in minutes makes it unnecessary. That is a choice, not a rule; keep it if your replies take longer.
TriggerDecision the AI makesWhat happens on yesWhat happens on noFinal action a person takesWhy this matters: most broken automations skip planning and start clicking. A written flow shows which steps need judgment and which only move data.
Step 2: Add the email trigger and connect your inbox once
Objective: Make the automation start when a new email arrives.
Create a new workflow and choose your email app as the first step, then pick the new-message trigger. Connect it by creating a credential: sign in with the account and approve only the permissions the tool asks for. You set this up once and reuse it in later steps.
Use a business or test inbox, not your personal one. (added note) Connecting an AI tool to a mailbox gives it access to everything in that mailbox, so the narrower the account, the lower the risk.
Why this matters: the trigger is the first step of every automation. If it does not fire, nothing after it runs.
Step 3: Capture one test email and freeze it
Objective: Get a real input to build against and keep it fixed.
Turn off every later step so only the trigger runs. Send a realistic support email to the connected inbox (for example, a customer asking to return a product), then run the workflow manually. Open the trigger's output and find the fields you will use: the subject and the body text (some tools label the body as a snippet).
Now pin that output. Pinning means the trigger returns this same email on every test run instead of fetching new mail, so marketing emails and spam cannot change your results while you build.
Why this matters: testing against a moving inbox makes it impossible to tell whether a change helped. One fixed input makes every result comparable.
Step 4: Add a small AI model that answers one question
Objective: Classify each email as support or not support, in one word.
Add an AI step that sends a single message to a model (no memory, no tools). Pick a small, low-cost model: you are reading a few lines of text and asking one question, so a large model adds cost without adding accuracy.
Write the instruction, then insert the email fields as placeholders by dragging them from the trigger output. Placeholders are filled with each new email's real subject and body at run time. Preview the assembled message to confirm the real text appears where the placeholders sit.
Example prompt
Example of a one-word classification instruction
Purpose and context: the model needs to know what your business is, what counts as a support request, the email itself, and the exact form of the answer. A one-word answer keeps the next step simple.
Written for this guide. Replace every [bracket] with your own details.
I run [business name], a [type of business] selling [products]. Decide whether the email below is a customer support request (questions about orders, returns, refunds, delivery, damage or how to use a product). Thank-you notes, sales pitches and newsletters are not support requests. Subject: [subject placeholder] Body: [body placeholder] Answer with one word only: yes or no.
Customize: your business description, your own list of what counts as support, and the placeholders from your trigger.
How to judge the result: run it on your pinned email and on a thank-you email. You should get exactly "yes" and "no", with no extra words.
Adapting to other tools: any tool with a basic AI or chat-model step works the same way; only the way you insert placeholders differs.
Why this matters: a model that understands plain language does the sorting a person used to do. Keeping it to one word makes the decision step reliable.
Step 5: Branch on the answer
Objective: Send support emails down one path and everything else down another.
Add an if/else step. Set the condition to: the AI step's output equals yes. Drag the output field in as a placeholder rather than typing a value, because the answer changes with each email. Run it with your pinned email and confirm it goes down the true path.
Decide what the false path does. The demo left it empty, which means non-support emails are simply ignored. You might instead label them or forward them to someone. (added note) Models sometimes answer "Yes" or "yes."; if your tool's comparison is strict, make it ignore case or trim punctuation.
Why this matters: a branch keeps the expensive drafting step from running on emails that do not need it.
Step 6: Add an agent that drafts the reply from your policies
Objective: Produce a personalized draft that follows your real rules.
On the true path, add an AI agent. Give it three things:
- A brain: connect a chat model.
- A tool: add your email app as a tool and set it to create a draft. If you only see send, look under a different resource, such as drafts instead of messages. Use draft, not send, until you trust the results.
- Inputs: pass the email subject and body as the user message, using placeholders.
Then write the system message: who the agent is, your FAQs, refund and returns policy, contact details, tone, and what it must never promise. Let the tool's AI fill the draft's subject and body automatically, since they change every time. End the system message with an explicit instruction to always create a draft reply using the attached email tool.
Example prompt
Example of a system message for a support-reply agent
Purpose and context: the agent only knows what you tell it. Your real policies are the knowledge (your Second Brain); your rules about tone and limits are your judgment (your First Brain). Without them the agent will invent policy.
Written for this guide. Replace every [bracket] with your own details.
You are the customer support assistant for [business name]. Tone: [warm / brief / formal], sign off as [team name]. Policies (use only these, never invent others): - Returns: [your returns policy] - Refunds: [conditions and timeframe] - Delivery: [timeframes and what to do if late] - Contact: [email or phone and response time] Rules: - If the email lacks an order number or date, ask for it. - If no policy covers the question, say a team member will follow up. Do not guess. - Never promise refunds outside the policy. Always create a draft reply to the incoming email using the attached email tool. Never send.
Customize: every bracket, plus any rules specific to your products, such as perishable goods.
How to judge the result: the draft quotes only your policy, asks for missing details and sounds like your business.
Adapting to other tools: the same system message works in any agent step; some tools split it into role, goal and instructions fields.
Why this matters: the agent combines understanding the email with taking an action, which a single AI answer cannot do.
Step 7: Test with varied emails, then switch it on
Objective: Confirm it works beyond your one test case.
Run the full workflow with your pinned email and read the draft as a customer would. Then unpin and send four or five different emails: a clear return request, a vague complaint with no order number, a thank-you note, a sales pitch and one question your policies do not cover. Check every result. Fix the classification instruction or the system message, not the outputs.
Only then activate the workflow. For the first week, read every draft before sending and note any pattern of mistakes.
Why this matters: one passing test proves little. Varied cases show where the instructions are thin.
07 — Test it
How do you know it worked?
What to test: that the whole flow sorts and drafts correctly.
How: send five different emails to the inbox with the workflow active.
Success looks like: support emails each get one accurate draft; other emails get none; no email is sent.
If it fails: open the run history, find the first step whose output looks wrong and fix that step's instruction.
08 — Troubleshooting
What usually goes wrong?
| Problem | Possible cause | Fix | How to verify |
|---|---|---|---|
| Workflow will not run | A later step has an error or missing setting | Turn off unfinished steps and test one step at a time | The trigger runs alone without errors |
| Every email classified as support | Instruction does not say what is not support | Add examples of non-support emails | A thank-you email returns no |
| Branch always goes false | Output has a capital letter, period or extra words | Ask for one lowercase word and make the comparison ignore case | Test email takes the true path |
| Agent answers but no draft appears | Tool set to send, or no instruction to use the tool | Set the tool to create a draft and say so in the system message | Draft appears in the drafts folder |
| Draft promises things you do not offer | Policies missing from the system message | Paste your real policies and add a do-not-guess rule | Draft quotes only your policy |
| AI step fails with a billing error | No usage credit on the AI account | Use the tool's trial credits or add credit with your AI provider | Step returns a word |
09 — FAQ
Common questions
Why not let it send replies automatically?
Because you have not yet seen how it handles unusual emails. Drafts let you check its judgment. Move to sending only for narrow, low-risk cases after weeks of clean drafts, and keep a person on anything involving money.
Do I need an AI agent for the sorting step?
No. Sorting only needs understanding plus a one-word answer, so a plain model call is enough. You need an agent only where the AI must act, here creating the draft.
Does my chat subscription cover the AI steps?
Usually not. Automation tools call the AI provider's API, which is billed by usage and separately from chat subscriptions. Check your provider's current pricing.
What about the acknowledgment email?
Optional. If drafts are reviewed quickly, it adds little. If replies take hours, add a short acknowledgment on the true path.
10 — What next
Where do you go from here?
Once drafts are reliable, turn your most common corrections into rules in the system message, and write down which actions the automation may take on its own.
Related guides
Sources
Based on my notes from a live AI tools workshop (an online generative AI bootcamp run by Outskill), expanded with my own explanations, examples, steps and checks. Example prompts were written for this guide. Tool details follow a live demonstration and have not yet been re-checked against each tool's current documentation.