Lead Enrichment Agent
Turn a raw email address into a scored, enriched lead — pull company and contact data, have an agent qualify it, and write the result to your CRM.
What you'll build
A workflow that takes a bare email address, enriches it with company and contact data, has an agent score the lead's fit, and writes the qualified record to your CRM — the busywork every sales team wishes it could skip.
Trigger: a webhook from your signup form, or a Schedule that processes new rows in a table.
The workflow
Build it
Starter — receive the email
Add a Starter with a Webhook trigger. The lead's email arrives as {{starter.input.email}}.
Enrich — pull company + contact data
Add a Hunter block to verify the email and fetch company data, or a Clay block for deeper enrichment. Input: {{starter.input.email}}. Output includes company name, size, role, and domain.
Agent — score the lead
Add an Agent with Response Format:
{
"score": "number",
"tier": "hot | warm | cold",
"reasoning": "string"
}Give it your ideal-customer profile in the system prompt, then pass the enrichment data:
Enrichment: {{hunter.data}}
Score this lead 0-100 against our ICP and explain why.Condition — qualify
Add a Condition block: {{agent.output.score}} >= 70. The true branch is a qualified lead; the false branch drops or logs it.
CRM — write the qualified lead
On the true branch, add an Airtable, Notion, or HubSpot-style HTTP block to create the record with the email, enrichment fields, {{agent.output.tier}}, and {{agent.output.reasoning}}.
Make it yours
- Batch it. Wrap the enrich-and-score steps in a Loop block to process a whole table of leads on a Schedule trigger.
- Notify sales. Add a Slack block on the "hot" tier so reps get pinged instantly.
- Dedupe. Query your CRM first with a Condition to skip leads you already have.