Triage and approve e-commerce returns with Gemini, Shopify and WooCommerce
Ready for 3.0What this workflow does
This workflow has 28 nodes and runs when an HTTP POST request hits its webhook URL (plus 3 other triggers). Along the way it connects Shopify, WooCommerce, Google Sheets and Gmail and 1 more.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 3 other triggers).
- Workflow Configuration (Edit Fields (Set)): sets 16 fields: defaultPlatform, shopifyDomain, shopifyAdminToken…
- Load Pending RMA (Google Sheets): read (sheet within document)
- Normalize Intake (Code): runs custom JavaScript code
- Find Pending RMA (Code): runs custom JavaScript code
- Route By Platform (If): checks a condition and branches into true / false
- Is Approved? (If): checks a condition and branches into true / false
- Fetch Shopify Order (Shopify): get (order)
- Fetch WooCommerce Order (WooCommerce): get (order)
- Create Platform Return (Code): runs custom JavaScript code
- Notify Customer Rejected (Gmail): send (message)
…plus 14 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Slack templates (1,314) · Other Gmail + Slack templates (957)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- Webhook
n8n-nodes-base.webhook - Manual Trigger
n8n-nodes-base.manualTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Shopify
n8n-nodes-base.shopify - WooCommerce
n8n-nodes-base.wooCommerce - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail - Slack
n8n-nodes-base.slack
From the author
Quick overview This workflow automates return merchandise authorizations (RMAs) for Shopify and WooCommerce by ingesting return requests, fetching order details, classifying return reasons with Google Gemini, checking prior return history in Google Sheets,…