WhatsApp Webhook Service (Origimed/wpp)

2025 · Python, WhatsApp Cloud API, Webhooks

Context

The project aims to provide a lightweight Python service to receive and process WhatsApp Cloud API webhook events. It includes simple modules for message handling, reminders, and local logging — serving as a foundation for more advanced bots or customer-support automation.

Architecture

The service listens for incoming requests from the WhatsApp Cloud API. It handles verification during webhook setup, logs every event locally, and routes messages to helper functions. The reminder.py module can be scheduled to send proactive messages (for example, follow-ups or daily notifications).

Implementation

Results & Learnings

Built a functioning webhook system capable of receiving and replying to WhatsApp messages using only Python and basic HTTP handling. Learned how to structure webhook-based services, validate tokens, and securely handle API credentials.

Repository

Source code is available on GitHub: https://github.com/Origimed/wpp

WhatsApp Webhook Architecture Diagram