Recover Abandoned Shopify Carts with Email Follow-ups, HubSpot CRM & Google Sheets Tracking
Ready for 3.0What this workflow does
This workflow has 9 nodes and runs on Shopify events. Along the way it connects Google Sheets, Shopify, Gmail and HubSpot. It also calls api.hubapi.com over HTTP.
How it runs
Trigger: On Shopify events.
- Parse Cart Data (Code): runs custom JavaScript code
- Filter Qualified Carts (If): checks a condition and branches into true / false
- Send a message (Gmail): uses Gmail
- Create or update a contact (HubSpot): uses HubSpot
- Generates Note Data (Edit Fields (Set)): sets 2 fields: properties.hs_note_body, properties.hs_timestamp
- Create HubSpot Note (HTTP Request): calls api.hubapi.com (POST)
- Associate Note with Contact in HubSpot (HTTP Request): calls an HTTP API (PUT)
- Log to Google Sheets (Google Sheets): append
Services it uses
HTTP calls to: api.hubapi.com
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 (8)
- Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - Shopify Trigger
n8n-nodes-base.shopifyTrigger - Gmail
n8n-nodes-base.gmail - HubSpot
n8n-nodes-base.hubspot - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest
From the author
How it works The workflow triggers on a new checkout event from Shopify and extracts all relevant cart data. It filters carts based on value and age to isolate qualified abandoned checkouts. For each qualified cart, it sends a follow-up email, updates or…