Templates / Classify lead function and seniority in Google Sheets with Google Gemini

Classify lead function and seniority in Google Sheets with Google Gemini

Ready for 3.0

by Rishabh Patil · 8 views · created 2026-07-19 · Lead Generation, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 13 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets and Google Gemini.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Global Settings (Edit Fields (Set)): sets 10 fields: Google Document ID, Sheet ID, Batch Size…
  2. Read Data (Google Sheets): uses Google Sheets
  3. Configuration (Code): runs custom JavaScript code
  4. Filter Data (If): checks a condition and branches into true / false
  5. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  6. Normalise Company Name and Job Title (Code): runs custom JavaScript code
  7. Remove Duplicates (Code): runs custom JavaScript code
  8. Wait: pauses before continuing
  9. Gemini Payload (Code): runs custom JavaScript code
  10. Categorization (Google Gemini) (Google Gemini): uses Google Gemini

…plus 2 more steps. See the full node list below.

Services it uses

Google SheetsGoogle Gemini

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (8)

From the author

Quick overview This workflow reads contacts from Google Sheets, uses Google Gemini to classify each contact’s job function and seniority from their job title and company name, and writes the Function, Seniority, and Confidence Score back to the same sheet.…

Excerpt from Rishabh Patil's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.