Python Dev for WhatsApp Automation

Заказчик: AI | Опубликовано: 31.01.2026

A streamlined WhatsApp chat solution written in Python is the goal. The code will live on my Ubuntu 22.04 VPS and must let me programmatically send, receive, and log WhatsApp messages from an existing Business account. Reliability comes first; every outbound message needs an acknowledgement callback and every inbound message should be captured in a local SQLite or PostgreSQL table for later reporting. Scope highlights • Clean Python 3.x code that wraps the official WhatsApp Business Cloud API (or another compliant gateway if you can justify it) • Simple CLI or minimal Flask/FastAPI endpoint to trigger messages with parameters: recipient, template/body, media (optional) • Webhook listener that records incoming messages, delivery receipts, and errors to the database and writes them to a rotating log • Easy-to-edit config file for credentials and rate-limit settings • requirements.txt, deployment script, and a concise README so I can reproduce the setup on a fresh server Acceptance criteria 1. A demo script successfully sends a text and an image to my test number and prints the delivery status. 2. An inbound reply instantly appears in the database and in the log file. 3. All setup steps, from cloning the repo to running the demo, complete without manual fixes. Once the basics are stable, I may extend this into templated broadcasting and CRM hooks, so clarity and modularity in your code matter.