Templates / Summarize daily Shopify product profit with Meta, Google Ads, GPT-4o-mini & Slack

Summarize daily Shopify product profit with Meta, Google Ads, GPT-4o-mini & Slack

Needs changes

by Rahul Joshi ✓ · 11 views · created 2026-10-22 · CRM, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 89 nodes and runs on a schedule (cron 0 8 * * *) (plus 2 other triggers). Along the way it connects Google Sheets, Slack, OpenAI and Gmail and 2 more. It also calls apiv2.shiprocket.in over HTTP.

How it runs

Trigger: On a schedule (cron 0 8 * * *) (plus 2 other triggers).

  1. Read RTO Assumptions (Google Sheets): uses Google Sheets
  2. Read Daily P&L (Weekly) (Google Sheets): uses Google Sheets
  3. Normalize Question (Edit Fields (Set)): sets 3 fields: question, channel, thread_ts
  4. Set Profit Config (Code): runs custom JavaScript code
  5. Cast & Bucket Daily Rows (Edit Fields (Set)): sets 7 fields: date, revenue_n, profit_n…
  6. Profit Q&A Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 3 tools (daily_pnl, product_pnl, rto_assumptions); memory: Chat Memory
  7. Get Meta Campaign Spend (HTTP Request): calls an HTTP API
  8. Summarize: summarizes / groups the items
  9. Reply in Slack Thread (Slack): uses Slack
  10. Get Google Ads Campaign Cost (HTTP Request): calls an HTTP API (POST)

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

Services it uses

Google SheetsSlackOpenAIGmailOpenAI Chat ModelWhatsApp Business Cloud

HTTP calls to: apiv2.shiprocket.in

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Profit Q&A Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
  • Also check Slack Trigger requires a signing secret on the Slack API credential.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →

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.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Profit Q&A Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (21)

From the author

Quick overview This workflow runs daily and calculates yesterday’s profit per product by combining Shopify orders with Meta and Google Ads spend, Shiprocket shipping charges, and configured fees and RTO provisions, then uses OpenAI to write a summary and…

Excerpt from Rahul Joshi'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.