Templates / Automated email classification & response system with Groq AI and Pinecone

Automated email classification & response system with Groq AI and Pinecone

Ready for 3.0

by ResilNext ✓ · 1,153 views · created 2025-07-20 · Ticket Management, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 34 nodes and runs when a new email arrives over IMAP (plus 1 other trigger). Along the way it connects Groq Chat Model, X (Formerly Twitter), Pinecone Vector Store and Embeddings Cohere. It also calls dropbox.com over HTTP.

How it runs

Trigger: When a new email arrives over IMAP (plus 1 other trigger).

  1. Code: runs custom JavaScript code
  2. HTTP Request: calls dropbox.com
  3. Switch: routes items into 7 branches
  4. Extract from File: extracts data from a file (pdf)
  5. Basic LLM Chain: sends a prompt to an LLM, with model: Groq Chat Model
  6. bill send to team (Send Email): sends an email over SMTP
  7. Send to customer (Send Email): sends an email over SMTP
  8. Sentiment Analysis: scores sentiment with AI, with model: Groq Chat Model
  9. RAG INQURY REPLY (AI Agent): runs an AI agent, with model: Groq Chat Model; 1 tool (Pinecone Vector Store)
  10. TO SALES TEAM (Send Email): sends an email over SMTP

…plus 13 more steps. See the full node list below.

Services it uses

Groq Chat ModelX (Formerly Twitter)Pinecone Vector StoreEmbeddings Cohere

HTTP calls to: dropbox.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (16)

From the author

📝 Description This workflow helps automatically classify incoming emails using a combination of conditional logic and minimal AI-based classification. The system checks email content, performs sentiment analysis, uses OpenAI for categorization, and routes…

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