Skip to main content

Automated WhatsApp upsell messages for Shopify cancellations with Rapiwa & Sheet

Workflow preview

Workflow preview
100%
Automated WhatsApp upsell messages for Shopify cancellations with Rapiwa & Sheet preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Who is this for? This workflow is for Shopify store owners, customer success, and marketing teams who want to automatically check customers’ WhatsApp numbers and send personalized messages with dis...

Best for

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

Tools used

n8n-nodes-base.splitinbatches, n8n-nodes-base.httprequest, n8n-nodes-base.splitout, n8n-nodes-base.code, n8n-nodes-base.scheduletrigger, n8n-nodes-base.if, n8n-nodes-rapiwa.rapiwa, n8n-nodes-base.stickynote

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Automated WhatsApp upsell messages for Shopify cancellations with Rapiwa & Sheet
Workflow name
Automated WhatsApp upsell messages for Shopify cancellations with Rapiwa & Sheet

Who is this for?

This workflow is for Shopify store owners, customer success, and marketing teams who want to automatically check customers’ WhatsApp numbers and send personalized messages with discount codes for canceled orders. It helps recover lost sales by reaching out with special offers.

What This Workflow Does

  • Automatically checks for canceled orders on a schedule
  • Fetches canceled orders from Shopify
  • Creates personalized recovery messages based on customer data
  • Verifies customers’ WhatsApp numbers via Rapiwa
  • Logs results in Google Sheets: “Verified & Sent” for successful messages, “Unverified & Not Sent” for unverified numbers

Requirements

  • Shopify store with API access enabled
  • Shopify API credentials with access to orders and customer data
  • Rapiwa account and a valid Bearer token
  • Google account with Sheets access and OAuth2 credentials

Setup plan

  1. Add your credentials

    • Rapiwa: Create an HTTP Bearer credential in n8n and paste your token (example name: Rapiwa Bearer Auth).
    • Google Sheets: Add an OAuth2 credential (example name: Google Sheets).
  2. Set up Shopify

    • Replace your_shopify_domain with your real Shopify domain.
    • Replace your_shop_access-token with your actual Shopify API token.
  3. Set up Google Sheets

    • Update the example spreadsheet ID and sheet gid with your own.
    • Make sure your sheet’s column headers match the mapping keys exactly—same spelling, case, and no extra spaces.
  4. Configure the Schedule Trigger

    • Choose how often you want the workflow to check for canceled orders (daily, weekly, etc.).
  5. Check the HTTP Request nodes

    • Verify endpoint: Should call Rapiwa’s verifyWhatsAppNumber.
    • Send endpoint: Should use Rapiwa’s send-message API with your template (includes customer name, reorder link, discount code).

Google Sheet Column Structure

The Google Sheets nodes in the flow append rows with these column. Make sure the sheet headers match exactly.

A Google Sheet formatted like thissample

| Name | Number | Item Name | Coupon | Item Link | Validity | Status | | ------------ | ------------- | ------------------------------------------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | ---------- | ------ | | Abdul Mannan | 8801322827799 | Samsung Galaxy S24 Ultra 5G 256GB-512GB-1TB | REORDER5 | Re-order Link | verified | sent | | Abdul Mannan | 8801322827790 | Samsung Galaxy S24 Ultra 5G 256GB-512GB-1TB | REORDER5 | Re-order Link | unverified | not sent |

Important Notes

  • Do not hard-code API keys or tokens; always use n8n credentials.
  • Google Sheets column header names must match the mapping keys used in the nodes. Trailing spaces are common accidental problems — trim them in the spreadsheet or adjust the mapping.
  • Message templates reference - update templates if you need to reference different data.
  • The workflow processes cancelled orders in batches to avoid rate limits. Adjust the batch size if needed.

Useful Links

Support & Help

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 - Get Specific Customer Data

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

Block 3 - Split Out

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

Block 4 - Get All Cancelled Order

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

Block 5 - Get Product name with re-order llink

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

Block 6 - Get customer info

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

Block 7 - Get Customer Total Spent

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

Block 8 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 9 - If

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

Block 10 - Rapiwa (verify number)

Type / Role
n8n-nodes-rapiwa.rapiwa - rapiwa
Config choices
Version 1

Block 11 - Rapiwa (sent message)

Type / Role
n8n-nodes-rapiwa.rapiwa - rapiwa
Config choices
Version 1

Block 12 - Sticky Note6

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

Block 13 - Wait

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

Block 14 - Store State of Rows in Verified & Sent

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

Block 15 - Store State of Rows in Unverified & Not Sent

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

Block 16 - Sticky Note

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

Block 17 - Sticky Note1

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

Block 18 - Sticky Note2

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

Block 19 - Sticky Note3

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

3. Summary Table

Workflow Automated WhatsApp upsell messages for Shopify cancellations with Rapiwa & Sheet
Complexity advanced
Nodes 19
Categories Lead Nurturing
Author Rapiwa
Published 13 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10790/10790.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 Automated WhatsApp upsell messages for Shopify cancellations with Rapiwa & Sheet do?

Who is this for? This workflow is for Shopify store owners, customer success, and marketing teams who want to automatically check customers’ WhatsApp numbers and send personalized messages with dis...

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.