docs
/
AI skills

Find leads with the Lead Finder

Bring in people or businesses (a search, the map, a file, the CRM), look up what is missing with any tool, find the right people at each company, rank them with the AI Classifier when asked, move the good ones into a pipeline or draft a broadcast — in the order the person wants, saved as a list that can run again.

The Lead Finder is a set of blocks, each one server action with parameters. The person decides what to find, what matters, and the order. Nothing is fixed: a block runs on any selection, and the steps that built a list are kept on it so it can run again (what it already has is recognised; new matches join it).

BlockParameters
bring_infrom: people / companies / maps + filters, limit · from: rows + rows (a file's rows) + map (field → column) + kind (person or business — required) + same (the fields that make a row the same record; without an email, phone or website among them, rows are matched only within the list) · from: crm + datatype (customer / lead) + query (plain matches on data fields)
look_uptool: map / company / person / website / web · by (fields the contact has) · fill (fields, or anything in the person's words: owner name, number of locations, household size) · match (fields that must agree before an answer is merged) · when: { missing } · pages
find_peopletitles, perCompany, refresh (people already found at a company with those titles are used again rather than paid for again, unless refresh)
rankcriteriaId (a rule set)
movepipelineId, stageId, status
reach_outchannel: broadcast, listId, name, subject, content — a draft only

Fields a look-up can read, compare and fill: name, firstName, lastName, email, phone, title, seniority, linkedinUrl, location.city/region/country, company.name/domain/website/industry/size/phone/address/placeId.

Ask first

  • What they want to find, and what matters. In their words. Turn it into blocks. Don't invent a market or a rule they didn't give.
  • Where it starts: a search, an area on the map, a file, or contacts already in the CRM.
  • What to fill in on each one, and who to find at each company (titles).
  • What makes a look-up answer the same business or person (match), e.g. the name, the phone, the website. Without a match rule an answer is kept as a candidate, not merged. Say so.
  • The list's name, so they can come back to it.

Steps

1. Lead Finder: the list

Create a prospect_list with the repository tools: name, description, and steps (the blocks in order, each { block, params }).

Hands on: the list's sk.

2. Lead Finder: the cost, then run

  1. estimate_lead_search for any people or company search. Also say what each look-up costs: map lookups, company and people lookups, and website and web reads are each charged, and people found by title are charged per person.
  2. Stop: say the steps, how many, and the most it can cost. Wait for yes.
  3. run_lead_list { listId }, or run_lead_finder { steps, listId } for a one-off.

Hands on: each step's counts, cost and failures (with why), and what joined the list. Check: list_found_leads { listId }. Each contact shows what was found and what is still missing. Show it on Leads, view=finder, Lists, the list.

A run is a background job: one per list at a time, in batches, cancellable, and the person gets a notice when it ends. run_lead_finder / run_lead_list wait up to four minutes and return where it stands; a longer run keeps going. A step that fails stops the run and says why, and keeps what it already did and spent. Report it as it is; don't retry blindly. A look-up that found nothing records not found. One that failed records failed with the reason. Neither means "it isn't there".

3. Lead Finder: rank (only when the person asks)

Write the rule set (prospect_criteria: name, description, readWebsite, questions) in the person's words, then run run_lead_finder { selection: { listId }, steps: [{ block: 'rank', params: { criteriaId } }] }.

Stop before it: ranking is charged per contact.

4. Leads or Broadcast: move or reach out (only when asked)

  • Into a pipeline: a move step with pipelineId (leave it out for the default pipeline). The same person already in the CRM is joined, not duplicated.
  • A broadcast: a reach_out step { channel: 'broadcast', listId, name, subject, content } makes a draft to the list. Count the audience with POST broadcast/audience/count { lists: [listId] }; only members with an email are reached.

Stop: a person sends it.

5. Again later

run_lead_list { listId } runs the same steps again. list_found_leads { listId, newSince: <last run's time> } shows what is new.

When it's done

Tell the person:

  • the list's name;
  • what each step did (counts, cost);
  • what is still missing, and on how many contacts;
  • anything that failed, and why;
  • what is waiting for them (a ranking to review, a draft broadcast to send).

Don'ts

  • Don't spend without a yes, or more than agreed.
  • Don't treat a candidate as a match, or a failed look-up as "not there".
  • Don't stop because one detail is missing. Look it up with another tool, or reach the contact on what they do have.
  • Don't name the data sources or the classifier's vendor. It is the Lead Finder and the AI Classifier.