How it works

Follow these 6 simple 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.

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.

Frequently asked questions

What happens if a customer completes their purchase after being added to the spreadsheet?
The workflow includes a filter that only exports carts that are still abandoned at the time of each run. However, if a customer completes their purchase between workflow runs, that row will remain in your spreadsheet as historical data. You can manually remove these or set up additional automation to clean completed purchases from your sheet.
Can I include custom fields or metafields in my spreadsheet columns?
Currently, this template includes the most common abandoned cart data points. If you need custom fields or product metafields, you can modify the workflow after setup to include additional data points that Shopify's abandoned checkout API provides.
How far back does the workflow look for abandoned carts?
The workflow is configured to check for abandoned carts from the past hour based on your schedule frequency. If you run it hourly, you'll capture all carts abandoned in each hour. If you want to capture older abandoned carts, you can modify the time filter in the "Get List of Abandoned Checkouts" step.
What is a template?
MESA templates are fully pre-configured workflows built and vetted by Shopify Experts. Unlike competitor templates that provide basic scaffolds requiring extensive setup, MESA templates come with all data variables properly mapped, required fields configured, and steps ready to activate. You can turn them on immediately and start automating.
Can I customize a template?
Absolutely! While our templates work out-of-the-box, every step can be personalized to match your exact business requirements. Add conditional logic, integrate additional apps, or build more sophisticated workflows. MESA's templates provide a solid foundation that you can expand as needed.
Are templates free?
Yes! Our entire library of expert-built, production-ready templates is free to use. Unlike platforms that charge for premium templates or provide only basic scaffolds, MESA gives you access to hundreds of fully-configured, vetted workflows at no additional cost.

Ready to start receiving abandoned cart data in Google Sheets?

Join thousands who've automated their work and saved an average of 3.5 hours every week.

Start with this template — It's free
7-day free trial • 7 min setup • Cancel anytime