HomeCase studiesMulti-Tenant Site Issue Alerting and Ticket Resolution...

Case study · Birmingham, United Kingdom

Multi-Tenant Site Issue Alerting and Ticket Resolution Mobile Application

Field service and multi-location operations, delivered as a subscription service (SaaS)

Multi-location retail, hospitality, and facilities operators face immediate revenue and safety exposure when critical site equipment fails and maintenance alerts go unnoticed. We built a subscription-based cross-platform React Native mobile application integrating Firebase Cloud Messaging with Twilio programmable SMS and voice escalation to guarantee rapid fault acknowledgement and structured ticket resolution. Site managers log issues with visual evidence in seconds, while SLA timers automatically escalate unacknowledged incidents across contractor tiers until a qualified engineer claims and resolves the ticket.

Industry
Field service and multi-location operations, delivered as a subscription service (SaaS)
Solution
A multi-tenant React Native mobile application combining real-time ticketing workflows with Firebase push notifications and Twilio SMS/voice SLA escalation.
Platforms
Android · iOS · Cross-platform
Stack
React Native · React · JavaScript · Firebase · Twilio · Node.js
Location
Birmingham, United Kingdom · delivered remotely
Role
Engineering, with the team behind for mobile and QA

Delivered remotely for a business based in Birmingham, United Kingdom. Names withheld by agreement.

Project Overview

Industry: Field service and multi-location operations, delivered as a subscription SaaS platform.

Solution summary: A multi-tenant React Native mobile application uniting fault reporting, contractor ticketing, Firebase push notifications, and Twilio SMS/voice SLA escalation.

Organisations operating dozens or hundreds of retail branches, hospitality venues, or commercial facilities face constant operational friction when critical equipment breaks down. A failed walk-in chiller, malfunctioning HVAC controller, or blocked loading bay door immediately disrupts trading, yet traditional helpdesk email queues let urgent faults sit unread while managers and contractors trade missed calls. Delivered as a multi-tenant SaaS mobile product, this React Native application connects front-line site managers directly with internal technicians and external maintenance contractors through deterministic ticket workflows and automated multi-channel escalation.

Multi-Site Escalation Bottlenecks

Silent alert failures on urgent faults. Standard push notifications frequently go unnoticed when on-call technicians are driving, wearing ear protection, or operating in low-signal basements where data packets lag.

Unstructured fault descriptions. Site managers reporting problems over voicemail or generic forms often omitted asset tags, exact locations, or error codes, forcing engineers to arrive on site blind or make repeated diagnostic trips.

Opaque contractor accountability. Without clear timestamps separating ticket creation, first acknowledgement, arrival on site, and repair completion, regional operations teams could not distinguish slow vendor response from complex technical repairs.

Privacy and coordination friction with external vendors. Giving third-party contractors personal phone numbers of branch managers created off-platform side channels where updates vanished from the central audit trail.

Architectural Strategy

Escalation-first alerting pipeline. Rather than treating notifications as fire-and-forget messages, the backend couples ticket severity directly to SLA countdown timers. Unacknowledged incidents escalate automatically from Firebase push notifications to Twilio SMS and automated voice prompts across backup responder tiers.

Configuration-driven multi-tenancy. Because each subscribing business runs different site hierarchies, fault taxonomies, and contractor routing rules, the React Native client renders categories, severity guidance, and mandatory closure fields from tenant-scoped API schemas rather than hard-coded templates.

Strict ticket lifecycle state machine. Every incident moves through explicit, server-enforced states (Open, Acknowledged, En Route, On Site, Awaiting Parts, Resolved, Verified), eliminating ambiguous free-text status updates and enabling accurate SLA measurement.

In-app communication tied to ticket context. Masked Twilio voice bridging and threaded photo comments keep troubleshooting inside the incident timeline while shielding personal contact numbers.

Core Capabilities

Fast mobile issue intake. Branch staff select their site, pick the affected asset category, attach photos or short symptom notes, and set urgency in under a minute—eliminating back-office helpdesk bottlenecks.

Multi-channel SLA escalation. High-priority tickets dispatch instant Firebase notifications to assigned responders; if unclaimed within the tenant's SLA window, backend schedulers trigger Twilio SMS reminders and voice alerts to secondary technicians or regional managers.

Contractor triage and ownership locking. Field engineers review open tickets across assigned sites, inspect historical repairs on the same asset, and claim ownership with one tap to halt further escalation.

Masked click-to-call coordination. Responders initiate voice calls to site contacts straight from the ticket view via Twilio proxy numbers, preserving privacy while automatically logging contact events.

Evidence-backed resolution and verification. Closing a ticket requires repair notes, follow-up recommendations if temporary fixes were applied, and post-work verification photos before the site manager confirms closure.

Technical Architecture

The mobile client in React Native communicates over authenticated REST endpoints with a Node.js backend that coordinates tenant isolation, SLA escalation workers, Firebase Cloud Messaging, and Twilio webhooks.

Flow: Site manager submits fault with photos in React Native -> Node.js API validates tenant schema, stores ticket in Open state, and schedules SLA escalation timer -> Firebase Cloud Messaging dispatches immediate push alert to primary contractor group -> If unacknowledged at timer expiry, backend scheduler invokes Twilio SMS / Voice API to escalate to backup tier -> Responding technician taps Accept -> Atomic API lock transitions ticket to Acknowledged, cancels pending escalation jobs, and updates site manager timeline via Firebase -> Technician resolves fault and uploads verification photo -> Site manager confirms closure.

To handle erratic site connectivity, pending comments, status updates, and resolution photos buffer locally on the handset until network reachability resumes, syncing in chronological order.

Technology Stack

Category Technology detail
Mobile framework React Native with React powering Android and iOS cross-platform builds from a unified codebase
Language JavaScript (ES6+) across mobile views, state workflows, and backend escalation services
Push alerting Firebase Cloud Messaging delivering priority-channeled ticket alerts, comments, and status updates
SMS & voice escalation Twilio Programmable Messaging and Voice APIs for automated SLA fallback alerts and masked engineer-to-site calling
Backend API & timers Node.js REST API orchestrating tenant rules, ticket state machines, and SLA escalation schedulers
Multi-tenant config Tenant-scoped fault taxonomies, severity matrices, and regional contractor routing rules
Media & evidence In-app camera and gallery capture for fault reporting and post-repair verification photos
Crash & event diagnostics Firebase Crashlytics and webhook delivery logs tracking notification acknowledgement latency

Engineering Trade-offs & Solutions

Architectural Challenge Engineering Decision & Rationale
Push-only alerting vs. multi-channel Twilio fallback Paired Firebase Cloud Messaging with Twilio SMS and automated voice escalation so critical P1 outages still reach on-call engineers when data signals or notification settings fail.
Single-tenant custom builds vs. schema-driven SaaS app Loaded site trees, fault categories, and SLA policies dynamically per tenant on login, allowing one React Native binary to serve diverse retail and hospitality subscribers.
Exposing direct phone numbers vs. Twilio voice proxying Implemented server-brokered masked calling through Twilio so contractors and site managers communicate rapidly without exposing personal mobile numbers or losing call audit logs.
Permissive status edits vs. atomic server state locking Enforced strict transition guards on the Node.js API so two contractors cannot simultaneously claim or overwrite the same active incident.

Security, Tenant Isolation & Reliability

Strict tenant scoping at the API boundary. Every REST request carries authenticated user claims bound to an organization and authorized site list; database queries and media access URLs validate tenant ownership on every read and write so subscribers remain strictly isolated.

Signed Twilio webhook verification. Incoming SMS replies and voice-status callbacks validate Twilio cryptographic request signatures before mutating ticket timelines or acknowledging escalations, blocking spoofed external payloads.

Resilient escalation cancellation. Whenever a ticket transitions out of Open—whether claimed by an engineer, downgraded, or cancelled by a manager—pending escalation tasks are revoked atomically and double-checked at execution time so responders never receive phantom alerts for resolved jobs.

Alert Throughput & Scale

Concurrent multi-site fan-out. During regional weather events or power disruptions that trigger simultaneous faults across dozens of venues, escalation queues decouple ticket persistence from outbound Firebase and Twilio API calls so issue logging stays instantaneous for site staff.

Lightweight list payloads and media separation. Mobile ticket feeds fetch compact summary projections with paginated timelines, lazy-loading full-resolution inspection images only when an engineer opens an individual ticket.

Proactive client telemetry. Firebase Crashlytics paired with server-side notification delivery tracking lets platform operators spot OS-level notification permission blocks or carrier SMS bounces before SLA breaches occur.

Operational Outcomes

Multi-location operators replaced fragmented phone trees and email threads with a single, auditable fault-resolution pipeline where critical issues consistently reach accountable engineers. Site managers spend minimal time raising clear, photo-documented tickets, while contractors arrive prepared with accurate fault context and protected communication channels. Across subscribing organisations, automated escalation and clean SLA milestone tracking give regional leaders transparent operational oversight over both internal technicians and external maintenance vendors.

01 — Questions

asked about this kind of project

Why combine Firebase push notifications with Twilio SMS and voice calls for ticket alerting?

Mobile push notifications alone are unreliable for urgent P1 site incidents: devices enter battery-saving doze modes, notifications get swiped away, or technicians work in noisy plant rooms with poor data coverage. Combining Firebase push for immediate rich alerting with Twilio SMS and automated voice escalation when an acknowledgement SLA timer expires ensures critical faults break through.

How does masked calling via Twilio protect privacy across third-party contractor networks?

When a field contractor needs to clarify access instructions or equipment symptoms with a site manager, the app initiates a bridged Twilio voice call through a proxy number. Neither party sees the other's personal mobile number, and the platform records call attempt timestamps directly inside the ticket timeline.

How do different subscribing organisations customize fault categories and escalation rules without separate apps?

Upon authentication, the Node.js API returns a tenant configuration bundle containing that customer's site hierarchy, equipment categories, priority definitions, and SLA escalation chains. The React Native UI renders forms and triage options dynamically from this schema, letting new SaaS subscribers onboard rapidly.

How do you prevent multiple engineers from claiming or working on the same urgent ticket simultaneously?

Ticket acknowledgement runs through an atomic server-side state transition from Open to Acknowledged. The first responder's claim locks ownership and immediately cancels pending Twilio escalation jobs while broadcasting a Firebase update to other eligible contractors so nobody wastes travel time.

What happens if an engineer resolves an issue in a basement or back-of-house area with poor reception?

Resolution notes, parts replacement flags, and verification photographs queue locally on the handset if connectivity drops. Once signal returns, the mobile client submits the pending resolution bundle and triggers site-manager sign-off verification.

How does the SaaS platform handle webhook retries or duplicate alerts from third-party messaging providers?

All Twilio status callbacks and escalation schedulers use idempotent job identifiers tied to the ticket ID and escalation tier. Even if a scheduler retries or a webhook arrives twice, the state engine verifies current ticket ownership before dispatching any follow-up SMS or call.

03 — Similar project?

describe what is different about yours

Build yours.

Tell me what exists, what you need and the deadline. Fixed price for a defined scope, or $55/day (8–9 hours work) with a written plan first.

Solitaire Corporate Park, Makarba, Ahmedabad, Gujarat 380015, India · IST (UTC+5:30) · --:-- IST · Mon–Fri 09:00–18:00 IST · US & EU overlap daily

No newsletter, no CRM. Just a reply.