The business problem
A single enquiry can require a phone call and a separate site visit. Duplicate pending actions make it unclear which appointment or follow-up a team member should complete.
Technical constraints
One lead can legitimately have several types of pending action. Staff must be able to tell a duplicate from a different kind of appointment.
Engineering approach
The web app groups pending actions by lead and action type. API changes distinguish a repeated call from a legitimate site visit, while the database keeps an auditable record of the surviving action.
Implemented work
- Lead and property workspaces
- Follow-up scheduling and completion
- Role-based access
- Action history and operational checks
System architecture
A web workspace, API service and background worker share a Prisma-backed PostgreSQL model. The API owns follow-up lifecycle rules.
Engineering challenge
Two open actions for one lead can mean either a duplicate call or two genuinely different tasks. The workflow keeps action type alongside lead identity.
Security and reliability
Role boundaries restrict access to operational records. Verification used an isolated copy of the database.
Testing and outcomes
The project regression report records 30 follow-up scenarios on an isolated PostgreSQL database. Its cases cover creating, completing and deduplicating follow-ups.
Scope of the evidence
The recorded test concerns the follow-up workflow. Customer records, live screens and business outcomes remain private.
Interface detail


