Log/Outbound/

Classifying cold email leads by company type before sending

A Make scenario scrapes each site, lets GPT classify, writes back to the sheet. 3,314 rows, 23% saved on dedup first, review before anything goes out.

I was prepping a cold email list for an advisory firm running outreach in several European countries. The list looked clean on the surface: 3,314 rows with names, titles, companies, emails. The problem was underneath. The list mixed two types of companies that needed different pitches, and the same copy to both audiences throws the campaign away.

So I built a classifier that reads each company’s website, decides what kind of business it is, and leaves the shaky calls for a human to check before any send.

Dedup first, classify second

Running the classifier on 3,314 rows means 3,314 scrapes and 3,314 GPT calls. Before touching any of that, I looked for duplicates by email.

605 addresses appeared more than once. 536 of those were the same person who had landed in several exports from Apollo. 69 were real repeat rows from the same import. I collapsed to one row per address and merged the source-list field with a separator so I kept the history.

Result: 3,314 unique rows became 2,553. Roughly 23% fewer classifier calls, which also means 23% less money burned on what was going to be the slow step anyway.

Keywords from Apollo as a cheap fallback

The master list had no website column, only an email. For each row I derived https://{domain} from the email. That works most of the time but fails on slow or empty sites.

I had four Apollo exports from earlier work on the same list. Matching all four back onto the master by email filled in apollo_keywords and apollo_industry for 3,050 of 3,314 rows, a 92% hit rate. Those keywords are not strong enough to decide the company type on their own, but they are a free fallback for rows where the scrape times out.

The classifier

Seven modules in Make. Filter rows where company_type is empty, take 100 per run. Derive the website from the email. Scrape with a 10-second timeout and truncate the body to 6000 characters so GPT does not choke on a long homepage. Call gpt-5.4-mini in JSON mode with one rule in the system prompt: “a type is assigned only if the website proves it.” Parse the response. Write back to the same row.

Columns written: company_type, type_evidence, activity_summary, confidence. One extra column, needs_review, flips to true whenever confidence drops below 0.6.

Trigger: every 5 minutes, indefinitely. The “already classified” gate is company_type being populated, so the scenario is idempotent and resumable. If it crashes halfway, the next tick picks up where it left off.

Where the person stays

AI is confident on about three quarters of the rows and shaky on the rest. The needs_review column is where I look before any cold email goes out. In the first few runs the scenario classified 244 rows. The 3 it could not place and every row under 0.6 confidence get a human pass before the sender touches them.

What I would do differently

1,248 of 3,314 rows (37.7%) share a domain with at least one other row. The classifier runs the same scrape and the same GPT call on each one, which is waste. Next time I will put a Make data store keyed by domain in front of the scraper, so the first lead per company does the work and the rest copy the result. That is another 38% of calls removed, on top of the 23% from email dedup.

The other thing worth stealing: Make’s updateRow keys columns by position, not header name. One mistyped index silently overwrites the wrong column across every row. Write the classifier against a small test tab first, ten rows of mixed types, and watch each column fill before pointing it at the real sheet.

All entries · Book a call · Discuss on X