Classify lead sentiment with Google Gemini and send WhatsApp res
Automatically classify incoming leads based on the sentiment of their message using Google Gemini, store them in Supabase by category, and send tailored What...
🔌 Nodes & Integrations Used (4)
📖 Implementation & Setup Guide
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
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Classify_lead_sentiment_with_Google_Gemini_and_send_WhatsApp_res.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related Database & SQL Workflows
View All in Database & SQL →Add Netlify form submissions to Airtable
This workflow demonstrates how to use the Netlify Trigger node to capture form submissions and add it Airtable. You can reuse the workflow to add the data to...
Add new contacts from Autopilot to Airtable
This workflow allows you to receive updates when a new contact is added in Autopilot and add them to a base in Airtable. !workflow-screenshot Autopilot Trigg...
Add subscribed customers to Airtable automatically
This workflow allows you to receive updates when a customer is subscribed to a list in GetResponse and add them to a base in Airtable. !workflow-screenshot G...
AI Financial Chart Analyzer Backend
Production-ready n8n automation template for AI Financial Chart Analyzer Backend built by AhiXLight. Seamlessly connects OpenAI with 5 configured nodes.