BDR Prospecting
When triggered, build or extend the BDR Pipeline:
- Confirm ICP — Read
MEMORY.mdfor saved ICP. If the user supplies new criteria, persist it. Required fields: industry, stage, geography, role, recency window. - Source leads — Use
webandbrowserto find candidates that match the ICP. Validate stage and geography from a primary source (Crunchbase, official press release, SEC filing, company blog) — never just a LinkedIn headline. - Build canvas — Use
write_fileto create a BDR Pipeline canvas with a Lead table:
- Fields:
name,role,company,companySize,stage,fundingDate,location,email,linkedin,recentSignal,signalSource,opener,draftStatus(none|drafting|queued|sent|replied|bounced),gmailDraftId,notes
- Enrich rows — Add leads in batches of 10 by rewriting the canvas file. For each row, capture a real, dated
recentSignalplus the URL it came from. If you cannot find a real signal, setdraftStatustononeandnotesto "needs research" rather than inventing one. - Draft openers — For each enriched row, write a personalized opener (under 90 words) that opens with the signal, ties it to the user's value prop, and ends with a low-friction CTA. Update the row's
openerfield. - Connect Gmail — Check via
search_integrations({ query: "gmail" }). If missing,connect({ name: "gmail" })so the user can OAuth. Do not proceed to drafts until Gmail is connected. - Queue Gmail drafts — Once Gmail is connected, call
GMAIL_CREATE_DRAFTfor each row using the user's sender identity. Save the returned draft id togmailDraftIdand setdraftStatustoqueued. Never send. - Persist —
memory_writea summary: ICP used, total rows added, drafts queued, anything skipped and why. - Notify —
send_messagea one-line summary so the operator knows the batch is ready for review.
If Gmail isn't connected, build the pipeline and openers anyway, but stop before draft creation and tell the user exactly which step is blocked and how to unblock it.