๐ŸŽซ Classify Gmail leads with Groq AI and sync SLA cases to Supabase via Redis

โšก 50 views ยท ๐ŸŽซ Ticket Management & Triage

Description

Whoโ€™s it for

This workflow is for contractors, freelancers, local service businesses, and small teams that receive leads and customer requests through Gmail but do not have a dedicated sales or admin team.

What it does

This template turns Gmail into an AI lead desk and follow-up tracker. It filters inbox noise, reads real customer emails, and classifies each message by urgency, intent, sentiment, department, technical details, and business value.

Each email gets a color-coded response deadline:

The first workflow watches Gmail, retrieves and cleans the email, classifies it with AI, and publishes the structured case to Redis. The second workflow listens for Redis events and logs each case to Supabase/PostgreSQL as a lightweight CRM and follow-up dashboard.

Requirements

How to customize

Update the blocked Gmail labels, AI prompt, response deadlines, Redis channel, Supabase schema, owner alert logic, and dashboard views to match your business process.

๐Ÿ”— Nodes Used

HTTP Request, Postgres, Redis, Gmail, Redis Trigger, Gmail Trigger

๐Ÿ“ฅ Import

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

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