Skip to main content

Automated Shopify abandoned cart recovery with WhatsApp messages & Google Sheets

Workflow preview

Workflow preview
100%
Automated Shopify abandoned cart recovery with WhatsApp messages & Google Sheets 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 perfect for e commerce store owners using Shopify who want to automatically recover abandoned carts through personalized WhatsApp messages. It's ideal for business...

Best for

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

Tools used

n8n-nodes-base.splitinbatches, n8n-nodes-base.scheduletrigger, n8n-nodes-base.splitout, n8n-nodes-base.httprequest, n8n-nodes-base.if, n8n-nodes-rapiwa.rapiwa, n8n-nodes-base.wait, n8n-nodes-base.googlesheets

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
Automated Shopify abandoned cart recovery with WhatsApp messages & Google Sheets
Workflow name
Automated Shopify abandoned cart recovery with WhatsApp messages & Google Sheets

Who Is This For?

This workflow is perfect for e-commerce store owners using Shopify who want to automatically recover abandoned carts through personalized WhatsApp messages. It's ideal for businesses looking to increase conversion rates without manual outreach efforts.

What This Workflow Does

  • Automated Cart Recovery: Runs on a schedule to check for abandoned checkouts
  • Data Extraction: Retrieves abandoned checkout data from Shopify using both GraphQL and REST APIs
  • Customer Data Processing:
    • Fetches detailed customer information including name, email, and phone number
    • Formats customer data for WhatsApp messaging
    • Creates personalized messages with recovery links and discount codes
  • WhatsApp number Verifies if customer phone numbers are registered on WhatsApp using Rapiwa API
  • Targeted Messaging:
    • Sends personalized WhatsApp messages to verified numbers
    • Includes a 5% discount code (REOXXER5) to incentivize completion
    • Also send direct recovery links
  • Data Tracking:
    • Stores all outreach attempts in Google Sheets
    • Tracks which numbers were verified and which messages were sent otherwise not-sent
    • Save on sheet for verified and unverified contacts

Requirements

  • Shopify Admin API Access (to retrieve checkout and customer data)
  • Google Sheets OAuth2 (for tracking outreach)
  • Rapiwa API (for WhatsApp verification and messaging)

How to Use — Step-by-Step Setup

1. Set Up Credentials in n8n

  • Add your Shopify Admin API credentials with access to customer and checkout data
  • Add Google Sheets OAuth2 credentials (named "Google Sheets")
  • Add Rapiwa API credentials (named "Rapiwa account 2")

2. Prepare Your Google Sheet

Google sheet: Example

3. Customize the Workflow

  • Modify the Schedule
  • Change the discount code from "REOXXXXR5" to your offer

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 - Schedule Trigger

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

Block 3 - Split Out

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

Block 4 - Get customer info

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

Block 5 - Get All Abandoned checkouts

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

Block 6 - Get Initial Abandoned Checkout

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

Block 7 - Split Out1

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

Block 8 - Loop Over Items1

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

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 - Wait

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

Block 13 - Store State of Rows in Verified & Sent

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

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

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

Block 15 - Code in JavaScript

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

Block 16 - Sticky Note

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

Block 17 - Sticky Note2

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

Block 18 - Sticky Note4

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 Shopify abandoned cart recovery with WhatsApp messages & Google Sheets
Complexity advanced
Nodes 19
Categories Lead Nurturing
Author SpaGreen Creative
Published 22 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11129/11129.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 Shopify abandoned cart recovery with WhatsApp messages & Google Sheets do?

Who Is This For? This workflow is perfect for e commerce store owners using Shopify who want to automatically recover abandoned carts through personalized WhatsApp messages. It's ideal for business...

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.