Templates / Process refund requests from Gmail using Shopify and Google Sheets

Process refund requests from Gmail using Shopify and Google Sheets

Ready for 3.0

by Avkash Kakdiya ✓ · 121 views · created 2026-03-31 · 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 10 nodes and runs on Gmail events. Along the way it connects Gmail, Groq Chat Model, Google Sheets and Shopify.

How it runs

Trigger: On Gmail events.

  1. AI Agent: runs an AI agent, with model: Groq Chat Model
  2. Code: runs custom JavaScript code
  3. Get an order (Shopify): get
  4. If: checks a condition and branches into true / false
  5. Send a message to customer (Gmail): uses Gmail
  6. Send a message to the team (Gmail): uses Gmail
  7. Logs to Sheet (Google Sheets): append
  8. Send a message to customer for "Pending" Status (Gmail): uses Gmail

Services it uses

GmailGroq Chat ModelGoogle SheetsShopify

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.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail Trigger).

Nodes used (8)

From the author

How it works This workflow monitors incoming Gmail messages for refund requests and uses AI to extract the order ID and reason. It then retrieves order details from Shopify to evaluate refund eligibility. Based on the order status, it automatically approves…

Excerpt from Avkash Kakdiya'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.