Skip to main content

Draft and send AI customer support email replies with Gmail and Google Sheets

Workflow preview

Workflow preview
100%
Draft and send AI customer support email replies with Gmail and Google Sheets preview
Open on n8n.io

1. Workflow Overview

How it works 1. Gmail is monitored every minute for new incoming emails 2. Automated and irrelevant emails are filtered out (newsletters, noreply senders, out of office replies, bounce notification...

Best for

  • Support Chatbot automation workflows
  • AI Chatbot automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.gmailtrigger, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.lmchatopenrouter, n8n-nodes-base.gmail, n8n-nodes-base.googlesheets, n8n-nodes-base.scheduletrigger, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by George Dan.

Original n8n.io source

1.1 Workflow description

Title
Draft and send AI customer support email replies with Gmail and Google Sheets
Workflow name
Draft and send AI customer support email replies with Gmail and Google Sheets

How it works

  1. Gmail is monitored every minute for new incoming emails
  2. Automated and irrelevant emails are filtered out (newsletters, noreply senders, out-of-office replies, bounce notifications)
  3. AI reads the email and drafts a reply based on your company documentation - embedded directly in the system prompt, no vector database needed
  4. The original email and the draft reply are logged to a Google Sheet for human review
  5. Type "send" in the Send column to approve a reply - the workflow detects it and sends it via Gmail
  6. The row is updated to "Replied" to prevent duplicate sends

Set up steps

  1. Connect your Gmail, OpenRouter, and Google Sheets credentials (~5 min)
  2. Create a Google Sheet with columns: Message ID, From, Subject, Body, Reply, Send
  3. In the Draft AI Reply node, replace the sample company documentation in the system prompt with your own
  4. In the Filter Unwanted Emails node, update the first condition with your own email address
  5. Activate the workflow

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Receive Customer Emails

Type / Role
n8n-nodes-base.gmailTrigger - gmailTrigger
Config choices
Version 1.3

Block 2 - Filter Unwanted Emails

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 3 - Draft AI Reply

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.9

Block 4 - OpenRouter Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 5 - Mark Email as Read

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

Block 6 - Log to Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 7 - Check Pending Replies

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Block 8 - Get Approved Replies

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 9 - Send Reply to Customer

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

Block 10 - Update Status to Replied

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 11 - Is Approved to Send?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 12 - Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Section - Email Intake

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Section - Review and Send

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Draft and send AI customer support email replies with Gmail and Google Sheets
Complexity intermediate
Nodes 14
Categories Support Chatbot, AI Chatbot
Author George Dan
Published 14 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14038/14038.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Draft and send AI customer support email replies with Gmail and Google Sheets do?

How it works 1. Gmail is monitored every minute for new incoming emails 2. Automated and irrelevant emails are filtered out (newsletters, noreply senders, out of office replies, bounce notification...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Support Chatbot, AI Chatbot use case.