🎣 Score inbound B2B leads with OpenAI GPT-5.4 using Tally and Google Sheets

⚡ 65 views · 🎣 Lead Generation & Enrichment

Description

Description

This workflow automatically scores B2B leads by fetching and analyzing real company website data. It helps marketing and sales teams qualify inbound leads without manually researching each company.

Overview

A marketing employee submits a company name, LinkedIn URL, website URL, and scoring criteria through a Tally form. The workflow fetches the company’s actual homepage, strips it to readable text, and runs it through a chain of three AI agents: one to normalize the input, one to extract intelligence from the real website content (tech stack, industry, company size signals), and one to score the lead against the submitted criteria. The scored, enriched lead is logged to a Google Sheet with a grade and recommended next action for the sales rep.

Tools Used

How it works

  1. A marketing employee fills out a Tally form with the company name, LinkedIn URL, website URL, and which scoring criteria matter (company size, industry fit, tech stack, geography, funding stage, hiring signals).
  2. The Tally Trigger fires and sends the raw submission to Agent 1, which normalizes the payload into clean structured fields.
  3. An HTTP Request node fetches the company’s homepage HTML directly.
  4. A Code node strips the HTML down to plain readable text (removes scripts, styles, navigation, footers) and truncates to 6,000 characters.
  5. Agent 2 reads the actual homepage content and extracts structured intelligence: what the company does, their tech stack, company size signals, industry, and signals relevant to the buyer’s criteria.
  6. Agent 3 scores the lead 1-10 against the submitted criteria using the real website intelligence, assigns a grade (A-D), and writes a recommended action for the sales rep.
  7. The enriched lead is appended to a Google Sheet.

How to Install

  1. Import the Workflow: Download the .json file and import it into your n8n instance.

  2. Configure Tally: Add your Tally API key in n8n credentials (get it from Tally > Settings > Integrations > API). Select your Tally form in the Tally Trigger dropdown.

  3. Configure OpenAI: Add your OpenAI API key in n8n credentials.

  4. Configure Google Sheets: Add Google Sheets OAuth2 credentials.

  5. Create a Tally Form: Create a lead scoring form in Tally with these fields:

    • Company Name (short text)
    • LinkedIn URL (URL field)
    • Company Website URL (URL field)
    • Scoring Criteria (checkboxes: Company Size, Industry Fit, Tech Stack Match, Geography, Funding Stage, Hiring Signals)
    • Additional Notes (long text, optional)
  6. Set Up Google Sheets: Create a spreadsheet with a tab named exactly leads and these column headers in Row 1 (all lowercase, copy-paste ready):

    timestampcompanywebsite_urllinkedin_urlcriteriacompany_summarytech_stackscoregradereasoningrecommended_action
  7. Connect the Sheet: Paste your spreadsheet ID into the Append Lead to Sheet node.

  8. Test: Submit a test entry through your Tally form to verify data flows through all stages.

Use Cases

Notes

Connect with Me

#n8n #automation #tally #openai #gpt5 #leadscoring #b2bsales #salesautomation #googlesheets #leadsqualification #aileadscoring #marketingautomation #n8nworkflow #workflow #nocode #salespipeline #prospecting #leadenrichment #techstack #tallyforms #inboundleads

🔗 Nodes Used

Google Sheets, HTTP Request, AI Agent, OpenAI Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup