Salesforce & Python developer
Raouf Ben Hassine
I build and integrate systems end to end: Apex, Lightning and Service Cloud on one side; Django, FastAPI and Postgres on the other. Because I own both halves, the integration is never someone else's problem.
01 About
For the last six years I've built and refactored Salesforce Service Cloud orgs (trigger architecture, Lightning migrations, reporting), and for two of those I've wired them to external systems with Python backends and REST/Bulk APIs.
I take on Salesforce refactors, Lightning migrations, integrations and Python backend work. I work in English, French and Arabic.
02 Work
Trigger architecture cleanup
Consolidated 60 triggers across 35 objects into one deterministic entry point per object.
Visualforce to Lightning Service Console
Migrated a legacy support solution from Visualforce and JavaScript buttons to a customised Lightning Service Console.
Integrations and performance
Built ChargeOver and Postgres sync handlers and eliminated checkout timeouts caused by slow Salesforce triggers.
03 Writing
View all posts →Consolidating Multiple Apex Triggers into a Single Handler Framework
How to eliminate order-of-execution race conditions, recursion bugs, and governor limit errors by moving multiple Apex triggers into a unified handler pattern.
Building a Salesforce Sync Engine, Part 3: Cross-System Foreign Keys and Distributed Locks
How to resolve circular relational dependencies, manage cross-system foreign keys at scale, and guarantee fail-safe synchronization using PostgreSQL advisory locks.
Building a Salesforce Sync Engine, Part 2: In-Database Transforms and Handling Schema Drift
How to handle Salesforce custom field drift and execute high-speed picklist mapping using PostgreSQL information_schema intersections and JSONB operators.
04 Stack
Salesforce
- Apex & triggers
- Service Cloud & Lightning Experience
- Visualforce → Lightning migrations
- REST & Bulk APIs
Python & backend
- Django & Django REST Framework
- Starlette & FastAPI
- Postgres, webhooks, sync handlers
- Docker, GitHub Actions, Linux
Odoo
- Custom module development (Odoo 17 / 19)
- Salesforce ↔ Odoo sync
- Migration & data pipeline sync
05 Contact
Tell me the problem and I'll tell you how I'd approach it.