Recover abandoned Shopify carts with Llama 3.2, Gmail, and Google Sheets
Ready for 3.0What this workflow does
This workflow has 35 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Google Sheets and Gmail. It also calls host.docker.internal:11434 over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Filter: keeps only the items that match a condition
- Filter: keeps only the items that match a condition
- Get All Rows (Google Sheets): uses Google Sheets
- Sheets Order Recovered (Google Sheets): append or update
- Log Checkout (Google Sheets): append or update
- Weekly Stats (Code): runs custom JavaScript code
- Pick Upsell (Code): runs custom JavaScript code
- Filter: keeps only the items that match a condition
- Gmail: uses Gmail
- HTTP Request: calls host.docker.internal:11434 (POST)
…plus 23 more steps. See the full node list below.
Services it uses
HTTP calls to: host.docker.internal:11434
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)
- Webhook
n8n-nodes-base.webhook - Google Sheets
n8n-nodes-base.googleSheets - Wait
n8n-nodes-base.wait - Filter
n8n-nodes-base.filter - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
Quick overview This workflow captures Shopify checkout and order webhooks, logs activity to Google Sheets, and uses an Ollama-hosted Llama 3.2 chat endpoint to generate and send cart-recovery and post-purchase emails via Gmail, then emails a weekly recovery…