Send Rapiwa WhatsApp Apology & Reorder Link When Shopify Order is Cancelled
Go to WorkflowDescription
Who Is This For?
This n8n workflow listens for order cancellations in Shopify, extracts relevant customer and order data, checks if the customer’s phone number is registered on WhatsApp via the Rapiwa API, and sends a personalised apology message with a re-order link. It also logs successful and unsuccessful attempts in Google Sheets for tracking.
What This Workflow Does
Listens for cancelled orders in your Shopify store
Extracts customer details and order information
Generates a personalised apology message including a reorder link
Sends the message to customers via WhatsApp using a messaging API (e.g., Twilio or Rapiwa)
Logs the communication results for tracking purposes
Key Features
Real-Time Cancellation Detection:** Automatically triggers when an order is cancelled
Personalised Messaging:** Includes customer name, order details, and a direct reorder link
WhatsApp Integration:** Sends messages via WhatsApp for higher engagement
Error Handling:** Logs successful and failed message deliveries
Reorder Link:** Provides a convenient link for customers to reorder with one click
Requirements
n8n instance with nodes: Shopify Trigger, HTTP Request (for WhatsApp API), Code, Google Sheets (optional)
Shopify store with API access
WhatsApp messaging provider account with API access
Valid customer phone numbers stored in Shopify orders
How to Use — Step-by-Step Setup
Credentials Setup
Shopify API: Configure Shopify API credentials in n8n to listen for order cancellations
WhatsApp API: Set up WhatsApp messaging credentials (e.g., Twilio, Rapiwa, or any supported provider)
Google Sheets (Optional): Configure Google Sheets OAuth2 if you want to log communications
Configure Trigger
Set the workflow to trigger on Shopify order cancellation events
Customize Message Content
Modify the apology message template to include your store branding and tone
Ensure the reorder link dynamically includes the customer's cancelled order info
Set Up WhatsApp Node
Connect your WhatsApp API credentials
Ensure the phone numbers are formatted correctly for WhatsApp delivery
Google Sheet Required Columns
You’ll need two Google Sheets (or two tabs in one spreadsheet):
A Google Sheet formatted like this ➤ sample
The workflow uses a Google Sheet with the following columns to track coupon distribution:
| Name | Number | Email | Address | Price | Title | Re-order Link | Validity | Status |
| -------------- | ------------- | --------------------------------------------------- | ----------------- | ----------- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------ | ---------- |
| Abdul Mannan | 8801322827799 | [email protected] | Dhaka, Bangladesh | BDT 1955.00 | Pakistani Lawn | Link 🔗 | unverified | not sent |
| Abdul Mannan | 8801322827799 | [email protected] | Dhaka, Bangladesh | BDT 1955.00 | Pakistani Lawn | Link 🔗 | verified | sent |
Important Notes
Phone Number Validation:** Ensure customer phone numbers are WhatsApp-enabled and formatted properly
API Rate Limits:** Respect your WhatsApp provider’s API limits to avoid throttling
Data Privacy:** Always comply with privacy laws when messaging customers
Error Handling:** Monitor logs regularly to handle failed message deliveries
Testing:** Test thoroughly with dummy data before activating the workflow live
Useful Links
Dashboard:** https://app.rapiwa.com
Official Website:** https://rapiwa.com
Documentation:** https://docs.rapiwa.com
Support & Help
WhatsApp**: Chat on WhatsApp
Discord**: SpaGreen Community
Facebook Group**: SpaGreen Support
Website**: https://spagreen.net
Developer Portfolio**: Codecanyon SpaGreen