AI Agents

Process emails with AI analysis and manual approval workflow

17 nodes 322 149 Manual trigger
Download

Workflow Description

Automation that reads incoming emails, analyzes their content and intent using AI models, searches a vector database for relevant context, generates intelligent draft responses, and requires human approval before sending replies through your email account.

How it works

  1. 1.Receive incoming emails from your email account via IMAP connection
  2. 2.Analyze email content using OpenAI to extract intent and key information
  3. 3.Search vector store for similar past emails to provide contextual responses
  4. 4.Generate AI-powered draft reply and hold for your review
  5. 5.Manually approve or reject the suggested response (yes/no decision)
  6. 6.Send approved reply from your email address

Use cases

  • Manage support inbox volume while maintaining human oversight and quality control
  • Process customer inquiries faster by automating initial analysis and drafting
  • Handle routine responses automatically while reviewing edge cases manually

Requirements

  • Active email account configured with IMAP or Gmail API access
  • Valid OpenAI API key for language model processing
  • Qdrant vector database set up to store and retrieve email embeddings

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 322
Downloads 149

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (17)

/

Email Trigger (IMAP)

Email Read Imap

#1

Markdown

Markdown

#2

DeepSeek R1

OpenAI

#3

Send Email

Email Send

#4

Qdrant Vector Store

Vector Store Qdrant

#5

Embeddings OpenAI

OpenAI

#6

Email Summarization Chain

Chain Summarization

#7

Write email

Agent

#8

OpenAI

OpenAI

#9

Set Email

Set

#10

Approve?

If

#11

Sticky Note

Sticky Note

#12

Sticky Note1

Sticky Note

#13

Sticky Note2

Sticky Note

#14

Sticky Note3

Sticky Note

#15

Send Draft

Gmail

#16

Sticky Note4

Sticky Note

#17