# Triage warranty claims and issue RMAs with OpenAI and Shopify: n8n workflow

> Started by someone submitting a form, and works across Airtable, Gmail, Shopify and Slack. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/triage-warranty-claims-and-issue-rmas-with-openai-and-shopif (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [E-commerce](https://millionrounds.com/workflows?category=E-commerce#library)

# Triage warranty claims and issue RMAs with OpenAI and Shopify

Started by someone submitting a form, and works across Airtable, Gmail, Shopify and Slack. It hands the judgement calls to OpenAI. 24 steps, 3 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftriage-warranty-claims-and-issue-rmas-with-openai-and-shopif)

**24 steps** Large: read it before trusting it with anything live

**3** Branches: places the flow splits

**0** Loops or waits

**4** Services it connects to

## The flow

Starts it 1 Model 1 Logic 10 Service 12

The steps in the order they run, from what starts it.

- 1 **Warranty claim form** Form trigger *Starts it*
- 2 **Workflow settings** Set *Logic*
- 3 **Normalize claim & assign ID** Set *Logic*
- 4 **AI triage with OpenAI** Open Ai *Model*
- 5 **Parse triage safely** Code *Logic*
- 6 **Find order in Shopify** Shopify *Service*
- 7 **Match order number** Filter *Logic*
- 8 **Order found?** If *Logic*
- 9 **Evaluate warranty & eligibility** Set *Logic*
- 10 **Email customer: order not found** Gmail *Service*
- 11 **Auto-approve claim?** If *Logic*
- 12 **Assign RMA number** Set *Logic*
- 13 **Create RMA record (pending review)** Airtable *Service*
- 14 **Create RMA record (auto-approved)** Airtable *Service*
- 15 **Ask approvers to decide** Slack *Service*
- 16 **Email customer: claim approved** Gmail *Service*
- 17 **Fetch claim record** Airtable *Service*
- 18 **Log approval in ops channel** Slack *Service*
- 19 **Approved by reviewer?** If *Logic*
- 20 **Assign RMA number (reviewed)** Set *Logic*
- 21 **Update record: rejected** Airtable *Service*
- 22 **Update record: approved** Airtable *Service*
- 23 **Email customer: claim declined** Gmail *Service*
- 24 **Email customer: decision & RMA** Gmail *Service*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 24, with 3 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Airtable, Gmail, Shopify, Slack
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Airtable, Gmail, Shopify and Slack accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 24 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 24 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ftriage-warranty-claims-and-issue-rmas-with-openai-and-shopif)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Airtable](https://millionrounds.com/workflows?service=Airtable#library)[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Shopify](https://millionrounds.com/workflows?service=Shopify#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

Also e-commerce, with the same services where possible, closest in size first.

- [**Create AI-powered 3D product videos from images with VEO3** 24 steps · calls a model · Discord, Gmail](https://millionrounds.com/workflow/create-ai-powered-3d-product-videos-from-images-with-veo3)
- [**Provide ecommerce support with Qdrant RAG and WooCommerce** 24 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/provide-ecommerce-support-with-qdrant-rag-and-woocommerce)
- [**Automate demand forecasting & inventory ordering with MySQL** 24 steps · MySQL, Slack](https://millionrounds.com/workflow/automate-demand-forecasting-and-inventory-ordering-with-mysq)
- [**Automate order confirmations with VAPI Voice AI** 24 steps · Airtable, Email](https://millionrounds.com/workflow/automate-order-confirmations-with-vapi-voice-ai)
- [**E-commerce Order Confirmation with Airtable and Gmail** 24 steps · Airtable, Gmail](https://millionrounds.com/workflow/e-commerce-order-confirmation-with-airtable-and-gmail)
- [**Resolve ecommerce order exceptions with Claude and Slack** 24 steps · Slack](https://millionrounds.com/workflow/resolve-ecommerce-order-exceptions-with-claude-and-slack)
