Templates / Score and enrich Webflow leads with OpenAI, Apollo, Pipedrive and Gmail

Score and enrich Webflow leads with OpenAI, Apollo, Pipedrive and Gmail

Ready for 3.0

by Pavel Vainshtein ✓ · 5 views · created 2026-09-03 · 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 workflow has 12 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Gmail. It also calls api.apollo.io and api.openai.com over HTTP.

How it runs

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

  1. Configure inbox and ideal customer (Edit Fields (Set)): sets 4 fields: notification_email, pipedrive_company_domain, ideal_customer_profile…
  2. Normalize Webflow submission (Code): runs custom JavaScript code
  3. Enrich person and company with Apollo (HTTP Request): calls api.apollo.io (POST)
  4. Build evidence-based scoring request (Code): runs custom JavaScript code
  5. Score lead with OpenAI (HTTP Request): calls api.openai.com (POST)
  6. Validate score and prepare CRM record (Code): runs custom JavaScript code
  7. Create Pipedrive person (HTTP Request): calls an HTTP API (POST)
  8. Create Pipedrive lead for every submission (HTTP Request): calls an HTTP API (POST)
  9. Save score and enrichment in Pipedrive (HTTP Request): calls an HTTP API (POST)
  10. Is the validated AI score exactly 100? (If): checks a condition and branches into true / false

…plus 1 more step. See the full node list below.

Services it uses

Gmail

HTTP calls to: api.apollo.io, api.openai.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.

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 (6)

From the author

Quick Overview This workflow receives Webflow form submissions, enriches the lead with Apollo data, scores it with OpenAI, and creates a Person, Lead, and qualification note in Pipedrive; only leads with a validated score of exactly 100 also trigger a…

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