Export Abandoned Carts to Google Sheets

7 min setup
No coding required
Runs automatically

Monitor and analyze abandoned cart trends by automatically compiling them in Google Sheets. This MESA workflow template runs hourly (or at your preferred frequency) to capture abandoned cart details, including products and customer information, and sends them to a Google Sheets spreadsheet. Improve cart recovery efforts, gain insights into shopping behavior, and optimize strategies to reduce cart abandonment.

schedule icon
Schedule
Get List of Abandoned Checkouts
Filter: Check if abandoned cart is still not recovered
google sheets logo icon
Create Row

You're in good company

"MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
PetFriendly

"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Zailys

"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Rothy's

How it works

6 steps to start receiving abandoned cart data in Google Sheets

schedule icon

Schedule

App connector: Schedule • Time to complete: 1 minute
Why this matters: This sets when your workflow checks for abandoned carts, ensuring you capture them consistently without manual monitoring.

This trigger runs your workflow on a recurring schedule to check for new abandoned checkouts. You'll configure how frequently you want the workflow to run - whether hourly, daily, or at custom intervals. The schedule determines how quickly you'll capture abandoned cart data after customers leave their checkouts incomplete. Once set, this runs automatically without any further input from you.

Get List of Abandoned Checkouts

App connector: Shopify • Time to complete: 0 minutes (Auto-configured)
Why this matters: This step retrieves all recent abandoned checkouts from your Shopify store, providing the raw data that feeds the rest of your workflow.

This step automatically connects to your Shopify store and pulls a list of abandoned checkouts from the past hour. The system queries Shopify's API to find checkouts where customers added items to their cart but didn't complete the purchase. It retrieves up to 250 abandoned checkouts per run, including customer details, product information, and cart values. This data gets passed to the next step for processing.

Filter: Check for abandoned carts

App connector: Filter • Time to complete: 0 minutes (Auto-configured)
Why this matters: This prevents the workflow from running unnecessary steps when there are no abandoned carts to process, saving resources and avoiding empty spreadsheet updates.

This filter step checks if any abandoned checkouts were found in the previous step. If the list is empty (no abandoned carts exist), the workflow stops here to avoid creating blank rows or processing empty data. If abandoned carts are found, the workflow continues to the next step. This acts as a safety gate to ensure you only process actual abandoned cart data.

Loop

App connector: Loop • Time to complete: 0 minutes (Auto-configured)
Why this matters: This processes each abandoned cart individually, ensuring every abandoned checkout gets its own row in your spreadsheet with complete details.

The Loop step takes the list of abandoned checkouts and processes each one separately. For every abandoned cart in the list, it extracts the specific details like customer information, product details, cart value, and recovery URL. This allows the workflow to create individual spreadsheet rows for each abandoned cart rather than trying to process them all at once. Each iteration of the loop passes individual cart data to the next steps.

Filter: Check if abandoned cart is still not recovered

App connector: Filter • Time to complete: 0 minutes (Auto-configured)
Why this matters: This ensures you only export carts that are still abandoned, preventing duplicate entries for customers who already completed their purchase.

This filter examines each abandoned cart to confirm it hasn't been recovered or completed since it was initially abandoned. It checks if the checkout's "closed_at" field is still null, meaning the customer hasn't returned to complete the purchase. Only truly abandoned carts pass through this filter to reach your Google Sheets. This prevents cluttering your spreadsheet with carts that customers have already converted.

google sheets logo icon

Create Row

App connector: Google Sheets • Time to complete: 2 minutes
Why this matters: This is where your abandoned cart data actually gets saved to Google Sheets, creating the permanent record you can analyze and act on.

This step creates a new row in your Google Sheets spreadsheet for each abandoned cart that passes through the previous filters. You'll configure your spreadsheet name and select which columns to include from options like Customer Name, Phone Number, Total Cart Price, Products, and Recovery URL. The step automatically creates the spreadsheet if it doesn't exist and adds headers based on your column selections. Each abandoned cart becomes a separate row with all the data points you've chosen to track.

Ready to set this up? It only takes 7 minutes.

Our support team will even help you personalize this workflow for free.

Get started →

Make it your own!

Customize this workflow even further:

Set custom export schedules
Adjust the trigger frequency to match your business needs, such as checking for abandoned carts every 30 minutes during peak hours or daily during slower periods.
Add email notifications for high-value carts
Connect an email step after the filter to automatically notify your team when abandoned carts exceed a certain value threshold, like $100 or more.
Store additional customer insights
Extend the workflow to capture customer tags, previous order history, or geographic location data to better understand abandonment patterns.
Deploy SMS recovery campaigns
Add SMS steps to automatically send personalized cart recovery messages to customers who provided phone numbers, with different messaging based on cart value or products.

Common questions

What happens if a customer completes their purchase after being added to the spreadsheet?

Can I include custom fields or metafields in my spreadsheet columns?

How far back does the workflow look for abandoned carts?

Ready to start receiving abandoned cart data in Google Sheets?

7-day free trial • 7 min setup • Cancel anytime

Need help? Our automation experts will help you personalize this workflow for free. Contact support