🔓 Unlock all 10,000+ workflows & prompts free Join Newsletter →
✅ Full access unlocked — explore all 10,000 AI workflow and prompt templates Browse Templates →
Home n8n Workflow
January 22, 2026

WooCommerce + WhatsApp promos, logged in Google Sheets

Lisa Granqvist Partner Workflow Automation Expert

Creating a new coupon should feel like progress. Instead, it often turns into a mini project: export customers, copy coupon details, clean phone numbers, send messages one-by-one, then try to remember what you actually sent.

This is the kind of mess that drains eCommerce managers first, but store owners and marketing leads feel it too. With WooCommerce WhatsApp promos running automatically, you stop missing customers and you stop guessing what happened.

This workflow triggers on coupon creation, verifies WhatsApp numbers before messaging, then logs every outcome in Google Sheets so you can measure and improve the next campaign.

How This Automation Works

The full n8n workflow, from trigger to final output:

n8n Workflow Template: WooCommerce + WhatsApp promos, logged in Google Sheets

The Problem: Coupon promos are easy to launch, hard to track

Coupon promos usually break in the same spot: the handoff between “coupon created” and “customers actually notified.” Someone exports a list, someone cleans phone numbers, someone sends messages, and then a week later you are trying to figure out which customers got the offer (and which didn’t). It’s not just time. It’s confidence. When attribution is fuzzy, you end up blasting the same people again or avoiding WhatsApp altogether because the admin work is frankly annoying.

It adds up fast. Here’s where it breaks down in real stores.

  • Customer phone numbers come in messy formats, so messages fail silently and you only notice after sales don’t move.
  • Manual sending turns “quick promo” into about 2 hours of repetitive work when you have a few hundred customers.
  • You can’t segment cleanly because there’s no reliable record of who was verified, who was messaged, and who bounced.
  • Without a log, it’s hard to prove performance or learn anything from the campaign.

The Solution: Auto-send verified WhatsApp coupon messages and log everything

This n8n workflow listens for a new WooCommerce coupon being created, then immediately prepares a clean “coupon payload” you can safely reuse in messages and reporting. Next, it pulls your customer list from WooCommerce and processes customers in controlled batches, so you don’t hammer your API limits. For each customer, it normalizes the billing phone number (removes spaces, plus signs, and other non-digits), checks whether that number is registered on WhatsApp using the Rapiwa API, and only sends the promo message when the number is verified. Every attempt is logged to Google Sheets, split into verified/sent and unverified/not sent, which gives you an instant campaign ledger you can filter, audit, and reuse for follow-ups.

The workflow starts the moment your coupon exists in WooCommerce. It then cleans customer phone data, verifies WhatsApp eligibility, sends a personalized promo, and writes a row to Google Sheets with coupon details and status. A short wait between batches keeps the whole run stable.

What You Get: Automation vs. Results

Example: What This Looks Like

Say you run a weekend promo and you have about 600 customers in WooCommerce. Manually, even a quick process (export, clean numbers, send, and log) is often 10 minutes per 25 customers, which is around 4 hours of tedious work. With this workflow, you create the coupon once, then the automation runs in batches in the background with short waits to avoid rate limits. You still spend a few minutes spot-checking the Google Sheet, but the send itself is handled for you.

What You’ll Need

  • n8n instance (try n8n Cloud free)
  • Self-hosting option if you prefer (Hostinger works well)
  • WooCommerce for coupon events and customer data
  • Rapiwa to verify WhatsApp numbers and send messages
  • Google Sheets access (connect a Google account in n8n)

Skill level: Intermediate. You’ll connect accounts, map a few fields, and paste API credentials, but you won’t be writing an app.

Don’t want to set this up yourself? Talk to an automation expert (free 15-minute consultation).

How It Works

A coupon is created in WooCommerce. The workflow triggers on the coupon.created event, then captures the coupon code, title, type, amount, and key dates.

Customer records are pulled and paced. It retrieves your WooCommerce customers, then processes them in batches with a short delay between cycles so the APIs don’t get overloaded.

Numbers are cleaned and verified before messaging. Each billing phone number is normalized (digits only), checked against WhatsApp via Rapiwa, and routed based on the verification result using an IF branch.

Messages and logs are written consistently. Verified customers receive the WhatsApp promo message, and the workflow logs the full record to Google Sheets with a “verified/sent” status. Unverified customers are still logged, just marked “unverified/not sent,” so you don’t lose visibility.

You can easily modify the message template to match your brand voice based on your needs. See the full implementation guide below for customization options.

Step-by-Step Implementation Guide

Step 1: Configure the WooCommerce Trigger

Set up the workflow to start whenever a new coupon is created in WooCommerce.

  1. Add the Commerce Coupon Trigger node to your workflow.
  2. Set Event to coupon.created.
  3. Credential Required: Connect your wooCommerceApi credentials.

Step 2: Shape Coupon Data and Load Customers

Format the coupon payload and fetch all customers for distribution.

  1. Add Shape Coupon Payload after Commerce Coupon Trigger and keep the provided JavaScript to format coupon fields.
  2. Add Retrieve Customer List after Shape Coupon Payload.
  3. Set Resource to customer and Operation to getAll.
  4. Enable Return All.
  5. Credential Required: Connect your wooCommerceApi credentials.

Step 3: Batch and Normalize Customer Numbers

Process customers in batches and sanitize phone numbers before verification.

  1. Add Iterate Records after Retrieve Customer List to enable batch processing.
  2. Add Normalize WhatsApp Number after Iterate Records.
  3. Keep the JavaScript in Normalize WhatsApp Number to strip non-digit characters from number.

If your WooCommerce data uses billing.phone instead of number, update the normalization script to read the correct field.

Step 4: Verify WhatsApp and Route the Flow

Check WhatsApp availability and route verified and unverified numbers.

  1. Add Verify WhatsApp via Rapiwa after Normalize WhatsApp Number.
  2. Set Operation to verifyWhatsAppNumber.
  3. Set Number to {{ $json.billing.phone }}.
  4. Credential Required: Connect your rapiwaApi credentials.
  5. Add Branch Verification after Verify WhatsApp via Rapiwa and set the condition to {{ $json.data.exists }} is true.

⚠️ Common Pitfall: The verification response must include data.exists and data.number. If your Rapiwa response differs, update the condition and message fields accordingly.

Step 5: Send WhatsApp Messages and Log Outcomes

Dispatch WhatsApp coupons for verified numbers and log both verified and unverified results to Google Sheets.

  1. From the “true” path of Branch Verification, connect to Dispatch WhatsApp Promo.
  2. Set Number to {{ $json.data.number }}.
  3. Set Message to the multi-line template that references {{ $('Normalize WhatsApp Number').item.json.first_name }} and {{ $('Shape Coupon Payload').item.json.data.coupons[0].couponCode }}.
  4. Credential Required: Connect your rapiwaApi credentials.
  5. Connect Dispatch WhatsApp Promo to Log Verified Dispatch and set Operation to append.
  6. Set Document ID in Log Verified Dispatch to [YOUR_ID] and Sheet Name to gid=0.
  7. Credential Required: Connect your googleSheetsOAuth2Api credentials for Log Verified Dispatch.
  8. From the “false” path of Branch Verification, connect to Log Unverified Status with Operation set to append, Document ID to [YOUR_ID], and Sheet Name to gid=0.
  9. Credential Required: Connect your googleSheetsOAuth2Api credentials for Log Unverified Status.

Step 6: Configure the Delay Loop

Add a wait cycle to pace processing and loop back for batch handling.

  1. Connect both Log Verified Dispatch and Log Unverified Status to Delay Cycle.
  2. Connect Delay Cycle back to Iterate Records to process the next batch.
  3. Adjust Delay Cycle settings if you need throttling or a specific wait duration.

Step 7: Test and Activate Your Workflow

Run a manual test to confirm WhatsApp delivery and logging before enabling production automation.

  1. Click Execute Workflow and create a test coupon in WooCommerce to trigger Commerce Coupon Trigger.
  2. Verify that Dispatch WhatsApp Promo sends a message for verified numbers and Log Verified Dispatch appends a row.
  3. Confirm that unverified numbers route to Log Unverified Status with status not sent and validity unverified.
  4. When the test succeeds, toggle the workflow to Active to enable live automation.
🔒

Unlock Full Step-by-Step Guide

Get the complete implementation guide + downloadable template

Common Gotchas

  • WooCommerce API permissions can block customer retrieval. If the run stops early, check the WooCommerce REST API keys and read access for customers in your WooCommerce settings first.
  • If you’re using Wait nodes or external rendering, processing times vary. Bump up the wait duration if downstream nodes fail on empty responses.
  • Rapiwa credentials and sender settings matter more than people expect. If verification works but sending fails, re-check your Rapiwa API token and the WhatsApp sending configuration inside your Rapiwa dashboard.

Frequently Asked Questions

How long does it take to set up this WooCommerce WhatsApp promos automation?

About 30 minutes if your accounts and API access are ready.

Do I need coding skills to automate WooCommerce WhatsApp promos?

No. You will connect WooCommerce, Rapiwa, and Google Sheets, then map a few fields.

Is n8n free to use for this WooCommerce WhatsApp promos workflow?

Yes. n8n has a free self-hosted option and a free trial on n8n Cloud. Cloud plans start at $20/month for higher volume. You’ll also need to factor in Rapiwa API costs based on your WhatsApp verification and message volume.

Where can I host n8n to run this automation?

Two options: n8n Cloud (managed, easiest setup) or self-hosting on a VPS. For self-hosting, Hostinger VPS is affordable and handles n8n well. Self-hosting gives you unlimited executions but requires basic server management.

Can I customize this WooCommerce WhatsApp promos workflow for different message templates?

Yes, and you should. Update the message body in the “Dispatch WhatsApp Promo” step, and adjust the “Shape Coupon Payload” code so the fields match your copy style. Common tweaks include adding minimum spend rules, inserting a short URL, and switching languages by customer country. If you run multiple coupons at once, you can also change the logic so it doesn’t only reference the first coupon.

Why is my Rapiwa connection failing in this workflow?

Usually it’s an expired or incorrect API token in n8n. Update the Rapiwa credentials, then re-run a single test customer to confirm verification and sending both work. If it still fails, check your Rapiwa account settings for sending permissions, and slow the workflow down with a longer wait if you’re hitting rate limits.

How many customers can this WooCommerce WhatsApp promos automation handle?

Thousands, as long as you batch them and respect API limits.

Is this WooCommerce WhatsApp promos automation better than using Zapier or Make?

Often, yes, because the “verify then branch then log” pattern is where simpler tools get clunky or expensive. n8n makes batching, waits, and conditional routing straightforward, which matters when you’re processing a whole customer list. Self-hosting also changes the economics if you run frequent campaigns. Zapier or Make can still be fine for very small lists and simple triggers, especially if your team hates managing anything. Talk to an automation expert if you want a quick recommendation for your volume and budget.

You set the coupon once, and the workflow handles the outreach and the record-keeping. The Google Sheet becomes your single source of truth for what actually happened.

Need Help Setting This Up?

Our automation experts can build and customize this workflow for your specific needs. Free 15-minute consultation—no commitment required.

Lisa Granqvist

Workflow Automation Expert

Expert in workflow automation and no-code tools.

×

Use template

Get instant access to this n8n workflow Json file

💬
Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Get a free quote today!
Get a free quote today!

Tell us what you need and we'll get back to you within one working day.

Launch login modal Launch register modal