๐Ÿ’ฌ Auto send thank-you messages & loyalty coupons via WhatsApp from Shopify using Rapiwa

โšก 314 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

Shopify Auto Send WhatsApp Thank-You Messages & Loyalty Coupon Using Rapiwa API

Who is this for?

This workflow is for Shopify store owners, marketers, and support teams who want to automatically message their high-value customers on WhatsApp when new discount codes are created.

What this workflow does

Key features

#How to use?

Step-by-step setup

  1. Prepare a Google Sheet

    • Columns: name, number, status, validity, check (optional)
    • Example row: Abdul Mannan | 8801322827799 | not sent | unverified | check
  2. Configure n8n credentials

    • Shopify: store access token (X-Shopify-Access-Token)
    • Rapiwa: Bearer token (HTTP Bearer credential)
    • Google Sheets: OAuth2 credentials and sheet access
  3. Configure the nodes

    • Webhook/Trigger: Shopify discounts/create or Manual Trigger
    • HTTP Request (Shopify): /admin/api/<version>/customers.json
    • Code node: filter customers total_spent > 5000 and map fields
    • SplitInBatches: batching/looping
    • Code (clean number): waNoStr.replace(/\D/g, "")
    • HTTP Request (Rapiwa verify): POST https://app.rapiwa.com/api/verify-whatsapp body { number }
    • IF node: check data.exists to decide branch
    • HTTP Request (Rapiwa send-message): POST https://app.rapiwa.com/api/send-message body { number, message_type, message }
    • Google Sheets Append/Update: write status and validity
    • Wait: add 2โ€“5 seconds delay between sends
  4. Test with a small batch

    • Run manually with 2โ€“5 records first and verify results

Google Sheet column structure

A Google Sheet formatted like this โžค Sample

NameNumberStatusValidity
Abdul Mannan8801322827798not sentunverified
Abdul Mannan8801322827799sentverified

Requirements

Customization ideas

Important notes

Support & Help

๐Ÿ”— Nodes Used

Google Sheets, HTTP Request

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup