Skip to content
FlowHubFluxonLab
A
AI Automationfree

AI-Powered Email Automation for Business: Summarize & Respond with RAG

by Davide Boizzaadapted from n8n official workflow galleryUpdated Aug 2026
RequiresAAI AgentBBasic LLM ChainDDefault Data LoaderEmbeddings OpenAIEmbeddings OpenAIGoogle DriveGoogle DriveHTTP RequestHTTP RequestOpenAI Chat ModelOpenAI Chat ModelQdrant Vector StoreQdrant Vector StoreSend EmailSend EmailSummarization ChainSummarization ChainText ClassifierText ClassifierToken SplitterToken Splitter
Share Post Share
EREmail Trigger (IMAP)Email Trigger (…MaMarkdownDeepSeek R1ESSend EmailVSQdrant Vector StoreQdrant Vector S…Embeddings OpenAIEmbeddings Open…TCEmail ClassifierCSEmail Summarization ChainEmail Summariza…AgWrite emailCLReview emailMaWhen clicking ‘Test workflow’When clicking ‘…HRCreate collectionCreate collecti…HRRefresh collectionRefresh collect…Get folderDownload FilesDDDefault Data LoaderDefault Data Lo…TSToken SplitterVSQdrant Vector Store1Qdrant Vector S…Embeddings OpenAI1Embeddings Open…NODo nothingOpenAIDeepSeekOpenAI 4-o-mini12345678910111213
1/5
FLOWS
STEPS · 13
Execution path through the workflow

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 Email Trigger: The workflow starts with the Email Trigger (IMAP) node, which monitors an email inbox for new messages. When a new email arrives, it triggers the workflow. Email Preprocessing: The Markdown node converts the email's HTML content into plain text for easier processing by the AI models. Email Summarization: The Email Summarization Chain node uses an AI model (DeepSeek R1) to generate a concise summary of the email. The summary is limited to 100 words and is written in Italian. Email Classification: The Email Classifier node categorizes the email into predefined categories (e.g., "Company info request"). If the email does not fit any category, it is classified as "other". Email Response Generation: The Write email node uses an AI model (OpenAI) to draft a professional response to the email. The response is based on the email content and is limited to 100 words.

Tags

n8nreference-onlyagentchain-llmchain-summarizationdocument-default-data-loaderemail-sendembeddings-open-aigoogle-drivelm-chat-open-aitext-classifiertext-splitter-token-splittervector-store-qdrant
Connects
AAI AgentBBasic LLM ChainDDefault Data LoaderembeddingsopenaiEmbeddings OpenAIgoogledriveGoogle DriveWHTTP Request
CategoryAI Automation
Triggermanual
Complexityadvanced
Nodes23
AddedFeb 5, 2025

Related workflows

See all AI Automation
Dgoogledriveopenaichatmodelsummarizationchain
free

Load and summarize Google Drive files with AI

This workflow includes advanced features like text summarization and tokenization, it's ideal for automating document processing tasks that require parsing and summarizing text data from Google Drive. To use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team
ACDgmail
free

AI: Summarize podcast episode and enhance using Wikipedia

The workflow automates the process of creating a summarized and enriched podcast digest, which is then sent via email. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team
DhtmlWopenaichatmodel
free

Scrape and summarize webpages with AI

This workflow integrates both web scraping and NLP functionalities. It uses HTML parsing to extract links, HTTP requests to fetch essay content, and AI-based summarization using GPT-4o. It's an excellent example of an end-to-end automated task that is not only efficient but also provides real value by summarizing valuable content. Note that to use this template, you need to be on n8n version 1.50.0 or later.

by n8n Team