Back to Catalog

Send Rapiwa WhatsApp apology & reorder link when Shopify order is cancelled

RapiwaRapiwa
103 views
2/3/2026
Official Page

Who Is This For?

This n8n workflow listens for order cancellations in Shopify, extracts relevant customer and order data, checks if the customer’s phone number is registered on WhatsApp via the Rapiwa API, and sends a personalised apology message with a re-order link. It also logs successful and unsuccessful attempts in Google Sheets for tracking.

What This Workflow Does

  • Listens for cancelled orders in your Shopify store
  • Extracts customer details and order information
  • Generates a personalised apology message including a reorder link
  • Sends the message to customers via WhatsApp using a messaging API (e.g., Twilio or Rapiwa)
  • Logs the communication results for tracking purposes

Key Features

  • Real-Time Cancellation Detection: Automatically triggers when an order is cancelled
  • Personalised Messaging: Includes customer name, order details, and a direct reorder link
  • WhatsApp Integration: Sends messages via WhatsApp for higher engagement
  • Error Handling: Logs successful and failed message deliveries
  • Reorder Link: Provides a convenient link for customers to reorder with one click

Requirements

  • n8n instance with nodes: Shopify Trigger, HTTP Request (for WhatsApp API), Code, Google Sheets (optional)
  • Shopify store with API access
  • WhatsApp messaging provider account with API access
  • Valid customer phone numbers stored in Shopify orders

How to Use β€” Step-by-Step Setup

  1. Credentials Setup

    • Shopify API: Configure Shopify API credentials in n8n to listen for order cancellations
    • WhatsApp API: Set up WhatsApp messaging credentials (e.g., Twilio, Rapiwa, or any supported provider)
    • Google Sheets (Optional): Configure Google Sheets OAuth2 if you want to log communications
  2. Configure Trigger
    Set the workflow to trigger on Shopify order cancellation events

  3. Customize Message Content
    Modify the apology message template to include your store branding and tone
    Ensure the reorder link dynamically includes the customer's cancelled order info

  4. Set Up WhatsApp Node
    Connect your WhatsApp API credentials
    Ensure the phone numbers are formatted correctly for WhatsApp delivery

Google Sheet Required Columns

You’ll need two Google Sheets (or two tabs in one spreadsheet): A Google Sheet formatted like this ➀ sample The workflow uses a Google Sheet with the following columns to track coupon distribution:

| Name | Number | Email | Address | Price | Title | Re-order Link | Validity | Status | | -------------- | ------------- | --------------------------------------------------- | ----------------- | ----------- | -------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ------------ | ---------- | | Abdul Mannan | 8801322827799 | contact@spagreen.net | Dhaka, Bangladesh | BDT 1955.00 | Pakistani Lawn | Link πŸ”— | unverified | not sent | | Abdul Mannan | 8801322827799 | contact@spagreen.net | Dhaka, Bangladesh | BDT 1955.00 | Pakistani Lawn | Link πŸ”— | verified | sent |

Important Notes

  • Phone Number Validation: Ensure customer phone numbers are WhatsApp-enabled and formatted properly
  • API Rate Limits: Respect your WhatsApp provider’s API limits to avoid throttling
  • Data Privacy: Always comply with privacy laws when messaging customers
  • Error Handling: Monitor logs regularly to handle failed message deliveries
  • Testing: Test thoroughly with dummy data before activating the workflow live

Useful Links

Support & Help

n8n Workflow: Shopify Order Cancellation Processing

This n8n workflow monitors for Shopify order cancellations and performs a series of actions based on the cancelled order details.

What it does

This workflow is designed to automate the processing of cancelled Shopify orders. While the exact actions are not fully defined in the provided JSON (due to missing node configurations), the structure suggests the following:

  1. Listens for Shopify Order Cancellations: The workflow is triggered whenever an order is cancelled in Shopify.
  2. Conditional Logic: It includes an "If" node, indicating that subsequent actions will depend on certain conditions being met by the cancelled order data.
  3. Iterates over Items: A "Loop Over Items (Split in Batches)" node suggests that if the cancelled order contains multiple items or if the subsequent actions need to be performed for each item, the workflow will process them individually or in batches.
  4. Data Manipulation (Code Node): A "Code" node is present, which implies custom JavaScript logic will be executed to process or transform the cancelled order data.
  5. Google Sheets Integration: A "Google Sheets" node is included, indicating that the workflow will interact with a Google Sheet, likely to record, update, or retrieve information related to the cancelled order.
  6. Wait for a Period: A "Wait" node is present, which will pause the workflow for a specified duration before proceeding to the next steps.
  7. Informational Note: A "Sticky Note" is included, which typically serves as a comment or explanation within the workflow for documentation purposes.

Note: The specific details of the "If" conditions, the "Code" node's logic, and the "Google Sheets" operations are not visible in the provided JSON structure, as these require specific node configurations.

Prerequisites/Requirements

To use this workflow, you will need:

  • n8n Instance: A running n8n instance.
  • Shopify Account: A Shopify store with appropriate API access configured for n8n.
  • Google Account: A Google account with access to Google Sheets, and the necessary credentials configured in n8n.

Setup/Usage

  1. Import the Workflow: Import the provided JSON into your n8n instance.
  2. Configure Credentials:
    • Set up your Shopify credentials in n8n.
    • Set up your Google Sheets credentials in n8n.
  3. Configure Nodes:
    • Shopify Trigger: Ensure the trigger is set to listen for "Order Cancelled" events.
    • If: Configure the conditions within the "If" node based on your specific business logic for cancelled orders (e.g., checking specific product types, order values, or customer segments).
    • Code: Customize the JavaScript code within the "Code" node to perform any necessary data transformations or calculations.
    • Google Sheets: Configure the "Google Sheets" node to perform the desired operation (e.g., "Append Row," "Update Row," "Get All") and specify the spreadsheet and sheet name.
    • Wait: Adjust the duration of the "Wait" node as needed.
  4. Activate the Workflow: Once configured, activate the workflow to start monitoring for Shopify order cancellations.

Related Templates

Automate job searching & resume customization with AI, LinkedIn & Google Sheets

πŸ€– AI-Powered Job Matcher & Resume Customizer Description This advanced workflow automates the entire job search and preparation process, moving beyond simple notifications to provide AI-driven career intelligence. It connects to LinkedIn to scrape fresh job postings, filters against jobs you've already seen, and then uses powerful LLMs (Mistral Large/Small) to perform a detailed resume-to-job match, generate tailored cover letters, and provide concrete resume improvement suggestions. All data is logged into a Google Sheet for comprehensive tracking, and a clean, single Daily Digest Email summarizes the top 5 matches found each day. --- ✨ Key Features Automated Scheduling: Runs daily to find new job postings. Multi-Keyword Search: Uses your main job title and three alternate titles generated by an AI Agent for maximum search coverage. LinkedIn Web Scraping: Pulls new job URLs, details, location, and salary data from LinkedIn Search results. Duplicate Prevention: Uses the Compare Datasets node to ensure only new, unseen jobs are processed against your master Google Sheet. Intelligent Matching (LLM): The workflow performs a detailed job-to-resume comparison, generating: A Match Score (0-100) with evidence for alignment in skills, experience, and domain. A Tailored Cover Letter specific to the job title and company. Actionable Resume Improvement points (e.g., [ADD], [QUANTIFY]) to optimize your resume for the specific role. Centralized Tracking: Saves all job data, match scores, cover letters, and resume suggestions to a Google Sheet. Professional Daily Digest: Sends a single, clean HTML email summarizing the top 5 highest-scoring job matches for easy review. --- πŸ› οΈ Prerequisites n8n Credentials: Google Drive: To download your resume (PDF/DOCX file URL). Google Sheets: To connect to your job tracking sheet. Gmail: To send the daily digest email. Mistral Cloud: For the LLM processing (Resume Breakdown, Job Matching, and Resume Analysis). External Files: A Job Tracking Google Sheet (used as a master database). Your current Resume file (PDF recommended, hosted on Google Drive). Setup Notes: Update the file links (Download Resume node) and Google Sheet details (Get row(s)/Append nodes). Set your personal email address in the Send Digest Email node. Review the LLM prompts to tailor the AI agent's persona and output fields to your exact needs.

Jordan HoyleBy Jordan Hoyle
1405

Automate peer review assignments with GPT-4-nano, Slack and email notifications

Introduction Automate peer review assignment and grading with AI-powered evaluation. Designed for educators managing collaborative assessments efficiently. How It Works Webhook receives assignments, distributes them, AI generates review rubrics, emails reviewers, collects responses, calculates scores, stores results, emails reports, updates dashboards, and posts analytics to Slack. Workflow Template Webhook β†’ Store Assignment β†’ Distribute β†’ Generate Review Rubric β†’ Notify Slack β†’ Email Reviewers β†’ Prepare Response β†’ Calculate Score β†’ Store Results β†’ Check Status β†’ Generate Report β†’ Email Report β†’ Update Dashboard β†’ Analytics β†’ Post to Slack β†’ Respond to Webhook Workflow Steps Receive & Store: Webhook captures assignments, stores data. Distribute & Generate: Assigns peer reviewers, AI creates rubrics. Notify & Email: Alerts via Slack, sends review requests. Collect & Score: Gathers responses, calculates peer scores. Report & Update: Generates reports, emails results, updates dashboard. Analyze & Alert: Posts analytics to Slack, confirms completion. Setup Instructions Webhook & Storage: Configure endpoint, set up database. AI Configuration: Add OpenAI key, customize rubric prompts. Communication: Connect Gmail, Slack credentials. Dashboard: Link analytics platform, configure metrics. Prerequisites OpenAI API key Gmail account Slack workspace Database or storage system Dashboard tool Use Cases University peer review assignments Corporate training evaluations Research paper assessments Customization Multi-round review cycles Custom scoring algorithms Benefits Eliminates manual distribution Ensures consistent evaluation

Cheng Siong ChinBy Cheng Siong Chin
42

Generate QA test cases from Figma designs to Google Sheets using GPT-4o-mini

Description Transform Figma design files into detailed QA test cases with AI-driven analysis and structured export to Google Sheets. This workflow helps QA and product teams streamline design validation, test coverage, and documentation β€” all without manual effort. πŸŽ¨πŸ€–πŸ“‹ What This Template Does Step 1: Trigger manually and input your Figma file ID. 🎯 Step 2: Fetches the full Figma design data (layers, frames, components) via API. 🧩 Step 3: Sends structured design JSON to GPT-4o-mini for intelligent test case generation. 🧠 Step 4: AI analyzes UI components, user flows, and accessibility aspects to generate 5–10 test cases. βœ… Step 5: Parses and formats results into a clean structure. Step 6: Exports test cases directly to Google Sheets for QA tracking and reporting. πŸ“Š Key Benefits βœ… Saves 2–3 hours per design by automating test case creation βœ… Ensures consistent, comprehensive QA documentation βœ… Uses AI to detect UX, accessibility, and functional coverage gaps βœ… Centralizes output in Google Sheets for easy collaboration Features Figma API integration for design parsing GPT-4o-mini model for structured test generation Automated Google Sheets export Dynamic file ID and output schema mapping Built-in error handling for large design files Requirements Figma Personal Access Token OpenAI API key (GPT-4o-mini) Google Sheets OAuth2 credentials Target Audience QA and Test Automation Engineers Product & Design Teams Startups and Agencies validating Figma prototypes Setup Instructions Connect your Figma token as HTTP Header Auth (X-Figma-Token). Add your OpenAI API key in n8n credentials (model: gpt-4o-mini). Configure Google Sheets OAuth2 and select your sheet. Input Figma file ID from the design URL. Run once manually, verify output, then enable for regular use.

Rahul JoshiBy Rahul Joshi
870