Overview
An n8n workflow that reads new support emails, has an AI Agent node set a priority and summarise each one, and posts the summary with a suggested reply to Slack for a teammate to approve before it is sent.
Problem or Objective
- Which agents sort email, draft replies and clear the backlog for you?
- Which agents answer customer questions from your own help content?
More in Workflow Automation
AI Agents and Models
Tools and Integrations
- Tools
- n8n · Slack
- Prerequisites
- An n8n instance (cloud or self-hosted), a chat model API key, access to the support mailbox and a Slack workspace; check the mail and Slack integrations and the approval step in your version.
How It Works
In n8n, start the workflow with a trigger for new mail in the support mailbox, or a Schedule Trigger that fetches unread messages, using your mail integration (check how it delivers new messages; this was not verified). Handle the messages one at a time. For each, an AI Agent node with a chat model sets a priority (urgent, normal or low) and a topic, writes a two-line summary and drafts a reply. Post the summary, labels and draft to a Slack channel through a human approval step (check how approvals work in your n8n version and Slack integration). When a teammate approves, n8n sends the reply from the support mailbox; when they reject it, the email goes back to them to answer by hand. Test with a set of old messages before connecting the live inbox.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up n8n.
- Connect the toolsConnect the tools this workflow relies on: n8n, Slack.
- Check the prerequisitesAn n8n instance (cloud or self-hosted), a chat model API key, access to the support mailbox and a Slack workspace; check the mail and Slack integrations and the approval step in your version.
- Gather your detailsCollect what the prompt asks for: Sender name and address, Email subject, Email body, Allowed topics, Reply tone.
- Run the starter promptPaste the starter prompt below into n8n and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at docs.n8n.io before you rely on it.
Practical Starter Prompt: Triage a support email
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
You receive one support email: sender [Sender name and address], subject [Email subject], body [Email body]. Set its priority to urgent, normal or low and pick its topic from [Allowed topics]. Write a two-line summary. Then draft a reply in this tone: [Reply tone]. If it is about a refund, a complaint, a legal matter or a security issue, do not draft a reply; mark it for a person. Return the labels, summary and draft for the Slack approval step; nothing is sent until a teammate approves it.Every draft goes to Slack through the approval step and is sent only after a teammate approves it. Escalated emails go to a person with no draft.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. n8n's docs describe an AI Agent node that connects a chat model to tools and decides which to call, and a Schedule Trigger for runs at fixed intervals and times. The homepage and README mention human approvals in AI workflows, and the README a large integration catalogue. No cited page documents a particular mail or Slack setup or how an approval pauses a run, so build and test those parts in your own instance.
Limitations and Considerations
Customer emails contain personal details; check where your n8n instance and model provider process them. Keep a person on every outgoing reply, and send refunds, complaints, legal and security issues straight to a human with no draft. Priority labels can be wrong, so look through the low-priority pile too. Store mailbox and Slack credentials in n8n. A schedule only runs once the workflow is saved and published. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Official Website
The official site of the main tool or project in this use case.
Related Videos
About n8n-io/n8n
Give Your Agent Tools (n8n Agents Course 5/7) (opens in a new tab)
Walkthrough of n8n by n8n: it is on the project’s own channel.
Watch on YouTube (opens in a new tab)About n8n-io/n8n
n8n AI Nodes: Connect OpenAI, Claude, and Local Models (opens in a new tab)
Walkthrough of n8n by AI Daily Lab: its description links the GitHub repository.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- AI Agent | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- The AI Agent node lets you build an AI agent in n8n: connect a chat model and one or more tools, and the agent decides which tools to call to complete a task.
- Schedule Trigger | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 25 Nov 2026, 12:10 UTC
What this source supports
- Use the Schedule Trigger node to run workflows at fixed intervals and times.
- If a workflow uses the Schedule node as a trigger, make sure that you save and publish the workflow.
- n8n-io/n8n README (opens in a new tab)
Project documentation · github.com · Undated · Source checked 25 Nov 2026, 11:59 UTC
What this source supports
- Design multi-step AI workflows with logic, tool use, human approvals, and full observability.
- Connect to 1500+ integrations.
- AI Workflow Automation Platform - n8n (opens in a new tab)
Project documentation · n8n.io · Undated · Source checked 25 Nov 2026, 11:59 UTC
What this source supports
- Connect any model, see every decision, and add human approval when needed.

