๐ŸŽซ Gmail email categorization & auto reply with GPT-4o and Google Sheets

โšก 1,621 views ยท ๐ŸŽซ Ticket Management & Triage

Description

๐Ÿงญ Description

This section automates Gmail message handling through AI-powered classification and response. Using the LangChain Text Classifier, incoming emails are analyzed and sorted into four categories โ€” High Priority, Advertisement, Inquiry, and Finance/Billing โ€” each triggering a dedicated action flow.

High Priority: AI generates a professional draft reply and saves it to Gmail.

Advertisement: AI summarizes content and logs it to Google Sheets.

Inquiry: AI composes a customer-friendly response automatically.

Finance/Billing: AI creates a brief summary and forwards it to the accounting email.

This system reduces manual sorting, ensures consistent communication quality, and speeds up email management with full automation.

๐Ÿ’ก Use Cases

Automatically categorize incoming Gmail messages by topic or intent.

Generate AI-written reply drafts for urgent business messages.

Summarize marketing or promotional emails into Google Sheets for tracking.

Provide automated responses to customer inquiries.

Forward billing or invoice messages directly to accounting teams.

๐Ÿ”— Nodes Used

Google Sheets, Gmail, Gmail Trigger, OpenAI Chat Model, OpenAI, Text Classifier

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup