GG

Go Green

Aley Municipality
⚠ {{ wahaStatus.watchdog.problem }} Replies aren't being received. Since {{ formatTime(new Date(wahaStatus.watchdog.since).toISOString()) }}.
{{ alertBanner.msg }}

Total Cadastral Units

{{ totalLeads }} units

Campaign Delivered

{{ contactedCount }} ({{ coveragePercentage }}%)

Inbound Responses

{{ repliedCount }} ({{ responsePercentage }}% rate)

Pending Dispatch

{{ pendingCount }} queued
{{ lead.firstName ? lead.firstName[0] : (lead.name ? lead.name[0] : 'U') }}

{{ lead.name }}

{{ getTagLabel(lead.tag) }} Plot {{ lead.plot }}

{{ lead.business || 'No business registered' }}

Reply: {{ lead.replies[lead.replies.length - 1].text }} Campaign delivered Pending dispatch {{ lead.replies.length }}
No contacts found matching criteria

{{ selectedChat.name }}

Plot {{ selectedChat.plot }}
{{ selectedChat.phone }} • {{ selectedChat.status === 'replied' ? 'Replied' : (selectedChat.sentAt ? 'Contacted' : 'Pending') }}
📝 Internal Field Notes (Private to Operations Team)

No messages sent to this subscriber yet.

Click "Insert Template" above or type a message below to dispatch.

⚠ Check before sending: {{ draftNotice }}
Quick replies:

Select a contact from the list to view chat and reply

#ID Name / Occupant Business Name Cadastral Plot WhatsApp Phone Status CRM Tag / Notes Inbound Replies Action
{{ lead.id }} {{ lead.name }} {{ lead.business || '—' }} Plot {{ lead.plot }} {{ lead.phone }} Opted out No WhatsApp Replied Contacted Pending
{{ getTagLabel(lead.tag) }} — 📝 {{ lead.notes }}
{{ lead.replies.length }} replies ({{ lead.replies[lead.replies.length - 1].text.slice(0, 18) }}...) —

{{ campaignStatus.paused ? 'Campaign Paused' : (campaignStatus.waitingReason ? 'Campaign Waiting' : 'Campaign In Progress...') }} — {{ campaignStatus.campaignName }}

{{ campaignStatus.sent }} / {{ campaignStatus.total }} Dispatched ({{ Math.round((campaignStatus.sent / (campaignStatus.total || 1)) * 100) }}%)
⚠ {{ campaignStatus.pauseReason }}
⏳ {{ campaignStatus.waitingReason }}
Today: {{ campaignStatus.sentToday || 0 }} / {{ campaignStatus.dailyLimit || '∞' }} Failed: {{ campaignStatus.failed || 0 }} No WhatsApp (skipped): {{ campaignStatus.skippedInvalid || 0 }} Next send: {{ formatTime(campaignStatus.nextSendAt) }}
Active Recipient: {{ campaignStatus.currentContact || 'Queued...' }} • Gap {{ campaignStatus.minDelaySeconds }}–{{ campaignStatus.maxDelaySeconds }}s

Field Campaign Outreach & Dispatcher

Official outreach messages are dispatched sequentially with anti-ban rate limiting to protect your WhatsApp line.

New Campaign

Everyone on this list except opted-out and no-WhatsApp numbers gets this message, including people already messaged and leads marked "accepted".

Starts once the campaign finishes. Follows the Sending Safety limits below, and skips anyone who replied or opted out.

Campaign Results

Campaign Status Sent Delivered Read Replied Failed No WhatsApp Reminders
{{ c.name }} {{ c.status }} {{ c.results.sent }} / {{ c.total }} {{ c.results.delivered }} {{ c.results.read }} {{ c.results.replied }} {{ c.results.failed + c.results.unknown }} {{ c.results.invalid }} —

No campaigns on this list yet.

Sending Safety

Protects the WhatsApp number from being banned. Changes apply to a running campaign too.

Opt-Out

Message Template Editor

Variables:

Live Subscriber Preview

Sample Preview
Sender: Go Green • Verified Business WhatsApp
{{ previewText }}
12:00 PM • Delivered ✓✓

Live Field Operation & Inbound Message Log

Real-time sync
{{ log.name }} ({{ log.business }}) Plot {{ log.plot }}

"{{ log.text }}"

Sender ID: {{ log.sender }}
(from {{ currentFile }})
{{ formatTime(log.receivedAt) }}
No inbound replies recorded yet.

AI Drafts

Learns from staff replies. Press ✨ AI draft in a chat for a suggestion; nothing is sent until staff press Send.

Examples saved: {{ aiStats.examples }} Outcomes marked: {{ aiStats.withOutcome }} Drafts: {{ aiStats.drafted }} Sent unchanged: {{ aiStats.sentUnchanged }} Sent edited: {{ aiStats.sentEdited }} Not used: {{ aiStats.notUsed }}
🤖 Municipal Auto-Responder & FAQ Engine {{ settings.autoReplyEnabled ? 'ACTIVE & LISTENING' : 'PAUSED' }}

Instantly answers common subscriber questions regarding payments, pickup times, service details, and registration in Arabic.

🧪 Test Simulator: Try Any Inbound Message

Simulated Verification
{{ testQueryResult.matched ? '✓ Triggered Rule:' : '⚠ Fallback:' }} {{ testQueryResult.matched ? testQueryResult.ruleName : 'No rule matched' }} Simulated Outbound

{{ testQueryResult.reply }}

{{ testQueryResult.message }}

Configured Knowledge Base Rules ({{ (settings.rules || []).length }})

Keyword Match Engine
{{ rule.name }} Rule ID: {{ rule.id }}
Keywords: "{{ kw }}"

{{ rule.response }}

OFFICIAL DISPATCH DOSSIER Municipality of Aley & Go Green

Go Green Operations

Environmental Waste & Sorting Contractor

Direct Cadastral Dispatch Hub

🌲

الجمهورية اللبنانية

بلدية عاليه - قضاء عاليه

التاريخ: {{ new Date().toLocaleDateString('ar-LB') }}

Ref: GG-ALEY-{{ currentFile.replace('.json', '').toUpperCase() }}

تقرير المتابعة الميدانية المباشرة

Executive Survey & Field Operations Summary

يوثق هذا التقرير الرسمي نتائج التواصل الميداني مع الوحدات والمحال التجارية المسجلة عقارياً في نطاق مدينة عاليه، لمتابعة برنامج فرز وجمع الكرتون والمفروزات من المصدر (Door-to-Door)، وتوثيق الردود والاستفسارات الميدانية.

{{ totalLeads }}
Total Cadastral Units
{{ contactedCount }}
Delivered ({{ coveragePercentage }}%)
{{ repliedCount }}
Replied ({{ responsePercentage }}%)
{{ pendingCount }}
Pending Outreach

Cadastral Units Log & Verification Status Total: {{ leads.length }} units

Plot Name / Occupant Business WhatsApp Contact Status Classification Field Notes
{{ lead.plot }} {{ lead.name }} {{ lead.business || '—' }} {{ lead.phone }} {{ lead.replies && lead.replies.length > 0 ? 'Replied (' + lead.replies.length + ')' : (lead.sentAt ? 'Delivered' : 'Pending') }} {{ getTagLabel(lead.tag) || 'Standard' }} {{ lead.notes || '—' }}

عن بلدية عاليه - لجنة البيئة والنظافة العامة

التوقيع والختم الرسمي: .......................................

عن إدارة العمليات الميدانية - شركة Go Green

التوقيع والختم الرسمي: .......................................

Go Green Operations Hub

Log in to continue

{{ loginError }}

☁

Cloud Backend Connection

Live Cloudflare Tunnel link to WhatsApp worker

All API commands from this dashboard (sending messages, status, logs, campaign actions) are dispatched through this live tunnel.