CCDM: omnichannel campaigns and a referral workflow for Clínica Ciudad del Mar
Scope: two systems in production for the same clinic. CCDM Omni sends campaigns over WhatsApp, email and SMS; CCDM Derivaciones runs referrals and medical orders through to cash reconciliation.
- Sector
- Healthcare
- Role
- CTO at Blanco Brand
- My part
- Technical direction, as CTO of Blanco Brand.
- Period
- CCDM Omni, since May 2026
- Status
- Both systems in production
- Team
- Eight authors on CCDM Derivaciones
System blueprint
The flow, in text
- CCDM Omni sends campaigns to Clínica Ciudad del Mar’s patients.
- The CCDM Omni API works with queues on BullMQ and Redis.
- Campaigns go out over WhatsApp, email and SMS.
- In CCDM Derivaciones, Excel spreadsheets are uploaded to the system.
- The workflow covers assignment and payer for referrals and medical orders.
- It has reminders and a WhatsApp inbox.
- The workflow includes cash reconciliation. Underneath, the foundation both systems share: NestJS, MongoDB and Cognito.
Foundation both systems share: NestJS · MongoDB · Cognito · Diagram. Not live data.
Product in use
Problem and constraints
Clínica Ciudad del Mar has two different tasks with its patients. One is sending them campaigns over several channels. The other is running the workflow for referrals and medical orders, including cash reconciliation.
Constraints
- Campaigns go out on three channels: WhatsApp, email and SMS.
- The referral workflow includes Excel upload and cash reconciliation.
Decisions and architecture
They are two separate systems, CCDM Omni and CCDM Derivaciones (referrals), built on the same foundation: NestJS, MongoDB and AWS Cognito.
CCDM Omni sends omnichannel campaigns to patients, over WhatsApp, email and SMS. Its API works with queues on BullMQ and Redis, and with Socket.IO. It integrates with Meta WhatsApp, Twilio, Microsoft Graph for email and SES for bulk sends.
CCDM Derivaciones runs the referral and medical-order workflow: assignment, payer and reminders. It has a WhatsApp inbox, Excel upload and cash reconciliation. It uses S3, Microsoft Graph, a Meta webhook and Socket.IO.
The CCDM Omni web app is React 19 with Vite 7, Tailwind CSS v4 and shadcn components, with tests on Vitest.
Results
Both systems are in production. CCDM Omni has been in development since May 2026.
- 3channels for patient campaigns: WhatsApp, email and SMS.
- 6functions in the referral workflow: assignment, payer, reminders, WhatsApp inbox, Excel upload and cash reconciliation.
- 2systems for the same clinic: CCDM Omni and CCDM Derivaciones.
Limits
- This case describes the scope of the system; it does not include measured results.
- It does not publish campaign metrics.
Do you have a system that cannot be touched?
Tell me the problemWant the full career history?
View the CV