Backend Engineering
Real-Time CRM Backend & Call Processing Pipeline
Flask + PostgreSQL backend for a property-acquisition CRM with Twilio Voice/SMS webhooks, Socket.io live updates, and an automated call-recording transcription and scoring pipeline.
- Flask
- SQLAlchemy
- PostgreSQL
- Twilio Voice & SMS
- Socket.io
- LangChain
- Airtable
- S3
- Lambda
- CodePipeline
- CloudFormation
The problem
CRM users needed to see calls and SMS activity the moment it happened, and call recordings had to be transcribed and assessed without anyone doing it by hand.
What I built
- Built the CRM backend with Flask, SQLAlchemy and PostgreSQL.
- Integrated Twilio Voice/SMS webhooks and pushed events to the UI in real time over Socket.io.
- Automated call handling: recordings stored in S3, transcription workers process them, and LangChain-based classification scores each call.
- Deployed with AWS CodePipeline and CloudFormation.
Architecture
Simplified request flow and delivery pipeline.
Telephony
- TwilioVoice + SMS webhooks
API
- Flask APISQLAlchemy
- Socket.ioLive events → CRM UI
Processing
- Amazon S3Call recordings
- Transcription workerLangChain scoring
Data
- PostgreSQLCRM data
Delivery pipeline
- Source
- CodePipeline
- CloudFormation deploy
Outcome
- Call and SMS updates appear in the CRM without refreshing.
- Recordings are transcribed and scored automatically.
- Infrastructure is defined as code with CloudFormation.
Need something like this built?
Happy to talk through your AWS infrastructure or delivery pipeline.