Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

AI Email Classifier & Auto-Delete for Gmail (SPAM/OFFER Cleaner)

n8n template #4507
This workflow is designed for freelancers, solopreneurs, and business owners who receive a high volume of irrelevant messages in their Gmail inbox — from cold offers to spammy promotions — and want to automatically filter and delete them using AI. Its main purpose is to scan new emails with the help of OpenAI, classify their content, and automatically delete those considered marketing (OFFER) or junk (SPAM). The result is a cleaner inbox without the need to manually sift through low-value messages. The classification logic uses a detailed system prompt with practical examples, so even complex or borderline messages are categorized accurately. Important emails — such as payment confirmations,

Hand off to your agent

Prompt

Help me set up the n8n workflow "AI Email Classifier & Auto-Delete for Gmail (SPAM/OFFER Cleaner)" (https://n8n.io/workflows/4507). It uses: Gmail, AI Agent, OpenAI Chat Model. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Similar workflows

NameViews
  1. ✨🤖Automate Multi-Platform Social Media Content Creation with AI205K
  2. Suggest meeting slots using AI78K
  3. ✨🩷Automated Social Media Content Publishing Factory + System Prompt Composition55K
  4. Personalized AI Tech Newsletter Using RSS, OpenAI and Gmail53K
  5. Analyze Any Website with OpenAI And Get On-Page SEO Audit36K
  6. 🧠 Empower Your AI Chatbot with Long-Term Memory and Dynamic Tool Routing29K
  7. Effortless Email Management with AI-Powered Summarization & Review27K
  8. Create & Upload AI-Generated ASMR YouTube Shorts with Seedance, Fal AI, and GPT-424K
Buy me a coffee