Templates / Score and tier inbound B2B leads with OpenAI website research and email

Score and tier inbound B2B leads with OpenAI website research and email

Ready for 3.0

by Anthony Höhener · 2 views · created 2026-11-10 · 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 48 nodes and runs manually, when you click “Execute workflow” (plus 4 other triggers). Along the way it connects OpenAI Chat Model.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 4 other triggers).

  1. Create table lead_scores (Data table): create (table)
  2. Configuration (Edit Fields (Set)): sets 23 fields: my_company, my_offer, target_industries…
  3. Retry of a deferred lead? (If): checks a condition and branches into true / false
  4. Prepare run (Code): runs custom JavaScript code
  5. Load today's AI calls (Data table): get (row)
  6. Already scored? (Data table): row not exists
  7. Run type (Switch): routes items into 2 branches
  8. Check daily budget (Code): runs custom JavaScript code
  9. Log: received (Data table): insert (row)
  10. Score each lead separately (Execute Sub-workflow): calls another n8n workflow

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

Services it uses

OpenAI Chat Model

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

From the author

Quick overview This workflow accepts inbound B2B leads via a secured webhook or n8n form, researches the company website, scores fit/signal/reach with OpenAI, stores results in an n8n data table, emails sales instantly for tier A leads, and sends a weekday…

Excerpt from Anthony Höhener'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.