How to Evaluate This Production Telephony Support Cockpit
Engineered for Stuart & Co's Glasgow manufacturing & construction AI phone system. This operational workspace isolates multi-vendor telephony errors in real-time, validates prompt tuning for UK trade inquiries, and guarantees that zero calls or WhatsApp follow-ups are ever dropped.
Inbound Call Session Inspector
Trace real call sessions end-to-end across Twilio SIP (+44 141 DDI), Retell voice transcription, Make.com webhook routing, and Wappi WhatsApp receipts.
Retell Voice Agent & Accent Bench
Test conversational prompt tuning against Scottish/UK trade accents, emergency leak triage, plant hire requests, and sub-600ms dual AI response.
Make.com Scenarios & Error Handler
Inspect webhook data parsers, dead-letter queue (DLQ) retries on 504 timeouts, and download hardened Make.com scenario blueprint JSONs.
Wappi WhatsApp Gateway & Fallback
Verify WhatsApp session heartbeat, test post-call recap message dispatch, and verify automatic failover to Twilio SMS if Wappi times out.
Telephony Telemetry & Multi-Vendor Health Matrix
Continuous real-time health across Twilio carrier trunking, Retell voice synthesis, Make.com webhooks, and Wappi WhatsApp gateway.
All inbound voice streams pass through Retell LLM analysis, Make.com webhook routing, and Wappi WhatsApp dispatch with automatic dead-letter queue recovery.
Inbound Call Session Inspector & Multi-Vendor Diagnostics
Trace each incoming phone call through its entire multi-vendor lifecycle. Click any record to inspect transcript, audio duration, extracted trade variables, Make webhook payloads, and WhatsApp receipts.
Callum MacLeod
+44 141 332 9182CRITICALRef ID: CALL-UK-849201 • Duration: 1m 54s • Glasgow West End (G12 8QQ)
Hello, aye, we've got a major water ingress on the top floor of our commercial unit at Great Western Road. Water is pouring through the ceiling joists.
I understand this is an emergency, Callum. I have flagged your location for immediate dispatch. Could you confirm if you can access the main stopcock to isolate the water?
Aye, we've shut the valve, but the ceiling needs emergency boarding and an inspection right away before it collapses.
Understood. Our on-call emergency supervisor in Glasgow West has been alerted. I am sending an immediate WhatsApp confirmation to this number with our emergency response reference.
*Stuart & Co Emergency Dispatch* Ref: EMG-GLA-9921 Callum, emergency water ingress incident logged for 384 Great Western Road (G12 8QQ). Status: Duty supervisor notified Response window: Under 90 mins Direct Duty Line: 0141 946 8821 Please reply with site access notes or damage photos if required.
Voice Agent Prompt Tuning & Scottish/Trade Accent Testbench
Test conversational prompt modifications, speech parameters, and trade vocabulary in real-time with dual-provider AI. Evaluates voice responses and automatically drafts Wappi WhatsApp follow-ups.
Live Voice & WhatsApp Simulation Output
Dual AI Inference • ElevenLabs Speech Generation • Wappi Dispatch
Ready for Voice Agent Simulation
Click "Simulate Call & WhatsApp" to execute real dual-provider AI inference against the Scottish/UK trade transcript.
Make.com Scenario Error Handler & Self-Healing Architecture
Prevent silent automation failures. Inspect the 6-stage Make.com workflow, test error handlers (Wappi 504 timeout or malformed Scottish numbers), and export the importable blueprint JSON.
Custom Webhook
Listens for Retell AI call_analyzed JSON payload over HTTPS.
UK Phone Normalizer
Converts UK mobile/landline (0141/07xxx) to strict +44 E.164 standard.
Router & Classifier
Routes by intent: [Emergency On-Call] | [Site Survey Lead] | [Accounts Payable].
CRM & Sheets Sync
Logs customer name, Scottish postcode, trade scope, and audio recording link.
Wappi WhatsApp Dispatch
Sends automated WhatsApp call recap and booking link to customer.
Error Handler & DLQ
If Wappi 5xx/timeout ➔ auto-switches to Twilio SMS and writes to DLQ queue.
Wappi WhatsApp Messaging Gateway & Dispatch Tester
Monitor Wappi WhatsApp instance health, verify connection heartbeats, test post-call recap message dispatches, and inspect automatic Twilio SMS fallback rules.
Test Live Post-Call WhatsApp Dispatch
Select a message template and test simulated dispatch to verify Wappi API payload formatting.
*Stuart & Co Emergency Dispatch* Ref: EMG-GLA-9921 Callum, emergency water ingress incident logged for 384 Great Western Road (G12 8QQ). Status: Duty supervisor notified Response window: Under 90 mins Direct Duty Line: 0141 946 8821 Please reply with site access notes or damage photos if required.
Telephony Operating Cost & Revenue Recovery Calculator
Analyze the exact monthly run cost of Twilio, Retell, Make.com, and Wappi against the revenue of after-hours inquiries saved from going to competitors.
Annual Protected Value: £312,208.92 / year
Production Blueprints, Make.com Scenarios & Retell Specs
Download production-ready, importable configuration files directly into your Make.com, Retell AI, and Twilio dashboards.
Make.com Scenario Blueprint (JSON)
Production-ready Make.com blueprint with Retell webhook listener, regex E.164 phone sanitizer, 3-way intent router, and dead-letter queue error handler.
{
"name": "Stuart_Co_Telephony_Retell_Make_Wappi",
"modules": [
{ "id": 1, "module": "gateway:CustomWebhook", "name": "Retell Webhook" },
{ "id": 2, "module": "util:RegexReplace", "name": "UK E.164 Sanitizer" },
{ "id": 3, "module": "router:BasicRouter", "name": "Intent Branch Router" },
{ "id": 4, "module": "google-sheets:AddRow", "name": "CRM Lead Sync" },
{ "id": 5, "module": "http:MakeRequest", "name": "Wappi WhatsApp API" },
{ "id": 6, "module": "twilio:SendSms", "name": "SMS Fallback", "isErrorHandler": true }
]
}Retell AI Voice Agent System Prompt & Schema
Complete Retell agent configuration including Scottish trade conversational system prompt, custom variables extraction, and webhook payload format.
{
"agent_name": "Stuart & Co Scottish Trade Receptionist",
"voice_id": "eleven_turbo_v2_scottish_natural",
"responsiveness": 0.8,
"interruption_sensitivity": 0.75,
"system_prompt": "You are the primary telephone receptionist for Stuart & Co in Glasgow...",
"variables_schema": {
"caller_name": "string",
"postcode": "string",
"trade_service": "string",
"urgency": "string"
}
}Twilio UK SIP Trunking & Webhook Handler
TypeScript serverless handler that receives inbound calls on Glasgow DDI (+44 141), checks office hours, and forwards media streams to Retell SIP trunk.
import { Twilio } from 'twilio';
export async function handler(context: any, event: any, callback: any) {
const twiml = new Twilio.twiml.VoiceResponse();
// Forward caller media stream directly to Retell AI SIP URI
const dial = twiml.dial({ answerOnBridge: true });
dial.sip('sip:stuart-co-agent@sip.retellai.com');
return callback(null, twiml);
}Wappi WhatsApp API & Twilio SMS Fallback Router
Automated dispatcher that sends post-call WhatsApp summaries via Wappi, listens for delivery receipt, and triggers Twilio SMS if WhatsApp is unread after 45s.
export async function dispatchPostCallSummary(payload: CallSummaryPayload) {
try {
const wappiRes = await fetch('https://wappi.pro/api/sync/message/send', {
method: 'POST',
headers: { 'Authorization': process.env.WAPPI_API_KEY! },
body: JSON.stringify({ recipient: payload.e164Phone, body: payload.whatsappText })
});
if (!wappiRes.ok) throw new Error('Wappi HTTP ' + wappiRes.status);
} catch (err) {
// Immediate fallback to Twilio SMS
await twilioClient.messages.create({ to: payload.e164Phone, from: '+441419468821', body: payload.smsText });
}
}