Skip to content

Lead Enrichment Pipeline

FieldValue
Namelead-enrichment-pipeline
Categoryautomation
Complexityadvanced
Tagslead-enrichment, google-sheets, llm-scoring, fan-out-pattern, sales-automation, postgres-state
Authorrandybias
Min Version0.1.0

Enrich new leads from Google Sheets with company and person data from multiple sources, score against an ideal customer profile (ICP) with AI, and route qualified leads. Uses a fan-out/fan-in pattern to run three enrichment tracks in parallel before scoring.

┌→ enrich-company ─┐
poll-sheet ───┼→ enrich-person ──┼→ score-leads → store-and-route
└→ enrich-website ─┘
NodePurpose
poll-sheetPoll Google Sheets for new lead entries
enrich-companyEnrich with company data from external API
enrich-personEnrich with person/contact data
enrich-websiteScrape and analyze company website
score-leadsAI-powered ICP scoring using all enrichment data
store-and-routeStore enriched leads to Postgres and route via Slack
  • manual
  • cron — every 5 minutes (*/5 * * * *)
ServiceTypeRequired
Google Sheets APIExternalYes
Enrichment APIExternalYes
Anthropic APIExternalYes
Slack webhookExternalYes
tentacular-postgresExoskeletonYes
Probe targets (company websites)DynamicYes
KeyDefaultDescription
timeout180sPer-node timeout
retries1Retry count per node
sheets_idYOUR_SHEETS_IDGoogle Sheets spreadsheet ID
sheet_nameLeadsSheet tab name
icp_criteriaB2B SaaS, 50-500 employees, Series A-C, technical buyerICP description for scoring
enrichment_api_basehttps://api.example.comBase URL for enrichment API
  • google.access_token — Google API access token for Sheets
  • enrichment.api_key — Enrichment API key
  • anthropic.api_key — Claude API key for ICP scoring
  • slack.webhook_url — Slack webhook for lead routing
Terminal window
tntc scaffold init lead-enrichment-pipeline
tntc scaffold init lead-enrichment-pipeline my-custom-name
tntc scaffold info lead-enrichment-pipeline

Scaffold source: quickstarts/lead-enrichment-pipeline/