sdr calling
A consolidated lead-recovery service that finds idle leads and routes them into JustCall campaigns.
tldr
A scheduled lead-recovery system that finds no-shows, non-bookers, and estimator leads, enriches them, and routes them into the right calling workflow.
the problem
Lead recovery was spread across several scripts and operational lists. Without one scheduler and shared state, the same person could be contacted twice or skipped when a workflow restarted.
what it is
A consolidated lead-recovery service that finds idle leads and routes them into JustCall campaigns.
why it is useful
It turns several fragile recovery workflows into one monitored system that keeps no-shows, non-bookers, and estimator users moving toward a call.
architecture
One Railway deployment runs an Express dashboard and scheduler. Node child processes handle no-show, no-booking, call-sync, and reporting jobs, while a persistent Python poller handles lead-estimator enrichment. Google Sheets stores workflow state and logs; Postgres supplies booking data.
how it works
- Scheduled jobs identify leads that match no-show, non-booking, or estimator criteria.
- The system checks sheet and database state before adding someone to a campaign.
- Missing phone numbers are enriched through Apollo or FullEnrich.
- The dashboard exposes additions, skips, call history, and the health of each workflow.
implementation notes
- Covers no-shows, two no-booking flows, and lead-estimator submissions.
- Uses date-aware scheduling, overlap guards, retry handling, and durable sheet state.
- Enriches missing phone numbers through Apollo and FullEnrich before dialer insertion.
- Keeps a dashboard of additions, skips, call history, and workflow status.
engineering decisions
- Uses overlap guards and date-aware scheduling so jobs do not duplicate each other.
- Keeps durable state in Sheets and Postgres rather than trusting process memory.
- Separates the long-running Python poller from the Node scheduler because they have different timing and failure modes.