# Classify lead sentiment with Gemini and Typeform: n8n workflow

> Started by another system calling it, and works across Supabase and WhatsApp. It hands the judgement calls to Gemini.

Source: https://millionrounds.com/workflow/classify-lead-sentiment-with-gemini-and-typeform (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Lead generation](https://millionrounds.com/workflows?category=Lead+generation#library)

# Classify lead sentiment with Gemini and Typeform

Started by another system calling it, and works across Supabase and WhatsApp. It hands the judgement calls to Gemini. 9 steps: a working afternoon to understand properly.

Medium Calls a model: Gemini

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fclassify-lead-sentiment-with-gemini-and-typeform)

**9 steps** Medium: a working afternoon

**0** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 2 Logic 2 Service 4

The steps in the order they run, from what starts it.

- 1 **Google Gemini Chat Model** Lm Chat Google Gemini *Model*
- 2 **Receive New Lead (Typeform)** Webhook *Starts it*
- 3 **Classify Sentiment (Gemini or other ai model)** Sentiment Analysis *Model*
- 4 **Prepare Lead Data** Set *Logic*
- 5 **Store Hot Lead** Supabase *Service*
- 6 **Store Neutral Lead** Supabase *Service*
- 7 **Store Cold Lead** Supabase *Service*
- 8 **Combine Lead Data** Merge *Logic*
- 9 **Send WhatsApp Message** Whats App *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 9
- **Size:** Medium: a working afternoon
- **Connects to:** Supabase, WhatsApp
- **Model:** Gemini

## Questions

What does it need to run?

An n8n account, plus your own Supabase and WhatsApp accounts, and a key for Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 9 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 9 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fclassify-lead-sentiment-with-gemini-and-typeform)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Supabase](https://millionrounds.com/workflows?service=Supabase#library)[WhatsApp](https://millionrounds.com/workflows?service=WhatsApp#library)

## Workflows like it

Also lead generation, with the same services where possible, closest in size first.

- [**Qualify WhatsApp real estate leads with Gemini and Supabase** 9 steps · calls a model · Supabase, WhatsApp](https://millionrounds.com/workflow/qualify-whatsapp-real-estate-leads-with-gemini-and-supabase)
- [**Lead Scorer with Claude** 9 steps · Slack, WhatsApp](https://millionrounds.com/workflow/lead-scorer-with-claude)
- [**Enrich creator handles with Supabase** 8 steps · Supabase](https://millionrounds.com/workflow/enrich-creator-handles-with-supabase)
- [**Lead Generation From Google Maps to WhatsApp (Automated)** 10 steps · Airtable, WhatsApp](https://millionrounds.com/workflow/lead-generation-from-google-maps-to-whatsapp-automated)
- [**Scrape targeted leads from Google Maps & LinkedIn to Supabase** 8 steps · Apify, Supabase](https://millionrounds.com/workflow/scrape-targeted-leads-from-google-maps-and-linkedin-to-supab)
- [**Send WhatsApp booking links for Facebook leads with Sheets** 10 steps · Google Sheets, Redis](https://millionrounds.com/workflow/send-whatsapp-booking-links-for-facebook-leads-with-sheets)
