Sourcing Studio — how this works
In the app: /sourcing
How it works
Defining a run fires a signed intent to n8n's source-google-maps workflow, which calls our own Maps scraper (or Omkar's, once its key lands) and delivers the businesses it finds back to this app as new Leads — this page never scrapes anything itself. "Push to enrich" then runs a run's Leads through the existing enrichment + scoring pass.
Data source
src/lib/sourcing/sourceRunsRepo.ts (SourceRun + its Leads), written by n8n's callback via src/app/api/webhooks/n8n-source-result/route.ts.
Troubleshooting
A run stuck on "running"? Check /tools for n8n's live/mocked status — under CALLHQ_MOCK_N8N (the default until a founder wires a live n8n), the intent is logged and mocked, so no real scrape ever happens and no callback ever arrives to complete the run.
Vendors: n8n — check Tools for live/mocked status.
Who can see this: admin