See llms.txt for all machine-readable content.

Back to Templates

Send Shopify WhatsApp order updates and feedback polls with Supergreen

Quick overview

This workflow automates Shopify order confirmations, shipping tracking updates, cancellations, and post-delivery feedback polls on WhatsApp using Supergreen, while logging order status changes to Google Sheets and notifying teams in Slack for VIP orders, delivery issues, delays, and workflow errors.

How it works

  1. Triggers on Shopify orders/create webhooks, normalizes the order data and customer phone number, sends a WhatsApp order confirmation via Supergreen, logs the order in Google Sheets, and posts a Slack alert if the order total meets the VIP threshold.
  2. Triggers on Shopify orders/fulfilled webhooks, extracts carrier and tracking details, sends a WhatsApp tracking message via Supergreen, and updates the matching order row in Google Sheets with shipping status and the delivery poll due time.
  3. Triggers on Shopify orders/cancelled webhooks, normalizes the cancellation details, sends a WhatsApp cancellation message via Supergreen, and marks the order as Cancelled in Google Sheets.
  4. Runs daily at 10:00, reads the Orders sheet in Google Sheets, filters for shipped orders whose delivery poll is due and not yet sent, sends a 3-option WhatsApp poll via Supergreen, and stores the poll message ID back in Google Sheets.
  5. Triggers when a customer votes on the Supergreen WhatsApp poll, looks up the related order in Google Sheets by poll message ID, and routes the outcome based on the selected option.
  6. For “Delivered - loved it!”, updates the order status in Google Sheets and sends a WhatsApp review link; for “Delivered - had an issue”, updates the status, alerts Slack support, and confirms follow-up on WhatsApp; for “Still waiting for package”, updates the status, resends tracking on WhatsApp, and alerts Slack fulfillment.
  7. Triggers on unhandled workflow errors and posts the workflow, failing node, and error message to a Slack channel.

Setup

  1. Install the n8n-nodes-supergreen community node, connect your WhatsApp number in Supergreen, and add Supergreen API credentials in n8n.
  2. Add Shopify Access Token credentials and configure Shopify webhooks for orders/create, orders/fulfilled, and orders/cancelled to point to the three Shopify Trigger nodes.
  3. Add Google Sheets OAuth2 credentials, create an Orders sheet with the expected columns (including orderId, status, trackingUrl, deliveryPollDueAt, and pollMessageId), and replace SET_GOOGLE_SHEET_ID in the configuration values.
  4. Add Slack OAuth2 credentials, replace SET_SLACK_CHANNEL_ID, and ensure the target Slack channel is accessible for VIP, delivery, delay, and error alerts.
  5. Update store-specific values such as storeName, vipOrderThreshold, deliveryPollDelayHours, and reviewUrl, and ensure Shopify checkout collects customer phone numbers so WhatsApp messages can be delivered.

Requirements

  • Supergreen API account (https://supergreen.cc) with n8n-nodes-supergreen installed, plus Shopify Admin API access token, Google Sheets OAuth2, and Slack OAuth2 credentials.

Customization

  • Customize VIP order threshold (default 250), delivery poll delay (default 72 hours), message copy, or swap Google Sheets for Airtable or Postgres.