Templates / Decide Shopify return refunds with GPT-4o, Slack, and Google Sheets

Decide Shopify return refunds with GPT-4o, Slack, and Google Sheets

Ready for 3.0

by Swapnil Mandloi ✓ · 11 views · created 2026-08-19 · Ticket Management, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 9 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI, Slack and Google Sheets.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Fetch Order & Customer (HTTP Request): calls an HTTP API
  2. Compute Return Metrics (Code): runs custom JavaScript code
  3. AI Refund Decision (OpenAI): uses OpenAI
  4. Route by Decision (Switch): routes items into 2 branches
  5. Issue Refund (Shopify) (HTTP Request): calls an HTTP API (POST)
  6. Slack: uses Slack
  7. Log RMA to Sheets (Google Sheets): append
  8. Respond to Store (Respond to Webhook): sends the response back to the webhook caller

Services it uses

OpenAISlackGoogle Sheets

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.

Nodes used (8)

From the author

Quick overview This workflow receives Shopify return/RMA requests via webhook, fetches order details from the Shopify Admin API, uses OpenAI (GPT-4o) to decide whether to approve, review, or deny the refund, then posts exceptions to Slack, logs all RMAs to…

Excerpt from Swapnil Mandloi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.