Tutorial Shows How to Build a WhatsApp Order-Status Bot Using Two Webhooks and One API
A DEV Community tutorial explains how online stores can automate the common "Where is my order?" question on WhatsApp. The guide walks through a roughly 120-line Node service that sends a shipping template with a tracking button when an order ships. When the customer taps the button, the bot replies with the current order status. Other customer messages are passed to the team inbox as usual. The implementation relies on WAPGROWAI's public API and webhooks, requires only Node 22, and includes tests that run against a stubbed API so no real messages are sent.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in