Classify Lead Sentiment with Google Gemini and Send WhatsApp Responses via Typeform & Supabase

Go to Workflow
709 views
Built by Danielle Gomes Danielle Gomes
Created on June 05, 2026

Description


Automatically classify incoming leads based on the sentiment of their message using Google Gemini, store them in Supabase by category, and send tailored WhatsApp messages via the official WhatsApp Cloud API.

✅ Use Case:
This workflow is ideal for sales, onboarding, and customer support teams who want to:

Understand the tone and urgency of each lead

Prioritize hot leads instantly

Send smart, automatic WhatsApp replies based on user sentiment

🧠 How it works:
Capture lead via a Typeform webhook

Clean and structure the data (name, email, message, etc.)

Run sentiment analysis using Google Gemini to classify the message as:

Positive → Hot Lead

Neutral → Warm Lead

Negative → Cold Lead

Store lead data in Supabase under the corresponding category

Merge data to unify flow paths

Send WhatsApp message using the official WhatsApp Cloud API, with a custom reply for each sentiment result

🔧 Tools used:
Typeform (incoming data)

Google Gemini (AI-based sentiment classification)

Supabase (database)

WhatsApp Cloud API (response automation)

🏷 Tags:
AI, Sentiment Analysis, Lead Qualification, Supabase, WhatsApp, Gemini, Typeform, CRM, Automation, Customer Engagement

Nodes Used (4)

Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
Sentiment Analysis
@n8n/n8n-nodes-langchain.sentimentAnalysis
Supabase
n8n-nodes-base.supabase
WhatsApp Business Cloud
n8n-nodes-base.whatsApp