StoreDeal.ai store
Shop
  • Deals
  • Deal checker
  • Black Friday
  • Buying guides
  • Brands
  • Stores
Travel
  • Flight deals
  • Hotel deals
Company
  • Research
  • Press
  • Use in AI assistants
  • Contact
  • deal.ai apps
Black Friday 2026
  • Walmart
  • Best Buy
  • Target
  • TVs
  • Laptops
  • Headphones
  • Apple
  • Gaming
  • Vacuums
  • Kitchen
  • Toys
  • Smartwatches
  • Tablets
  • Furniture
  • Mattresses
© Deal.ai Inc.·2222 Ponce de Leon Blvd, Miami, FL 33134·support@deal.ai
TermsPrivacy
Deal.ai
A
AI B2B Lead Scoring: Webhook to OpenAI, Gmail Drafts & Google Sheets

AI B2B Lead Scoring: Webhook to OpenAI, Gmail Drafts & Google Sheets

Best price now

$38.04at N8N CommerceChecked 4 h ago

Prices are checked against each store and labelled with when.

Visit N8N Commerce

Price facts

  • Lowest price today: $38.04 at N8N Commerce (checked Nov 28, 2026).

Our take on the AI B2B Lead Scoring: Webhook to OpenAI, Gmail Drafts & Google Sheets

This is an n8n automation template that scores inbound B2B form leads with OpenAI and drafts Gmail replies for the best fits. A webhook receives each submission, validates it, sends the lead and your ideal-customer criteria to the OpenAI Chat Completions API, and logs every accepted or rejected lead to Google Sheets. High-scoring leads get a Gmail draft reply that a person reviews and sends. It suits small sales and RevOps teams already running n8n who want triage without a paid lead-scoring platform, but it is a workflow you import and configure, not a hosted app, so you supply the OpenAI key, credentials and scoring criteria.

Best forn8n users automating inbound lead triageSmall B2B sales teams without a lead-scoring toolRevOps teams logging leads to Google SheetsTeams that want human review before any reply goes out
Pros
  • Every lead, accepted or rejected, is logged to Google Sheets
  • Failed or malformed OpenAI responses are flagged needs_human instead of dropped
  • Replies are created as Gmail drafts, so nothing sends automatically
  • Validates email and minimum message length before scoring
  • Score, reason and suggested reply come back from one API call
Cons
  • Requires an n8n instance, OpenAI API key and Google credentials to run
  • Scoring quality depends on how well you write the ideal-customer criteria
  • No automatic sending; someone must review and send each draft
  • Single webhook path with no built-in retry or queue for API outages

AI B2B Lead Scoring: Webhook to OpenAI, Gmail Drafts & Google Sheets prices at every store

  • N8N CommerceNew

    In stockShips from the UK · priced in GBP (£28.99) · duties may apply

    $38.04Checked 4 h ago
    Visit N8N Commerce

About the AI B2B Lead Scoring: Webhook to OpenAI, Gmail Drafts & Google Sheets

This is an n8n workflow that scores inbound B2B leads with AI. It receives form submissions through a POST webhook, validates them, and scores each valid lead against your ideal-customer criteria using the OpenAI Chat Completions API. Every submission is logged to Google Sheets, and high-fit prospects get a Gmail draft reply for a person to review and send.

Webhook and Set and Code nodes normalize the incoming JSON payload and check required fields, including a valid email and a minimum message length. IF nodes route valid and invalid submissions and compare scores against your threshold. The model's response is parsed with fallback logic: if the API call fails or returns invalid JSON, the lead is marked needs_human rather than dropped.

Valid lead details go to the API, which returns a JSON score, a short reason, and a suggested reply draft. Leads that meet your threshold get a Gmail draft addressed to the lead. All scored leads, including low-fit and needs_human ones, are appended to a Google Sheets Leads sheet with score, reason, and status, while invalid submissions go to a Rejected sheet. Nothing is sent automatically.

Platform
n8n workflow
Trigger
POST webhook receiving lead JSON
AI service
OpenAI Chat Completions API, called with HTTP Header Auth (Authorization: Bearer)
AI providers
Any OpenAI-compatible provider by updating the request URL
AI output
JSON score, short reason, suggested reply draft
Validation
Required fields, valid email, minimum message length
Routing
IF nodes separate valid and invalid submissions and check scores against your threshold
Failure handling
Marks the lead needs_human if the API call fails or returns invalid JSON
Gmail
Creates draft replies for leads meeting your score threshold
Google Sheets
Separate Leads and Rejected sheets
Logged fields
Score, reason, status
Setup
Webhook URL, API credential, Gmail account, spreadsheet ID in both Google Sheets nodes
Guidance
Sticky notes in the canvas

Ask our agent about this product

It checks today's price at every store, compares the alternatives and answers in about a minute.

Enter to send, Shift+Enter for a new line

Questions and answers

What do I need to run this workflow?
An n8n instance, an OpenAI API key with access to the Chat Completions API, and Google credentials for Gmail and Sheets. You also write your own ideal-customer criteria for the scoring prompt.
Does it send replies to leads automatically?
No. It creates Gmail drafts for leads above your score threshold. A team member reviews and sends each one.
What happens if the OpenAI call fails?
The lead is marked needs_human and kept rather than lost. You can find it and score it again manually.
Where are rejected leads stored?
Invalid submissions, such as a bad email or a message below the minimum length, go to a Rejected log in Google Sheets.
Can I change the scoring threshold?
Yes. The threshold that decides whether a Gmail draft is created is a setting in the workflow you adjust to your pipeline.
Does it work with forms other than a web form?
It accepts JSON through a POST webhook, so any form or source system that can post JSON to that URL can feed it.
Where is the AI B2B Lead Scoring: Webhook to OpenAI, Gmail Drafts & Google Sheets cheapest?
At N8N Commerce, for $38.04, as of our latest check.