Библиотека / Автоматизация эл. почты
Автоматизация эл. почты
Составление и маркировка ответов службы поддержки и продаж в Gmail с помощью OpenAI
Классифицирует каждое новое письмо Gmail с помощью OpenAI на поддержку, продажи, информацию или прочее, затем сохраняет ответ, составленный ИИ, как черновик Gmail для проверки.
Что делает
# AI Email Automation -- Gmail + OpenAI Automatically classify incoming Gmail emails and prepare AI-generated replies as Gmail drafts for your review. ## How it works Gmail Trigger → Classify → AI Agent → Validate → Draft / Label 1. Gmail Trigger checks your inbox for new incoming emails. 2. Classification — each email is analyzed by AI and sorted into one of four categories: Support, Sales, Information, or Other. 3. Specialized AI Agent — a dedicated agent per category drafts a reply using the business information you provide in Manual Configuration. 4. Validation — the AI's output is checked against a structured schema (Subject + Body) before anything is created. 5. Draft & Label — a Gmail draft is created when appropriate, and the matching label is applied so you can find and review it easily. ### Human-in-the-loop Emails are never sent automatically. The workflow only prepares a draft — you always review, edit and send it yourself. ### Requirements - n8n instance - Gmail account (OAuth2) - OpenAI API key ### First steps 1. Open Manual Configuration and replace the example company information with your own. 2. Connect your Gmail and OpenAI credentials. 3. Make sure the required Gmail labels exist (see the Quick Start Checklist below). 4. Send yourself a test email for each category before activating the workflow. # ✅ Quick Start Checklist - [ ] Connect your Gmail OAuth2 credentials - [ ] Connect your OpenAI API credentials - [ ] Open Manual Configuration and fill in your real company information - [ ] Verify the required Gmail labels exist: Support, Sales, Information, Other, Error - [ ] Send yourself a test Support email and confirm a draft is created and labeled - [ ] Send yourself a test Sales email and confirm a draft is created and labeled - [ ] Send yourself a test Information email and confirm the agent only answers when it has enough information - [ ] Send yourself an unrelated email and confirm it's labeled Other with no draft - [ ] Review each generated draft for tone and accuracy before activating the workflow on real incoming emails # ⚠️ Important Notes - AI-generated replies are drafts only — nothing is ever sent automatically. - Draft quality depends entirely on how complete and accurate your Manual Configuration is. - Do not enter passwords, API keys or other sensitive credentials in Manual Configuration. - The Information Agent is instruct
Шаги
- Create a draft: Support
- Create a draft: Information
- Output Parser
- Gmail Trigger
- Mail Classifier
- Support Agent
- Sales Agent
- Information Agent
- Apply Support Label
- Apply Sales Label
- Apply Info Label
- Apply Other Label
- Validate AI Response
- Validate AI Response 2
Всего шагов: 30.
Похожие автоматизации
Поддержка клиентов и служба помощиОтветы на вопросы поддержки в Telegram с Gemini и SupabaseШагов: 13Автоматизация эл. почтыTriage and stow Gmail messages with Google Gemini, Telegram, and SheetsШагов: 81Автоматизация эл. почтыScreen and triage job applications with Gemini, Google Sheets, Slack and GmailШагов: 36Автоматизация эл. почтыIssue gapless sequential PDF invoices from Google Sheets with Google Docs and GmailШагов: 13