Menu

Send a Daily Gold Rate Broadcast on WhatsApp with Python and the Cloud API
📰

Send a Daily Gold Rate Broadcast on WhatsApp with Python and the Cloud API

#devcommunity#dev#rate#marketing#stop
Reading 0:00
15s threshold

Jewellery stores in India get the same WhatsApp message dozens of times every morning: "What's today's gold rate?" Instead of answering each one by hand, you can send a short daily rate update to customers who asked for it.

This post builds that with Python and the official WhatsApp Cloud API , and covers the rules you must follow so the number stays healthy.

The rules first

Opt-in only. Send only to customers who agreed to receive daily rates (a checkbox at billing, or a "Reply YES for daily rates" message).

Marketing template. A daily rate update is promotional, so it uses a Marketing template and is charged at the marketing rate.

Respect STOP. Remove anyone who replies STOP before the next send.

Go slow. Send in batches; don't blast thousands of messages in one second.

1. Create the template

In WhatsApp Manager, create daily_gold_rate (category: Marketing):

Good morning {{1}}!…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.