Lead Enrichment Automation with Zapier and ChatGPT
A six-step Zap that enriches new leads from real data, uses ChatGPT only to classify and summarise, and writes AI fields your sales team can tell apart.
Lead enrichment means adding what a form never asks for: company size, industry, what the company actually sells, and whether the lead fits the customer you want. Doing it by hand for every new lead is the kind of work that gets skipped by Wednesday. A Zapier workflow with a ChatGPT step can do most of it in the background, as long as one rule holds: ChatGPT never supplies the facts.
That rule decides the whole design. A model asked “how many employees does Acme Ltd have?” will answer, and the answer may be invented. So in my version of this workflow, the facts come from places that actually hold them: the form, the company’s own website, and any data provider you already pay for. ChatGPT reads that material and does the part it is good at, which is classifying, summarising and writing a short note a salesperson can use. This is one of the workflow recipes in my prompt library, and none of it needs code.
What ChatGPT should and should not do in enrichment
ChatGPT is good at judgement calls on text you give it and bad at recalling facts about specific companies. That splits the enrichment job cleanly in my workflows.
The model’s jobs: decide which of your industry categories a company falls into, based on its own website text. Score how closely the lead matches your ideal customer profile, against criteria you write down. Summarise what the company does in one sentence. Turn a free-text form answer (“we need help with reporting, maybe Q3”) into a clean field like “need: reporting, timeline: Q3”.
Not the model’s jobs: employee counts, revenue, funding, tech stack, or anything else that is a fact about the company. Those come from a data source, or they stay blank. A blank field is honest. An invented “200-500 employees” sends a sales rep into a call with the wrong picture, and nobody can tell afterwards which fields were real.
What you need before you build
You need four things, and I would confirm all of them before opening Zapier.
A Zapier account that allows multi-step Zaps. Check your plan, because this workflow has several steps.
An OpenAI API account. The ChatGPT (OpenAI) app on Zapier connects with an API key, and Zapier’s setup guide says it needs an OpenAI account with prepaid billing enabled, separate from ChatGPT’s own plans. A paid ChatGPT subscription does not cover it. Whoever holds the company card will need to set this up.
Your CRM connected to Zapier. HubSpot, Salesforce, Pipedrive and most others have Zapier apps. You will also need a few new fields in the CRM for the AI output, which I cover in step 5.
A written ideal customer profile. Three to six criteria, in plain words: “B2B software company”, “sells to marketing teams”, “has a sales team”. If your team cannot write these down, the model cannot score against them, and that conversation is worth having before any automation.
The Zap, step by step
Here is the workflow as I set it up. Each step is a step in the Zapier editor.
Step 1: trigger on a new lead. Use your form tool or CRM as the trigger: “new form submission” or “new contact created”. I prefer triggering from the CRM, so leads from every source go through the same enrichment.
Step 2: filter out leads you can’t enrich. Add a Filter step that only continues if the email domain is not a free provider (gmail.com, outlook.com, yahoo.com and so on). A personal email address gives you no company to look up. Filters are free in Zapier’s billing, which counts tasks only when an action step runs, so stopping weak leads early also keeps costs down.
Step 3: collect the facts. This is where the real data comes in. If you pay for a data provider with a Zapier app, add its lookup action here, using the email domain. If you don’t, the company’s own homepage is still a good source. Ask your developer to add a step that fetches the homepage text and strips out the code, which is a short request. Either way, the output of this step is text and data about the company from a real source.
Step 4: the ChatGPT step. Add the ChatGPT (OpenAI) app’s “Send Prompt” action, or “Extract Structured Data” if you want named fields back directly. The prompt is below. Feed it only the outputs of steps 1 and 3.
Step 5: update the CRM. Write the model’s output to dedicated fields, and name every one of them so it is obvious where it came from: “AI industry”, “AI fit score”, “AI summary”. I never let the ChatGPT step overwrite a field that a person or a data provider filled in.
Step 6: route the good ones. Add a Filter or Paths step on the fit score. High-fit leads trigger a message to the owner in Slack or email with the summary attached. Everyone else just gets the enriched record.
The prompt for the ChatGPT step
This is the prompt I put in step 4. The bracketed parts are Zapier fields you map from earlier steps, and the ideal customer profile is typed in once.
You are classifying a new B2B lead. Use ONLY the information below.
Do not use any knowledge you have about this company from training.
If the information below does not answer a question, return
"unknown". Never guess numbers.
Our ideal customer profile:
1. [criterion]
2. [criterion]
3. [criterion]
Lead information:
- Form answers: [mapped from step 1]
- Company website text: [mapped from step 3]
- Data provider fields: [mapped from step 3, if any]
Return exactly these fields:
industry: one of [your list of categories], or "unknown"
fit_score: high, medium, low or unknown
fit_reason: one sentence naming which ICP criteria are met or not,
based only on the information above
summary: one sentence on what the company does, from its website
stated_need: the lead's need and timeline from the form, in under
15 words, or "none stated"
“Do not use any knowledge you have about this company from training” carries the rule from the top of this post into the workflow. “unknown” as an allowed answer matters as much. A model that has to pick a category will pick one, so I always give it a way out. The same discipline runs through my hallucination guardrails, and the fit score is a simple version of what predictive lead scoring does with far more data.
Test it on leads you already know
Before turning the Zap on for new leads, I run it on 20 to 30 old leads whose outcome I already know: some that became customers, some that went nowhere. Zapier lets you test each step with sample data, and you can paste old leads in manually or run them through a copy of the Zap.
Then I compare the fit scores with what happened. If a few closed customers came back “low”, the ICP criteria are wrong or too narrow, and I fix the criteria before the prompt. If the summaries contain anything that isn’t on the company’s website, the prompt is letting the model’s memory in, and I tighten it. Only after a clean test run does the Zap go live.
Privacy and cost, before you switch it on
Two checks belong with whoever owns these areas in your company, and I would not skip either.
Personal data. This workflow sends lead data to OpenAI and possibly to a data provider. Send only the fields the prompt needs (usually the company domain and form answers, rarely the person’s name), and ask whoever handles data protection whether your privacy notice and agreements cover it. If you market in Europe, my GDPR guide for marketers covers the questions they will ask.
Cost. You pay twice: Zapier tasks for each action step, and OpenAI API usage for each ChatGPT call. Both are small per lead, but they scale with volume. The filter in step 2 is the cheapest cost control there is. I check both bills after the first month and adjust before volume grows.
Where this workflow breaks
I have seen three failure patterns in setups like this.
The website text is empty or useless. Some homepages are mostly images or scripts, and the step returns almost nothing. The prompt’s “unknown” path handles this, and the lead gets a human look instead of a confident guess.
Sales stops trusting the fields. One wrong summary that a rep repeats on a call can sink the whole thing. Clear “AI” field names and a visible fit reason help, because the rep can see why the score is what it is. I also ask the sales team to flag wrong summaries in the first month and use those to fix the prompt.
The ICP drifts and the prompt doesn’t. The criteria in the prompt are your strategy written down. When the strategy changes, I update the prompt the same week, or the Zap keeps scoring leads against last year’s customer.
FAQ
Can ChatGPT find a company’s employee count or revenue for me? It can produce a number, but not one you can trust for a specific company. I only take those figures from a data provider or the company’s own published information, and leave the field blank otherwise.
Do I need a paid ChatGPT plan for this? No. Zapier’s ChatGPT app uses the OpenAI API, which is billed separately from ChatGPT subscriptions. What you do need is an API account with prepaid billing.
Can I do this in Make or n8n instead of Zapier? The design is the same in any automation tool: trigger, filter, collect facts, classify, write to labeled fields, route. I describe it in Zapier because it is the tool most marketing teams already have access to.
Is this the same as lead scoring? It is a simple version of it. The fit score here reads one lead against written criteria. A scoring model learns from your historical conversions, which my predictive lead scoring post covers, including how much data that needs.
This post is part of the prompt library. The data hygiene that makes enrichment worth anything is in data cleaning for AI marketing, the role that usually owns this Zap is AI for marketing ops, and the wider practice starts at the complete guide to AI marketing.