๐ŸŽฃ Classify lead sentiment with Google Gemini and send WhatsApp responses via Typeform & Supabase

โšก 1,440 views ยท ๐ŸŽฃ Lead Generation & Enrichment

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

Webhook, Supabase, WhatsApp Business Cloud, Google Gemini Chat Model, Sentiment Analysis

๐Ÿ“ฅ Import

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

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