Templates / Monitor daily Shopify profit leaks with GPT-4o, Google Sheets and Slack

Monitor daily Shopify profit leaks with GPT-4o, Google Sheets and Slack

Ready for 3.0

by Anna Cole ✓ · 1 views · created 2026-10-07 · CRM, AI Summarization

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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 18 nodes and runs on a schedule (every day at 07:00). Along the way it connects OpenAI Chat Model, Slack and Google Sheets.

How it runs

Trigger: On a schedule (every day at 07:00).

  1. Set Shopify Configurations (Edit Fields (Set)): sets 11 fields: shopifyStoreHandle, apiVersion, paymentFeePercent…
  2. Prepare Report Window (Code): runs custom JavaScript code
  3. Post Shopify Orders Page (HTTP Request): calls an HTTP API (POST)
  4. Process Orders Page (Code): runs custom JavaScript code
  5. Check More Orders (If): checks a condition and branches into true / false
  6. Post Shopify Variants Page (HTTP Request): calls an HTTP API (POST)
  7. Process Variants Page (Code): runs custom JavaScript code
  8. Check More Variants (If): checks a condition and branches into true / false
  9. Fetch Meta Ad Spend (HTTP Request): calls an HTTP API
  10. Compute Profit and Analysis (Code): runs custom JavaScript code

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

Services it uses

OpenAI Chat ModelSlackGoogle Sheets

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (10)

From the author

Quick overview This workflow runs every morning to pull yesterday’s orders and product variants from Shopify, calculate profit and margin leak signals, generate a short commentary with OpenAI, post a detailed report to Slack, and append daily profit metrics…

Excerpt from Anna Cole'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.