DNC Compliance Automation Tool
The Problem
Every contact center with outbound calling has a DNC compliance problem. The Telephone Consumer Protection Act (TCPA) requires that phone numbers on the national Do Not Call registry � and any internal opt-outs � are scrubbed from call lists before dialing. Miss one, and the fine is up to $500 per call. Miss a pattern, and it becomes a class action.
The manual version of this process is: export the list, upload it to the scrubbing service, wait, download the result, re-import to the dialer, start the campaign. That process happens multiple times per day, across multiple campaigns, across multiple dialer platforms simultaneously. It is repetitive, error-prone, and entirely automatable.
This tool automates it.
The Architecture
The DNC Slack Tool is a Slack-integrated job management system for DNC compliance operations. It runs on Google Cloud Run backed by Firestore for job state, and exposes the entire workflow through Slack commands.
An operator starts a scrub job from Slack:
/dnc scrub campaign_name list_id platform:convoso
The job fans out across all configured dialer platforms simultaneously. Status updates stream back into Slack as the job progresses. When complete, the operator gets a summary in the same thread � records scrubbed, clean records returned, errors flagged.
Fan-out design: A single job submission can trigger scrubbing across Convoso and Telesero in parallel. Each platform has its own adapter. Adding a new platform means adding one adapter, not touching the core job logic.
State management: Firestore tracks every job � submitted, running, complete, failed. Jobs are idempotent. If a job fails midway, it can be retried from the last checkpoint, not from scratch.
Slack as the interface: Operators don’t log into a dashboard. They don’t run scripts. The workflow happens where they already are. The Slack thread becomes the audit trail.
The Reliability Story
3,078 unit tests.
That number isn’t about bragging � it’s about what happens when an operations team depends on a compliance tool. A missed scrub isn’t a bug report. It’s a legal exposure. The test floor was built to match the stakes.
The architecture follows Single Responsibility Principle throughout. Each module does one thing. The test suite covers every edge case, every error path, every retry scenario. Integration tests run against a Firestore emulator for full end-to-end verification without hitting production state.
What This Demonstrates
For operations managers: This is the decision layer your dialer doesn’t have. Convoso and Telesero both handle calls. Neither handles compliance workflow across both platforms simultaneously without a human in the middle. This tool removes that human.
For recruiters: 3,078 tests, Cloud Run, Firestore, Slack integration, multi-platform adapter pattern. Production-grade compliance tooling built outside of any engineering team.
Status
Stable and running in production. SRP refactor in progress � the core job logic is clean, the admin dashboard module is in the process of being extracted into its own service.
Built with Python, FastAPI, Google Cloud Run, Firestore, and the Slack SDK. 3,078 tests. Running in production.