🎫 AI-powered email replies with spam filtering & FAQ lookup using GPT-4o mini & Pinecone

⚡ 1,849 views · 🎫 Ticket Management & Triage

Description

This n8n workflow automates the handling of incoming emails. It detects and filters out spam, searches a knowledge base (FAQ) stored in a Pinecone vector database, and sends a reply using Gmail — all powered by an AI model (GPT-4o mini).

How It Works

  1. Receiving Emails
  1. Fetching Full Email Content
  1. Spam Filtering
  1. Conditional Filter
  1. AI-Based Reply
  1. Sending the Reply
  1. Language Model
  1. Memory Support
  1. Knowledge Base (FAQ)

đź”— Nodes Used

Gmail, Gmail Trigger, AI Agent, Embeddings OpenAI, OpenAI Chat Model, Simple Memory

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup