🔓 Unlock all 10,000+ workflows & prompts free Join Newsletter →
✅ Full access unlocked — explore all 10,000 AI workflow and prompt templates Browse Templates →
Home n8n Workflow
January 22, 2026

Gmail + Slack: reviewed AI drafts for faster replies

Lisa Granqvist Partner Workflow Automation Expert

Your inbox fills up, the “quick reply” turns into a 20-minute rewrite, and somehow the important messages get handled last. Manual email replies are slow in a way that’s hard to measure until you’re already behind.

If you run customer support, you feel this daily. A freelance consultant feels it differently, but it’s the same bottleneck. This Gmail Slack automation turns new, unreplied emails into polished AI reply drafts sent to Slack, so you can approve and reply faster without handing control to a bot.

You’ll see what the workflow does, what you need, and how the pieces fit together so you can start getting clean drafts in minutes.

How This Automation Works

Here’s the complete workflow you’ll be setting up:

n8n Workflow Template: Gmail + Slack: reviewed AI drafts for faster replies

Why This Matters: Inbox backlogs slow down revenue and support

Replying to email sounds simple until you’re doing it all day. You read a message, hunt for context, rewrite your first draft to sound “more professional,” then second-guess the tone because you’re representing a brand (or your own reputation). Multiply that by a busy inbox and you get a quiet kind of chaos: replies go out late, customers follow up twice, and your team starts making inconsistent promises because everyone is rushing. It’s not just time. It’s the mental load of switching between “understand the request” and “write the response” over and over.

The friction compounds. Here’s where it breaks down in real life.

  • Most replies involve re-reading the email thread and manually pulling details into your response, which wastes a surprising amount of time.
  • When multiple people touch the same inbox, you get tone drift and duplicated work because there is no consistent draft process.
  • Rushing leads to small errors: wrong names, missed questions, or vague answers that trigger another back-and-forth.
  • Auto-send email bots feel risky, so you either avoid automation entirely or spend time cleaning up after it.

What You’ll Build: AI reply drafts in Slack, with human approval

This workflow watches your Gmail inbox for new emails that haven’t been replied to yet. On a schedule, it pulls in a small batch of messages (so you don’t get flooded), fetches the full email content, and extracts the part that matters for a response. Then an OpenAI-powered AI agent generates a polite, professional reply draft based on what the sender asked. Instead of sending anything automatically, the workflow posts the draft to a Slack channel where a human can review it, tweak it, and decide what to send. Finally, the email gets labeled in Gmail so it won’t be processed twice the next time the workflow runs.

The workflow starts with a scheduled inbox check in Gmail. From there, it fetches each message, parses the body, and generates a reply draft using an OpenAI Chat Model. Slack becomes your approval queue, which keeps the speed of automation while preserving your judgement.

What You’re Building

Expected Results

Say you handle about 30 inbound emails a day and each one takes maybe 8 minutes to read, draft, and sanity-check before you send. That’s roughly 4 hours gone. With this workflow, the inbox check happens automatically, the AI creates drafts in the background, and you review in Slack in about 2 minutes per email for the routine ones. You’re still “in the loop,” but you can realistically get about 3 hours back on a busy day.

Before You Start

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • Gmail for monitoring and labeling inbound email.
  • Slack to review drafts and approve replies.
  • OpenAI API key (get it from the OpenAI dashboard).

Skill level: Beginner. You’ll connect accounts, paste an API key, and adjust a couple of settings like schedule and Slack channel.

Want someone to build this for you? Talk to an automation expert (free 15-minute consultation).

Step by Step

Scheduled inbox check. A Schedule Trigger runs every few minutes (you pick the timing) and asks Gmail for emails that are new and unreplied.

Filter and cap the workload. If there are no messages, the workflow stops. If there are messages, it limits how many it will process in one cycle so your Slack channel doesn’t get spammed during a surge.

Fetch the full message and extract the useful text. Gmail provides the raw message, then a parsing step pulls out the email body so the AI model gets clean input, not a messy thread full of signatures and formatting.

Generate draft + route to Slack. The OpenAI Chat Model creates a professional reply draft, and the workflow posts it into your chosen Slack channel so someone can review and send the final response.

You can easily modify the schedule frequency to match your inbox volume, and adjust the AI prompt to match your brand tone. See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the Scheduled Trigger

This workflow starts on a timed schedule, so set up the polling interval to check for unread emails.

  1. Add the Scheduled Email Poller node as your trigger.
  2. Set the schedule rule to run every 30 minutes using the interval configuration.
  3. Connect Scheduled Email Poller to Find Unread Messages.

Step 2: Connect Gmail

Next, configure Gmail access for searching, retrieving, and labeling messages.

  1. Open Find Unread Messages and set Operation to getAll.
  2. Set Limit to 10 and Filters → Query to =in:inbox is:unread.
  3. Credential Required: Connect your gmailOAuth2 credentials.
  4. Open Fetch Gmail Message and set Operation to get.
  5. Set Message ID to ={{ $json.id }}.
  6. Credential Required: Connect your gmailOAuth2 credentials.
  7. Open Tag Message as AutoReplied and set Operation to addLabels.
  8. Set Message ID to ={{ $json.id }} and Label IDs to your Gmail label ID (replace [YOUR_ID]).
  9. Credential Required: Connect your gmailOAuth2 credentials.

⚠️ Common Pitfall: If the label ID is invalid or missing in Tag Message as AutoReplied, the message won’t be tagged and may be reprocessed on the next cycle.

Step 3: Validate and Limit the Email Batch

Before fetching message details, check that unread emails exist and cap processing volume.

  1. In Validate Message Presence, set the condition to check if leftValue is ={{$items().length}} and rightValue is 0 with the operator gt.
  2. Connect Validate Message Presence to Cap Emails Per Cycle.
  3. Set Cap Emails Per Cycle Max Items to 5.
  4. Connect Cap Emails Per Cycle to Fetch Gmail Message.
  5. Ensure Fetch Gmail Message outputs to both Parse Message Content and Tag Message as AutoReplied in parallel.

The parallel branch ensures that messages are tagged even while the content is parsed for drafting.

Step 4: Set Up the Message Parser and AI Draft

Extract the body text from Gmail payloads and generate a polite draft reply in Japanese.

  1. Open Parse Message Content and keep the JavaScript as provided to decode and clean the email body.
  2. Confirm the output fields include emailText, subject, threadId, and receivedAt.
  3. Connect Parse Message Content to Generate AI Reply Draft.
  4. In Generate AI Reply Draft, set Model to gpt-4.1-mini.
  5. In the user prompt, ensure the email body is referenced as {{ $json.emailText }}.
  6. Credential Required: Connect your openAiApi credentials.

Step 5: Configure Slack Output

Send the AI-generated draft to Slack for review before manual sending.

  1. Open Post Draft to Slack and set Text to =📩 There is an email that needs to be replied to\n\n[AI reply draft]\n{{ $node["Generate AI Reply Draft"].json.output[0].content[0].text }}\n\n――――――――――\n(This message is automatically generated.)\n.
  2. Set Select to channel and choose your Slack channel ID (replace [YOUR_ID]).
  3. Credential Required: Connect your slackApi credentials.

Step 6: Review Optional Auto Send Logic

The workflow includes a placeholder for optional auto-send logic if you later want to send replies automatically.

  1. Open Utility: Optional Auto Send and review the empty condition fields.
  2. Leave it disconnected or add your own conditions when you’re ready to automate sending.

Step 7: Test and Activate Your Workflow

Validate the end-to-end flow and then enable it for production use.

  1. Click Execute Workflow to test manually after ensuring unread emails exist in Gmail.
  2. Confirm that Find Unread Messages returns items, Generate AI Reply Draft outputs content, and Post Draft to Slack posts the draft.
  3. Check Gmail to ensure Tag Message as AutoReplied applied the correct label.
  4. When satisfied, toggle the workflow to Active to run on the schedule.
🔒

Unlock Full Step-by-Step Guide

Get the complete implementation guide + downloadable template

Troubleshooting Tips

  • Gmail credentials can expire or need specific permissions. If things break, check the connected Google account in n8n’s Credentials first, then confirm Gmail API access is still allowed.
  • Slack messages sometimes fail when the draft is too long for your formatting. If drafts get cut off, shorten the AI output or post the draft as a file/snippet instead of a single message.
  • OpenAI API errors are often quota or model access issues. Double-check your OpenAI billing status and make sure the model selected in the OpenAI Chat Model node is available to your account.

Quick Answers

What’s the setup time for this Gmail Slack automation?

About 10–15 minutes if Gmail, Slack, and your API key are ready.

Is coding required for this Gmail Slack automation?

No. You’ll connect Gmail and Slack, then paste your OpenAI key and pick a channel.

Is n8n free to use for this Gmail Slack automation workflow?

Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in OpenAI API costs, which are usually a few cents per day for small inboxes.

Where can I host n8n to run this automation?

Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.

Can I modify this Gmail Slack automation workflow for different use cases?

Yes, and you probably should. You can adjust the schedule in the Scheduled Email Poller, change which emails qualify in Find Unread Messages, and tweak the wording in Generate AI Reply Draft to match your tone. Many teams also customize the Slack message to include sender, subject, and a direct Gmail link for faster review.

Why is my Gmail connection failing in this workflow?

Usually it’s expired Google authorization or the wrong Gmail scope. Reconnect your Gmail credential in n8n, then rerun the workflow and confirm it can list messages and fetch full email content. If it works for a bit and then fails, check for Google security prompts on the account and confirm the mailbox isn’t hitting API limits during high volume runs.

What volume can this Gmail Slack automation workflow process?

It’s designed to handle steady inbox flow by limiting how many messages are processed per run, so it won’t overwhelm your team.

Is this Gmail Slack automation better than using Zapier or Make?

Often, yes, because you can cap batches, add conditional logic, and fine-tune the parsing without paying extra for every branch. n8n is also easier to keep predictable when you want a human approval loop and you don’t want auto-send mistakes. Zapier or Make can be faster to set up for very simple “Gmail to Slack” forwarding, but the moment you add AI drafts, labeling, and safeguards, the workflow tends to get expensive or brittle. Frankly, the control you get in n8n is the point here. Talk to an automation expert if you’re not sure which fits.

This is the best kind of automation: faster replies without giving up control. Set it up once, then let Slack become the calm, reviewable inbox your team actually sticks to.

Need Help Setting This Up?

Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.

Lisa Granqvist

Workflow Automation Expert

Expert in workflow automation and no-code tools.

×

Use template

Get instant access to this n8n workflow Json file

💬
Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Launch login modal Launch register modal