Templates / Qualify WhatsApp leads and book sales calls with GPT‑4.1 and Google Sheets

Qualify WhatsApp leads and book sales calls with GPT‑4.1 and Google Sheets

Needs changes

by Oneclick AI Squad ✓ · 491 views · created 2026-05-11 · Lead Nurturing, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 18 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model. It also calls api.twilio.com, sheets.googleapis.com and slack.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Normalize Message Fields (Edit Fields (Set)): sets 6 fields: phoneNumber, incomingMessage, messageId…
  2. Load Lead State from Sheet (HTTP Request): calls an HTTP API
  3. JS - Resolve Lead State (Code): runs custom JavaScript code
  4. Python - Detect Intent (Code): runs custom Python code
  5. Route - Book Call? (Filter): keeps only the items that match a condition
  6. Route - FAQ? (Filter): keeps only the items that match a condition
  7. Route - Hot Lead? (Filter): keeps only the items that match a condition
  8. Wait: pauses before continuing
  9. AI - Sales Closer Agent (AI Agent): runs an AI agent, with model: OpenAI GPT-4.1-mini
  10. JS - Score & Format Reply (Code): runs custom JavaScript code

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

Services it uses

OpenAI Chat Model

HTTP calls to: api.twilio.com, sheets.googleapis.com, slack.com, googleapis.com

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in AI - Sales Closer Agent (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →

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.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI - Sales Closer Agent (v1.6)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (9)

From the author

This workflow automatically qualifies leads, answers FAQs, and books sales calls via WhatsApp using AI-powered conversation logic. Who's it for • Sales teams handling high inbound message volume • SaaS / service businesses using WhatsApp for outreach •…

Excerpt from Oneclick AI Squad'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.