Projects
Buka tautan projectKembali ke daftar
ProjectMessaging Automation2023—
WhatsApp Messaging Automation
Scalable WhatsApp automation platform built with Golang and WhatsMeow, enabling programmatic message delivery, persistent device session management, and event-driven communication for enterprise applications and business workflows.
Tech Stack
- Go
- Gin
- WhatsMeow
- REST API
Key Features
- Programmatic message delivery: text, images, documents, captions, and file attachments
- Persistent WhatsApp session management with QR code authentication and automatic reconnection
- REST API integration for external systems to trigger messages via HTTP
- Event-driven messaging — business events trigger WhatsApp notifications automatically
- Delivery monitoring with sent/delivery status tracking and retry mechanism
- Multi-session support for managing multiple WhatsApp device connections
Architecture
REST API → WhatsApp Service (WhatsMeow) → WhatsApp Network
- 1.Business systems submit message requests through the REST API (Gin)
- 2.WhatsApp Service validates request and checks active session availability
- 3.WhatsMeow client sends message through the WhatsApp protocol network
- 4.Session Storage persists device authentication for automatic reconnection
- 5.Event Handler processes incoming events and delivery status updates
Data / Processing Flow
- 01External application submits message request to REST API
- 02Platform validates recipient number, payload, and session availability
- 03Active WhatsApp session checked and auto-restored if disconnected
- 04Message delivered via WhatsMeow client (text, images, documents)
- 05Delivery status returned and logged for monitoring
Use Cases
- Automated notifications — account verification, password reset, login alerts
- Report distribution — automatically deliver generated documents via WhatsApp
- Business workflow automation — approval processes, task assignments, operational events
- Customer engagement — personalized messages and announcements
- Internal monitoring — notify admins on system failures or operational alerts
My Contributions
- Designed the WhatsApp messaging architecture and service layer.
- Developed REST APIs using Golang and Gin.
- Integrated WhatsMeow for WhatsApp protocol communication.
- Implemented persistent session storage and automatic reconnection on disconnect.
- Built QR-based device authentication workflows.
- Developed event-driven messaging service for system integrations.
- Supported media and document delivery (images, PDFs, Office files, audio, video).
Technical Highlights
- WhatsMeow library handles the WhatsApp multi-device protocol natively in Go
- Persistent session storage keeps device authenticated across service restarts
- Event-driven architecture decouples business systems from WhatsApp delivery layer
- Supports rich media types: text, images, PDF, Office documents, audio, and video files
https://yusufrifqi.work/projects/whatsapp-automation