Automate Magento 2 Weekly Sales & Performance Reports
Automatically fetches last week's Magento 2 orders, summarizes sales/revenue/product metrics, logs to Google Sheets with tabs for summary & breakdown, and emails polished HTML report.
This n8n workflow automates weekly sales and performance reporting for Magento 2 stores. It triggers every week via Schedule node, uses HTTP Request to pull the last 7 days of orders from Magento 2 API (Bearer Token auth), and processes data in a Code (JavaScript) node to calculate key metrics like total orders, revenue, top products sold, and performance breakdowns.
The workflow then generates a Google Sheet with two tabs: 'Weekly Summary' for high-level KPIs and 'Product Breakdown' for detailed sales by item. Finally, it crafts a modern dashboard-style HTML report and sends it via Gmail, eliminating manual logins, exports, or custom modules.
Benefits include massive time savings (1-2 hours/week per store), scalability for agencies managing multiple clients, and actionable insights without extra costs. Ideal for e-commerce owners, agencies, marketing teams needing product performance data regularly.
Use cases: Store managers wanting hands-off reporting; agencies delivering client dashboards; growth teams tracking weekly trends in Sheets for analysis.
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Related bundle
YouTube Creator Pipeline
8 hand-picked workflows for $39.00.
That is $4.88 each, vs $14.99 for this one alone.
View bundleSecure checkout powered by Stripe
Tags
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Built-in Apps workflows
- JS Tokens JavaScript Tokenizer Workflow$4.99
- Google Maps Lead Scraper with AI Outreach Messages$24.99
- Remote Job Updates Pipeline: RemoteOK to Airtable & Telegram$14.99
- Affinity Tool MCP Server: All 16 Operations for AI Agents$24.99
- Real-time Kubernetes CPU Spike Alerts: Prometheus to Slack$14.99
- Generate and Publish SEO-Optimized Blog Posts to WordPress$24.99
More from Quentin Andersen
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.