AI Automation / Lead Management·1 Week·n8n Automation Expert & Shopify DeveloperDelivered

n8n Leads Classifier

AI-powered lead classification pipeline — Shopify storefront, n8n orchestration, and a real-time admin dashboard.

n8nShopifyOpenAIGoogle SheetsGmailWebhooks
n8n Leads Classifier

Project Type

AI Automation / Lead Management

Timeline

1 Week

My Role

n8n Automation Expert & Shopify Developer

Status

Delivered

The Challenge

Inbound Messages With No Triage or Routing

The client was receiving contact form submissions with no way to distinguish hot leads from spam, general questions, or partnership opportunities. Every message landed in one inbox, forcing manual review and slowing response times to high-value prospects.

  • No automated classification — every submission required manual reading and sorting
  • Leads, spam, and general enquiries all mixed together in a single inbox
  • No structured logging for CRM follow-up or analytics on lead quality
  • No instant notifications when a high-priority lead came in
n8n Leads Classifier screenshot
The Solution

Shopify Frontend + n8n AI Classification Pipeline

I built a Shopify "AI Lead Qualifier" contact form that POSTs to an n8n webhook. The n8n workflow uses a GPT classifier node to categorise each submission, then branches to Google Sheets logging and Gmail notifications — with a linked admin dashboard for reviewing all classified leads.

Shopify Contact Form

Clean dark-themed UI with name, email, subject, and message fields. Submits directly to the n8n webhook URL for instant processing.

GPT Lead Classifier

n8n AI node analyses each message and classifies it as a lead, opportunity, question, or spam — with an AI-generated summary for quick review.

Google Sheets CRM Log

Every submission is appended to a structured Google Sheet with columns for Timestamp, Name, Email, Subject, Message, Category, and AI Summary.

Gmail Notifications

Automated email alerts fire on classification — routing high-priority leads to the right inbox immediately without manual checking.

Admin Dashboard

Linked dashboard view for reviewing all classified leads, filtering by category, and tracking inbound volume over time.

Webhook Architecture

Shopify sends JSON payloads to the n8n webhook trigger — decoupling the storefront from the automation logic for easy scaling and maintenance.

The Results

Zero Manual Triage, Instant Lead Routing

4
Classification categories
<3s
End-to-end processing time
100%
Submissions auto-logged
0
Manual sorting required
  • Every inbound message classified and logged automatically on submission
  • High-priority leads trigger instant Gmail notifications
  • Google Sheets provides a structured CRM-ready log with AI summaries
  • Admin dashboard gives full visibility without touching the n8n editor
  • Webhook architecture allows the frontend and workflow to scale independently
  • Extensible to Slack alerts, CRM sync, and automated follow-up sequences