Back to Templates
This workflow is for online store owners, support teams, and marketing staff who want to automatically verify WhatsApp numbers and send order invoice links or personalized order updates to customers. It’s built against WooCommerce order webhooks but can be adapted to Shopify or other e-commerce platforms that provide billing
and line_items
.
order.updated
).{ data: { customer, products, invoice_link } }
via a Code node.SplitInBatches
) to control throughput./api/verify-whatsapp
)./api/send-message
) for verified numbers.Wait
node to throttle and loop back into the batch processor.Add credentials in n8n
Rapiwa Bearer Auth
).Google Sheets
).Import / configure nodes in n8n
Format Webhook Response Data
: map body.billing
, body.line_items
, body.payment_url
into { data: { customer, products, invoice_link } }
.Clean WhatsApp Number
: ensure the phone number is a string and strip non-digits: String(rawNumber).replace(/\D/g, "")
.Check valid whatsapp number Using Rapiwa
: POST to https://app.rapiwa.com/api/verify-whatsapp
with { number }
. Use the Rapiwa Bearer credential.If
: check verification result. The flow compares {{$json.data.exists}}
to "true"
in the exported flow; normalize types if your API returns booleans.Rapiwa Sender
: POST to https://app.rapiwa.com/api/send-message
with number
, message_type: 'text'
, and a templated message
(see message template in the flow).Store State of Rows in Verified & Sent
and Store State of Rows in Unverified & Not Sent
Create these columns exactly (the Google Sheets nodes in the flow expect these names):
A Google Sheet formatted like this ➤ sample
Name | Number | Address | Product Title | Product ID | Size | Quantity | Total Price | Product Image | Invoice Link | Product Status | Validity | Status | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Abdul Mannan | 8801322827799 | [email protected] | mirpur dohs | Air Force 1 Reigning Champ Dark Grey 1:1 - 40 | 251 | 40 | 1 | BDT 5800.00 | ![]() |
Invoice | on-hold | verified | sent |
Abdul Mannan | 8801322827799 | [email protected] | mirpur dohs | Air Force 1 Reigning Champ Dark Grey 1:1 - 40 | 251 | 40 | 1 | BDT 5800.00 | ![]() |
Invoice | on-hold | unverified | not sent |
products[0]
.total > 5000
).