FM
FlowMarket
Database & SQL Intermediate ⚡ 11 n8n Nodes

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)

Lm Chat Google Gemini Sentiment Analysis Supabase Whats App

📖 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:

  1. Click the Direct Download JSON button above to save Classify_lead_sentiment_with_Google_Gemini_and_send_WhatsApp_res.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related Database & SQL Workflows

View All in Database & SQL →