Templates / Qualify and triage leads with Google Gemini, HubSpot, Gmail, Slack and Sheets

Qualify and triage leads with Google Gemini, HubSpot, Gmail, Slack and Sheets

Ready for 3.0

by dilshi ✓ · 0 views · created 2026-10-26 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 44 nodes and runs when an HTTP POST request hits its webhook URL (plus 4 other triggers). Along the way it connects Gmail, Google Sheets, Google Gemini Chat Model and Slack. It also calls api.hubapi.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 4 other triggers).

  1. Set Configuration Variables (Edit Fields (Set)): sets 16 fields: leadLogSheetUrl, businessProfileSheetUrl, businessName…
  2. Route by Lead Source (Switch): routes items into 4 branches
  3. Normalize Lead Data (Code): runs custom JavaScript code
  4. Read Leads for Replying (Google Sheets): read
  5. Read Lead Log Data (Google Sheets): read
  6. Read Leads for Daily Report (Google Sheets): read
  7. Append New Lead to Sheets (Google Sheets): append
  8. Extract New Text from Reply (Code): runs custom JavaScript code
  9. Gather Open HubSpot Tasks (Code): runs custom JavaScript code
  10. Compile Daily Lead Report (Code): runs custom JavaScript code

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

Services it uses

GmailGoogle SheetsGoogle Gemini Chat ModelSlack

HTTP calls to: api.hubapi.com

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.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (When Lead Replies).
Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (13)

From the author

Quick overview This workflow captures website and Google Ads leads via webhooks, logs them to Google Sheets, and uses Google Gemini to qualify them against a Business Profile sheet, then creates HubSpot contacts and call tasks and sends Slack and Gmail…

Excerpt from dilshi'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.