# Abandoned cart recovery for Shopify with Gmail: n8n workflow

> Started by another system calling it, and works across Airtable, Gmail, Google Sheets and Twilio.

Source: https://millionrounds.com/workflow/abandoned-cart-recovery-for-shopify-with-gmail (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)

# Abandoned cart recovery for Shopify with Gmail

Started by another system calling it, and works across Airtable, Gmail, Google Sheets and Twilio. 18 steps, 1 branch, 4 loops or waits: a working afternoon to understand properly.

Medium

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fabandoned-cart-recovery-for-shopify-with-gmail)

**18 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**4** Loops or waits

**4** Services it connects to

## The flow

Starts it 2 Logic 8 Service 8

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

- 1 **Shopify Trigger** Shopify trigger *Starts it*
- 2 **Webhook** Webhook *Starts it*
- 3 **Airtable** Airtable *Service*
- 4 **Extract Key Values** Set *Logic*
- 5 **Wait some hours** Wait *Logic*
- 6 **GET Checkout Status** Http Request *Service*
- 7 **Completed Checkout?** If *Logic*
- 8 **Mark as "Recovered Naturally"** Google Sheets *Service*
- 9 **Fetch Cart** Http Request *Service*
- 10 **Apply Global Discount Code** Set *Logic*
- 11 **Send Email (Gmail)** Gmail *Service*
- 12 **Log to Google Sheet** Google Sheets *Service*
- 13 **Wait some days** Wait *Logic*
- 14 **Send SMS (Twilio)** Twilio *Service*
- 15 **Ready to take this to the next level? We at Innovatio are cheering for you!!! Best of luck and great successes to you all <3 Velebit from Innovatio** No Op *Logic*
- 16 **Wait 24 Hours** Wait *Logic*
- 17 **Loop Over Items** Split In Batches *Logic*
- 18 **GET Checkout Status1** Http Request *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 18, with 1 branch, 4 loops or waits
- **Size:** Medium: a working afternoon
- **Connects to:** Airtable, Gmail, Google Sheets, Twilio
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account, plus your own Airtable, Gmail, Google Sheets and Twilio accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Plan an afternoon. 18 steps is enough that you should read each one before running it.

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 18 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%2Fabandoned-cart-recovery-for-shopify-with-gmail)
- **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)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)[Twilio](https://millionrounds.com/workflows?service=Twilio#library)

## Workflows like it

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

- [**Calculate Shopify variant prices from Google Sheets with Slack** 18 steps · Google Sheets, Slack](https://millionrounds.com/workflow/calculate-shopify-variant-prices-from-google-sheets-with-sla)
- [**Cart abandonment pro automation with Google Sheets and Slack** 18 steps · Email, Google Sheets](https://millionrounds.com/workflow/cart-abandonment-pro-automation-with-google-sheets-and-slack)
- [**Create purchase orders from Google Sheets with Groq AI** 18 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/create-purchase-orders-from-google-sheets-with-groq-ai)
- [**AI blog generator for Shopify products with Gemini** 18 steps · calls a model · Google Sheets, Shopify](https://millionrounds.com/workflow/ai-blog-generator-for-shopify-products-with-gemini)
- [**Generate Shopify review outreach drafts with Apify and Hunter** 18 steps · calls a model · Apify, Gmail](https://millionrounds.com/workflow/generate-shopify-review-outreach-drafts-with-apify-and-hunte)
- [**Monitor Shopify low-stock items with OpenAI and Google Sheets** 18 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/monitor-shopify-low-stock-items-with-openai-and-google-sheet)
