Templates / Send payment reminders and cancel unpaid Shopify orders via Gmail

Send payment reminders and cancel unpaid Shopify orders via Gmail

Ready for 3.0

by Tricore Infotech Pvt Ltd ✓ · 27 views · created 2026-06-03 · Invoice Processing

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 workflow has 22 nodes and runs when another workflow fails (error workflow) (plus 1 other trigger). Along the way it connects Gmail and GraphQL.

How it runs

Trigger: When another workflow fails (error workflow) (plus 1 other trigger).

  1. Send Error Notification (Gmail): uses Gmail
  2. Set Workflow Config (Edit Fields (Set)): sets 8 fields: shopifyDomain, adminEmail, reminder1Days…
  3. Fetch Unpaid Shopify Orders (GraphQL): uses GraphQL
  4. Split Orders from GraphQL Response (Split Out): splits a list into separate items
  5. Filter: keeps only the items that match a condition
  6. Process Orders in Batches (Loop Over Items (Split in Batches)): loops over the items in batches
  7. Format Order Data for CSV (Code): runs custom JavaScript code
  8. Generate Admin Report Email (Code): runs custom JavaScript code
  9. Calculate Days & Determine Action (Code): runs custom JavaScript code
  10. Convert to CSV File (Convert to File): converts data to a file

…plus 10 more steps. See the full node list below.

Services it uses

GmailGraphQL

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.

Nodes used (13)

From the author

Quick overview This workflow runs daily to find open, unpaid Shopify orders, send staged payment reminder emails via Gmail, and automatically cancel long-unpaid orders while restocking inventory. It also emails an admin a daily CSV audit report and sends…

Excerpt from Tricore Infotech Pvt Ltd'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.