Skip to main content

Send WooCommerce new category alert via WhatsApp using Rapiwa API

Workflow preview

Workflow preview
100%
Send WooCommerce new category alert via WhatsApp using Rapiwa API preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Send WooCommerce New Category Alert via WhatsApp Using Rapiwa API This n8n automation listens for the creation of a new WooCommerce product category, fetches all WooCommerce customers, cleans and f...

Best for

  • Lead Nurturing automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.splitinbatches, n8n-nodes-base.webhook, n8n-nodes-base.if, n8n-nodes-base.googlesheets, n8n-nodes-base.limit, n8n-nodes-base.woocommerce, n8n-nodes-base.stickynote, n8n-nodes-base.code

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by SpaGreen Creative.

Original n8n.io source

1.1 Workflow description

Title
Send WooCommerce new category alert via WhatsApp using Rapiwa API
Workflow name
Send WooCommerce new category alert via WhatsApp using Rapiwa API

Send WooCommerce New Category Alert via WhatsApp Using Rapiwa API

This n8n automation listens for the creation of a new WooCommerce product category, fetches all WooCommerce customers, cleans and formats their phone numbers, verifies them using the Rapiwa WhatsApp validation API, sends a WhatsApp message to verified numbers with the new category info, and logs each interaction into a Google Sheet (separately for verified and unverified customers).

Who this is for

You have a WooCommerce store and want to:

  • Send a promotional message when a new product category is added,
  • Verify customer WhatsApp numbers in bulk,
  • Keep a clear log in Google Sheets of which numbers are verified or not.

What it does (high level)

  1. Webhook is triggered when a new WooCommerce category is created.
  2. Fetches all WooCommerce customers via API.
  3. Limits processing to the first 10 customers (for performance/testing).
  4. Cleans phone numbers (removes +, spaces, and non-digits).
  5. Verifies each number via Rapiwa WhatsApp Verify API.
  6. If verified: sends WhatsApp message with new category info, logs as Verification = verified, Status = sent.
  7. If not verified: logs as Verification = unverified, Status = not sent.
  8. Processes users in batches with delays to avoid rate limiting.

How it works (step-by-step)

  • Trigger: Webhook node is triggered by WooCommerce category creation.
  • Format Data: Category details (name, slug, description) are parsed.
  • Get Customers: Fetch all WooCommerce customers using the WooCommerce API.
  • Limit: Only the first 10 are processed.
  • Loop & Clean: Loop over each customer, clean phone numbers and extract info.
  • Verify Number: Send HTTP POST to https://app.rapiwa.com/api/verify-whatsapp.
  • Decision Node: Use If node to check if exists == true.
  • Send Message: If verified, send WhatsApp message with category details.
  • Append to Sheet: Log verified and unverified customers separately in Google Sheets.
  • Wait + Batch Control: Use Wait and SplitInBatches nodes to control flow and prevent throttling.

Example verify body (HTTP Request node):

{
  ""number"": ""{{ $json['WhatsApp No'] }}""
}

Google Sheet Column Reference

name number email address catagoris description status
Abdul Mannan 8801322827799 [email protected] mirpur dohs Electronics SShop top-braxxxxrable tech. unverified
Abdul Mannan 8801322827799 [email protected] mirpur dohs Electronics Shop top-braxxxxrable tech. verified
Abdul Mannan 8801322827799 [email protected] mirpur doh Electronics Shop top-braxxxxrable tech. verified

Customization ideas

  • Send images, videos, or template messages if supported by Rapiwa.
  • Personalize messages using name or category data.
  • Increase delay or reduce batch size to minimize risk of rate limits.
  • Add a second sheet to log full API responses for debugging and auditing.

Best practices

  • Test on small batches before scaling.
  • Only send messages to users who opted in.
  • Store API credentials securely using n8n’s credentials manager.
  • Ensure your Google Sheet column headers match exactly with what's expected.

Key Improvements Made

  • Clarified the trigger source as a Webhook from WooCommerce category creation.
  • Fixed inconsistency in the ""What it does"" section (originally referenced reading from Google Sheets, but your workflow starts from WooCommerce, not Sheets).
  • Standardized terminology to match n8n nodes: Webhook, Loop, HTTP Request, etc.
  • Aligned the flow exactly with your nodes:
    • Webhook → Format → Get Customers → Limit → Loop → Clean → Verify → If → Send/Log → Wait → Repeat

Useful Links

Support

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 2 - Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 3 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 4 - unverified append row in sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 5 - verified append row in sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 6 - Limit

Type / Role
n8n-nodes-base.limit - limit
Config choices
Version 1

Block 7 - Get many customers

Type / Role
n8n-nodes-base.wooCommerce - wooCommerce
Config choices
Version 1

Block 8 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Format Webhook Response Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - Check valid whatsapp number Using Rapiwa

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 11 - Send Message Using Rapiwa

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 12 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 13 - Clean Number

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 14 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Send WooCommerce new category alert via WhatsApp using Rapiwa API
Complexity advanced
Nodes 19
Categories Lead Nurturing
Author SpaGreen Creative
Published 27 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9002/9002.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Send WooCommerce new category alert via WhatsApp using Rapiwa API do?

Send WooCommerce New Category Alert via WhatsApp Using Rapiwa API This n8n automation listens for the creation of a new WooCommerce product category, fetches all WooCommerce customers, cleans and f...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Nurturing use case.