Templates / Score and qualify Google Sheets leads with OpenAI gpt-4o-mini

Score and qualify Google Sheets leads with OpenAI gpt-4o-mini

Ready for 3.0

by FirstDropHQ ✓ · 17 views · created 2026-07-23 · 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 workflow has 9 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets. It also calls api.openai.com over HTTP.

How it runs

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

  1. ⭐ Configure Your Run (Edit Fields (Set)): sets 4 fields: max_per_run, openai_model, icp_description…
  2. Read Leads (Google Sheets): uses Google Sheets
  3. Select Pending (Code): runs custom JavaScript code
  4. Build Scoring Prompt (Code): runs custom JavaScript code
  5. Score Lead (OpenAI) (HTTP Request): calls api.openai.com (POST)
  6. Parse Score (Code): runs custom JavaScript code
  7. Write Score (Google Sheets): update
  8. Qualified Leads (≥ min score) (Code): runs custom JavaScript code

Services it uses

Google Sheets

HTTP calls to: 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.

Nodes used (5)

From the author

Quick overview This workflow reads leads from a Google Sheets spreadsheet, scores each pending lead against your Ideal Customer Profile using the OpenAI Chat Completions API, writes the results back to the sheet, and outputs only leads that meet your minimum…

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