๐Ÿ’ฌ Human in the loop email response system (AI + IMAP)

โšก 2,016 views ยท ๐Ÿ’ฌ Lead Nurturing & AI Sales Agents

Description

How it works

This workflow automates the process of handling incoming emails by:

  1. Receiving emails via IMAP.
  2. Converting the email to Markdown for better AI understanding.
  3. Summarizing the email using an AI model.
  4. Drafting a professional reply with AI, based on the summary.
  5. Requesting human approval for the AI-generated response.
  6. Sending the approved reply back to the original sender.

Set up steps

Estimated time: 10โ€“20 minutes (excluding credential setup) What youโ€™ll need:

Setup outline:

  1. Add your IMAP and SMTP credentials to the workflow.
  2. Connect your OpenAI (or compatible) account for AI summarization and reply generation.
  3. Deploy the workflow in n8n and activate it.
  4. Test by sending an email to your connected inbox.

Note: Detailed configuration tips and explanations are included as sticky notes inside the workflow for each step.

๐Ÿ”— Nodes Used

Email Trigger (IMAP), Send Email, Markdown, AI Agent, Summarization Chain, OpenAI Chat Model

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup