💬 Automatically send WhatsApp discount codes to Shopify customers using Rapiwa

73 views · 💬 Lead Nurturing & AI Sales Agents

💡 Pro Tip — If you’ve run into Facebook’s Graph API permission restrictions, ScraperNode is a community node that scrapes pages, groups, posts, and comments directly — no app review needed.

View All Scrapers

Description

Automatically Send WhatsApp Discount Codes to Shopify Customers Using Rapiwa

Who is this for?

This n8n workflow automatically sends WhatsApp promotional messages to top customers whenever a new discount code is created in Shopify. It’s perfect for store owners, marketers, sales teams, or support agents who want to engage their best customers effortlessly. The workflow fetches customer data, filters high-spending customers, verifies their WhatsApp numbers using the Rapiwa API, sends discount messages to verified contacts, and logs all activity in Google Sheets. Designed for non-technical users who don’t use the official WhatsApp Business API, this automation simplifies customer outreach and tracking without any manual work.

What this Workflow Does

This n8n workflow connects with a Google Sheet that contains a list of contacts. It reads rows marked for processing, cleans the phone numbers, checks their validity using Rapiwa’s WhatsApp validation API, sends WhatsApp messages to valid numbers, and updates the status of each row accordingly.

Key Features

Requirements

How to Use

Step-by-Step Setup

  1. Webhook

    • Receives Shopify Webhook (discount creation) via HTTP POST request.
      This is triggered when a discount is created in your Shopify store.
  2. Configure Google Sheets in n8n

    • Use the Google Sheets node with OAuth2 access
  3. Get Rapiwa API Token

    • Create an account on Rapiwa
    • Connect your WhatsApp number
    • Copy your Bearer Token from the Rapiwa dashboard
  4. Set Up HTTP Request Nodes

    • Validate number via: https://app.rapiwa.com/api/verify-whatsapp
    • Send message via: https://app.rapiwa.com/api/send-message
    • Add your bearer token to the headers

Google Sheet Column Structure

| discount_code | created_at | shop_domain | name | number | verify | status | | -------------------------------------------- | ------- | ------------------------- | ----------------------- | -------------- | ------------- | ---------- | -------- | | V8ZGVRDFP5TB | 2025-09-25T05:26:40-04:00 | your_shop_domain | Abdul Mannan | 8801322827798| unverified | not sent | | V8ZGVRDFP5TB | 2025-09-25T05:26:40-04:00 | your_shop_domain | Abdul Mannan | 8801322827799| verified | sent |


Support & Help

🔗 Nodes Used

Google Sheets, HTTP Request, Webhook

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup