How It Works
Lead generation is an automation action (generate_leads) that you can drop into any rule. Most workspaces wire it to a scheduled trigger so it fires on a cron (every morning, every Monday, etc.) and quietly drips qualified contacts into the pipeline overnight.
Each run does three things:
- Parses your prompt with an LLM to extract structured search criteria — state, keywords, location, entity type, required contact fields.
- Calls the adapter (web search or a public-records database) with those criteria.
- Creates Account + Contact records stamped with the Source, Stage, and Tags you configured, ready for downstream automations to act on.
The created contacts trigger your existing
contact_created / contact_source_changed rules, so you can chain lead-gen into an email sequence + follow-up task without writing a single line of glue.Adapters
Three adapters ship with every workspace; the right one depends on what you’re hunting for.Web Search (LLM-powered) · web_search
Asks the tenant’s configured LLM to find real businesses matching your prompt and return structured JSON. Works best with web-search-capable models (Perplexity, Claude with the web tool, OpenAI with browsing). Falls back to the default chat model if no web-search model is configured — quality then depends on training-data recall.
- Coverage: any US state, any industry the LLM can recall
- Best for: target lists where you can’t predict what registry the businesses are in (marketing agencies, freelance consultants, niche service providers)
- Trade-off: results require verification — the prompt asks the model never to fabricate contact details, but always spot-check before bulk emailing.
Texas Comptroller · tx_comptroller
Scrapes the free Texas Comptroller Taxable Entity Search (a public alternative to SOSDirect). Returns business name, registered agent, and mailing address.
- Coverage: all entities registered to do business in Texas
- Best for: Texas-focused outreach; account-level prospecting where you need contact info via a different channel (the registry doesn’t carry email)
- Returns: Account records only (no Contact rows — there are no officer names)
Indiana SOS · in_sos
Indiana Secretary of State PublicBusinessSearch. Returns business, entity type, registered agent, address, and officer names.
- Coverage: all entities registered with the Indiana SOS
- Best for: Indiana outreach with named officers to address
- Returns: Account + one Contact per officer
Setting Up a Daily Lead Harvest
The fastest way to get this running is the Daily Lead Harvest template in the Automation Templates gallery.Install the template
Go to CRM → Automations → Browse Templates → Daily Lead Harvest (Web Search) and click Install in My Workspace.
Edit the prompt
Open the
generate_leads step. Rewrite the Prompt to describe your ideal customer (industry, location, size, any must-have signals).Example: “Marketing agencies in the Dallas-Fort Worth area founded in the last 2 years. Only include businesses with a publicly listed email so we can reach out.”Tune the adapter and target
Pick the right Adapter for the geography (Web Search for anywhere; TX or IN for state-specific). Set Target count to the number of qualified leads you want per run.
Stamp Source / Stage / Tags
Pick a Source (e.g.
AI Outreach), the Default Stage for new accounts and contacts, and any Tags so downstream rules can pick them up.Required Contact Fields
Phrases like “only contacts with an email” or “must have a LinkedIn” in your prompt are interpreted as hard requirements — not preferences. When a requirement is set:- The adapter over-fetches and runs up to 4 rounds to hit your target count.
- Businesses without a verified value for the required field are skipped.
- Email values are format-validated as a final safety net — fabricated addresses never reach your CRM.
Prompt Templates
Thegenerate_leads action exposes an optional Prompt template picker. The picker only lists templates of type lead_gen_search — internal parser templates (lead_gen_parser) are hidden.
In most cases the built-in template works fine. Custom templates are useful when:
- You want different system prompts per ICP (one rule harvests “agencies”, another harvests “manufacturers” with very different prompt wording).
- You want to constrain the LLM to a smaller list of source URLs.
- You want to enforce a max-token budget tighter than the default.
Reviewing a Run
Each scheduled run creates an automation task with a Run Summary showing:- The parsed search query (state, keywords, locations, required fields)
- How many rounds were used
- How many leads were examined / created / skipped as duplicates / skipped for missing required fields
- Each created account and contact uid
