Web app2026
Sales CRM for a creator-marketing agency
The agency captures leads on several landing pages, forms and WhatsApp, and its sales team needed one place to receive, route and follow them up. I built the CRM the team works in: every source feeds one pipeline, new leads go to a salesperson with a first-contact deadline, and conversations, tasks and goals sit next to each lead.
Credits Implementation assisted by AI coding agents. WhatsApp (Meta Cloud API) and Meta as providers

Intake
Every source into one pipeline
- Landing pages, forms and the official WhatsApp line send leads through one intake API. Each capture page is its own source, so the home screen and the origin filter read the same field and can't disagree.
- Leads carry temperature, product line, type and priority, and enter a pipeline that mirrors the agency's sales stages.
Routing
A salesperson and a deadline for every new lead
- New leads are assigned by rotation. A scheduled check sends a lead back to the rotation if nobody contacts it within the first-contact deadline, without giving it to the same person again.
- Only the entry stage counts for that deadline: leads moved to follow-up later or to nurturing don't loop through the rotation.

Inbox
Conversations next to the pipeline
- WhatsApp conversations show the lead's stage and history beside the messages.
- Every lead arrives on the official line. After triage, a salesperson can move the conversation to an extra line connected by QR code, keeping the same conversation and timeline. Extra lines never receive new leads, and the official line stays the main channel, because QR-connected lines can be cut off by Meta.


Sales operation
Tasks, agenda and goals
- Tasks and an agenda for each salesperson, team views and insights for the manager.
- Monthly goals work backwards from the target: planned conversion rates by stage, the numbers expected to date and each stage's pace.
- Three roles (admin, operator and viewer) decide who can change what.

Nurturing
Built, live sending not yet verified
- A lead entering a configured stage starts a journey, and leaving that stage stops it. Admins can still add leads by hand after a review that shows who is eligible and why.
- Each step waits in an outbox until its time and send window. A reply, or a message sent by a person, stops the journey.
- The dispatcher has a simulation mode, in which due steps are only evaluated and recorded. The screens below come from simulation. Sending to real leads in production has not been verified.


Tech details
How it's built
- Data: Supabase Postgres with 152 migrations. Each capture page is a lead source resolved from the page URL and the source app at intake.
- Webhooks: WhatsApp (official line and QR-connected lines) and Instagram; lead intake by API, including an Elementor form endpoint.
- Scheduled jobs: first-contact routing deadline, nurturing dispatch and stage events, ad data sync, WhatsApp line health and a daily briefing.
- Releases: since 2 October 2026 the main branch only accepts pull requests that pass five checks, and only a commit that passed them reaches the domain.
- History: 682 commits between 3 July and 2 October 2026.
- Screens: an isolated demo that runs the CRM's code against synthetic data, with no production API or real lead.
What this means for your business
If your sales team works leads from several pages and channels, I can build the intake, routing and pipeline around how your team actually sells, and connect it to the messaging and ad tools you already use.
or e-mail contato@rafaelshopify.dev


