Skip to Content
ExamplesEnrich & route leads

πŸ“ˆ Enrich and route inbound leads

Stack β€” Trigger: your form/CRM calls the agent API Β· Models: your choice Β· Tools: CRM API (HubSpot/Salesforce), enrichment API Β· Mode: single agent + constraints Β· Output: scored + routed lead, Slack ping

Who it’s for β€” sales teams where good leads sit in a queue while reps chase noise. What it does β€” takes a new lead, enriches it (company size, industry, tech stack), scores it against your ICP, writes the lead back to the CRM with a reason, and pings the right rep in Slack for anything hot.

Build it

  1. Connect your CRM and an enrichment source. Connect API for HubSpot or Salesforce, and for Clearbit or a similar enrichment endpoint β€” each becomes typed tools.
  2. Create the agent with your qualification rubric in the instructions: enrich, score against ICP (mid-market SaaS, 50+ seats), and set a routing owner.
  3. Encode the rules as constraints β€” never mark a personal-email lead as enterprise; always fill the score-reason field β€” so scoring stays consistent, not vibes.
  4. Write back to the CRM β€” the agent updates the lead record with score, segment, and reason via the CRM tools.
  5. Notify β€” publish on Slack so hot leads land in #sales with the enrichment summary and a link to the record.
  6. Trigger it β€” have your web form or CRM webhook call the agent’s API on lead creation.

Make it yours

  • Add a debate collaboration for borderline scores β€” two models argue fit, a judge decides.
  • Draft a first-touch email as part of the run (see Draft follow-ups from meeting notes).
  • Route by territory or product line with a lookup tool.

Uses β€” Sales Β· CRM Β· Slack Β· Constraints