Back to Projects

WhatsApp Business Campaign Manager

Meta Cloud API campaign system with opt-in workflows, broadcast lists by tag, template management, and click tracking through GHL integration.

2025 Messaging Infrastructure Engineer Automation
Meta Cloud APIWhatsApp BusinessGoHighLeveln8nTemplate Approval
taimoorakhtar.com/projects/whatsapp-campaign-manager
WhatsApp Business Campaign Manager

Introduction

A SaaS client serving Latin American and South Asian markets had email open rates collapsing to 8-12%. SMS hit deliverability issues across half their target geographies. WhatsApp was the obvious channel — but Meta's Business API has strict template approval, opt-in requirements, and campaign-versus-utility message classification that trip up most agencies.

The Challenge

WhatsApp Business API is a different animal from SMS. Template messages need pre-approval. Opt-in must be explicit and logged. There's a 24-hour customer service window that resets on user reply. And Meta's category enforcement (Marketing vs Utility vs Authentication) is strict — misclassifying lands you with a downgraded sender quality rating.

The Solution

Built an n8n-orchestrated WhatsApp campaign manager wrapping Meta Cloud API. Opt-in flows captured in GHL with timestamp and source URL. Templates submitted through proper Marketing/Utility classification. Broadcast lists scoped by tag with audit logs. Click tracking via wrapped short-links flowing back into the CRM.

Technical Deep Dive

1
Opt-in capture. Web forms and SMS replies trigger explicit WhatsApp opt-in flow. Contact must respond YES to a confirmation message. Timestamp and source stored on the contact record.
2
Template management. All template messages versioned in a Google Sheet. Submission to Meta done programmatically via API. Approval status synced back to the sheet. Rejected templates flagged for rewrite.
3
Broadcast scoping. Lists assembled by GHL tag combination (e.g., 'trial-user' + 'last-active-7d'). Pre-flight check confirms every contact has valid opt-in + isn't in 24h window violation.
4
Click tracking. Outbound templates use short-links wrapping target URLs. Click events POST back to GHL as custom field updates, enabling reply/click sequences.
5
Category compliance. Marketing messages strictly separated from Utility (e.g., 'your appointment is at 3pm') messages. Misclassification flagged before send.

Key Features

Results & Impact

  • 10K+ WhatsApp messages per month delivered
  • 24% reply rate on Marketing campaigns (vs 4% email baseline)
  • Zero template rejections after the first 3 submission rounds
  • Sender quality rating held at High across 8 months

Lessons Learned

"WhatsApp Business API requires real engineering — agencies treating it like SMS lose sender quality fast."
"Pre-flight validation is the safety net. Always check opt-in + 24h window before any campaign send."
"Template approvals get faster after the first 5 — Meta learns your account's pattern. First few are painful."

Related Work

Have a similar build in mind?

I'm available for engagement on GoHighLevel implementations, A2P 10DLC compliance, AI automation pipelines, and CRM migrations. Most projects start at $300–$1,200 depending on scope.