A new sign-up lands in your CRM. Before you write to them, someone has to open their website, work out what the company does, check how big it is, skim the news and guess why they signed up. That takes ten or twenty minutes per lead, so it gets skipped, and the first email ends up generic.
The Lead researcher is a ready-made Lark agent that does that work the moment a lead arrives. A webhook from your sign-up form or CRM starts it, it researches the company in a real browser on its own cloud computer, and it sends you a one-page brief with sources and a first email you can send. Lead research becomes a job your company does by itself, on every sign-up, and you step in only to send.
What the AI lead research agent does
The agent's standing instructions are short and specific. From the lead's details, it:
- finds the company's website and works out what it does
- looks up its size, recent news and open roles, using the browser
- writes a one-page brief: who they are, why they might need you, the best angle, and one risk
- writes a short first email in a friendly, specific tone
- cites a source for each claim
- posts the brief to your sales channel if a Slack connector is on
One rule matters more than the rest: if it can't find the company, it says what it tried and stops. It never guesses. A brief built on the wrong company is worse than no brief, so the agent tells you instead of filling the gap.
How it runs
Triggered by a webhook for every new lead
The Lead researcher starts from a generic webhook trigger. Each trigger has its own URL. When your sign-up form, CRM or backend POSTs a new lead to it, Lark starts a run with this task:
A new lead signed up: {{payload}}. Research them and write the brief.
{{payload}} becomes the body that was sent, so whatever fields you include (name, email, company, website, plan, a note from the form) go straight into the task. You can also pick out single values with {{payload.field}} if you'd rather write your own prompt.
The trigger allows up to 100 runs in any 24 hours. Past that cap, the webhook answers 429 and no run starts, so a spam wave of fake sign-ups can't run up a bill.
On its own cloud computer
Each run gets a Linux machine in the cloud with a terminal, files and a real browser. The agent opens the lead's site, clicks through it, reads news pages and job boards, and writes up what it finds. You can watch its screen live from the run's page in Lark, and take over the browser if you want to show it something.
This preset doesn't keep its machine between runs: each lead gets a fresh start, which suits one-off research. If you'd like it to keep notes or logins, you can turn on a kept machine on the agent's page.
When it asks you
If the agent hits something only you can decide, such as a login it doesn't have, it asks. You get the question by Slack, email or text and answer in a tap, and it carries on. You can also message a run while it works ("also check their pricing page") and it reads your message before its next step.
What you get back
The run's final message is the brief itself, in a fixed shape:
- the company and its site
- its size and what it does, in one line
- why they might need you
- the best angle for a first conversation
- one risk
- a link for each claim
- a first email, under 120 words, ready to send
If the company couldn't be found, you get what the agent tried and nothing more. With a Slack connector on, the brief also goes to the sales channel, so the person who owns the lead sees it without opening Lark.
Setting it up in Lark
- Open the Agents page and choose Ready-made agents, then pick Lead researcher. The usual agent form opens, filled in.
- Fill in the blanks in its instructions. The brief says "why they might need us", so tell the agent who "us" is: your product, who it's for and what makes it a fit. The more specific you are, the sharper the angle and the email.
- Connect the services it uses. Slack is optional, for posting briefs to a channel.
- Copy the trigger's webhook URL and secret into the service that sends new leads. The sender signs each body with the secret in an
X-Lark-Signatureheader. If it can't sign, it can POST to the URL with the secret on the end instead. - The trigger starts paused. Turn it on when you're ready.
To test it before going live, send a lead by hand. Here is the signing example from the docs, with a lead body:
BODY='{"name":"Ada Lovelace","company":"Analytical Engines"}'
SIG="sha256=$(printf '%s' "$BODY" | openssl dgst -sha256 -hmac "$TRIGGER_SECRET" -hex | sed 's/.* //')"
curl -X POST "$TRIGGER_URL" -H "content-type: application/json" -H "X-Lark-Signature: $SIG" -d "$BODY"
Lark answers 202 with the run's id, and the run shows up on the agent's page.
Guardrails
- No guessing. If the company can't be found, the agent stops and says what it tried.
- Sources for every claim. Each line of the brief has a link you can check.
- It drafts, you send. The first email comes back to you; the agent's instructions don't send it.
- A daily cap. At most 100 runs from this trigger in any 24 hours.
- Signed webhooks. Lark checks the signature on each POST and answers 401 to a bad one. A repeated delivery starts only one run.
- Your budget. When your organization's monthly budget is used up, new runs are refused.
Costs
Lark runs on credit. Free includes $1 of agent credit a month; Pro is $29 a month and Team is $99, and all of it comes back as credit. Credit pays for the model tokens and machine time each run uses, at the providers' prices plus 20%.
Every run shows what it has cost as it works, so after a few leads you'll know what a brief costs you. Each agent also has a per-run cap, and a monthly budget stops all agents exactly where you set it. The Lead researcher uses a fast model by default; you can change it on the agent's page. See how AI agent costs work on Lark and the plans on the pricing page.
FAQ
What data does the webhook need to send?
A name and email at minimum, and ideally the company name or website. The whole body goes into the task, so extra fields like plan or a form answer help the agent pick a better angle.
Does it send the email for me?
No. The first email is part of the brief it hands back to you (and to Slack, if connected). You read it, edit it and send it yourself.
Can I change what goes in the brief?
Yes. The instructions are plain text on the agent's page. Add what your team cares about, such as the tech stack or the likely buyer, and later briefs include it.
What about outreach to people who haven't signed up?
That's a different job. The go-to-market agent finds people who need your product and leaves drafts in Gmail for you to send. For more agents that start themselves, see the blog or read how to run AI agents on a schedule and from webhooks.