Templates / Read, analyze, and auto-reply to Gmail emails with OpenAI, Slack, and Sheets

Read, analyze, and auto-reply to Gmail emails with OpenAI, Slack, and Sheets

Ready for 3.0

by Oneclick AI Squad ✓ · 644 views · created 2026-03-03 · Ticket Management, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 14 nodes and runs on Gmail events (plus 1 other trigger). Along the way it connects Gmail, Slack, Google Sheets and OpenAI.

How it runs

Trigger: On Gmail events (plus 1 other trigger).

  1. Extract & Clean Email (Code): runs custom JavaScript code
  2. Set Email Config (Edit Fields (Set)): sets or maps fields
  3. OpenAI: work with conversation
  4. Parse Analysis (Code): runs custom JavaScript code
  5. OpenAI: work with conversation
  6. Prepare Reply Data (Code): runs custom JavaScript code
  7. Needs Escalation? (If): checks a condition and branches into true / false
  8. Slack: uses Slack
  9. Gmail: uses Gmail
  10. Gmail: add label

…plus 2 more steps. See the full node list below.

Services it uses

GmailSlackGoogle SheetsOpenAI

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail: Watch Inbox).

Nodes used (9)

From the author

A fully automated, AI-powered email assistant built in n8n that reads incoming emails, understands their intent and sentiment, classifies them by category, drafts intelligent context-aware replies, and sends them automatically — all without any human…

Excerpt from Oneclick AI Squad's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.