AI Agents
AI-powered email processing with approval workflow
17 nodes
305
168
Manual trigger
Workflow Description
An automation that reads incoming emails, analyzes them using AI, generates draft responses, and requires your approval before sending. It retrieves contextual information from a vector database and gives you complete control over each reply.
How it works
- 1.Read incoming emails via IMAP or Gmail
- 2.Extract text and generate embeddings for vector search
- 3.Generate draft response using OpenAI language model
- 4.Present response with approve/reject options
- 5.Send approved response or discard request
Use cases
- Manage customer support inquiries with quality review
- Auto-respond to frequent questions while ensuring accuracy
- Screen and prioritize important emails before human review
Requirements
- Active IMAP or Gmail account with credentials
- OpenAI API key
- Qdrant vector database instance configured
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Email Read Imap
OpenAI
Email Send
Vector Store
LLM Chain
AI Agent
Gmail
Details
Trigger
Manual trigger
Nodes
17
Apps
7
Views
305
Downloads
168
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (17)
/
Email Trigger (IMAP)
Email Read Imap
Markdown
Markdown
DeepSeek R1
OpenAI
Send Email
Email Send
Qdrant Vector Store
Vector Store Qdrant
Embeddings OpenAI
OpenAI
Email Summarization Chain
Chain Summarization
Write email
Agent
OpenAI
OpenAI
Set Email
Set
Approve?
If
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Send Draft
Gmail
Sticky Note4
Sticky Note