Templates / AI-powered email automation for business: Summarize & respond with RAG

AI-powered email automation for business: Summarize & respond with RAG

Needs changes

by Davide Boizza ✓ · 19,083 views · created 2025-02-05 · Ticket Management, AI RAG

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 23 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Qdrant Vector Store, Embeddings OpenAI and Google Drive. It also calls qdranturl over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Create collection (HTTP Request): calls qdranturl (POST)
  2. Refresh collection (HTTP Request): calls an HTTP API (POST)
  3. Markdown: converts between Markdown and HTML
  4. Get folder (Google Drive): work with file folder
  5. Email Summarization Chain (Summarization Chain): summarizes text with AI, with model: DeepSeek R
  6. Download Files (Google Drive): download
  7. Email Classifier (Text Classifier): classifies text into categories with AI, with model: OpenAI 4-o-mini
  8. Qdrant Vector Store: stores documents in the Qdrant vector store, with embeddings: Embeddings OpenAI; document loader: Default Data Loader
  9. Write email (AI Agent): runs an AI agent, with model: OpenAI; 1 tool (Qdrant Vector Store)
  10. Review email (Basic LLM Chain): sends a prompt to an LLM, with model: DeepSeek

…plus 1 more step. See the full node list below.

Services it uses

OpenAI Chat ModelQdrant Vector StoreEmbeddings OpenAIGoogle Drive

HTTP calls to: qdranturl

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Write email (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Write email (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (16)

From the author

This workflow is ideal for businesses looking to automate their email responses, especially for handling inquiries about company information. It leverages AI to ensure accurate and professional communication. How It Works 1. Email Trigger: - The workflow…

Excerpt from Davide Boizza'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.