Inventory ABC & Pareto Analysis with Google Sheets for Supply Chain Optimization
Tags*: Supply Chain, Inventory Management, ABC Analysis, Pareto Principle, Demand Variability, Automation, Google Sheets
Context
Hi! Iโm Samir โ a Supply Chain Engineer and Data Scientist based in Paris, and founder of LogiGreen Consulting.
I help companies optimise inventory and logistics operations by combining data analytics and workflow automation.
This workflow is part of our inventory optimisation toolkit, allowing businesses to perform ABC classification and Pareto analysis directly from their transactional sales data.
> Automate inventory segmentation with n8n!
๐ฌ For business inquiries, feel free to connect with me on LinkedIn
Who is this template for?
This workflow is designed for supply chain analysts, demand planners, or inventory managers who want to:
Identify their top-performing items (Pareto 80/20 principle)
Classify products into ABC categories based on sales contribution
Evaluate demand variability (XYZ classification support)
Imagine you have a Google Sheet where daily sales transactions are stored:
The workflow aggregates sales by item, calculates cumulative contribution, and assigns A, B, or C classes. It also computes mean, standard deviation, and coefficient of variation (CV) to highlight demand volatility.
How does it work?
This workflow automates the process of ABC & Pareto analysis from raw sales data:
๐ Google Sheets input provides daily transactional sales
๐งฎ Aggregation & code nodes compute sales, turnover, and cumulative shares
๐ง ABC class mapping assigns items into A/B/C buckets
๐ Demand variability metrics (XYZ) are calculated
๐ Results are appended into dedicated Google Sheets tabs for reporting
๐ฅ Watch My Tutorial
Steps:
๐ Load daily sales records from Google Sheets
๐ Filter out items with zero sales
๐ Aggregate sales by store, item, and day
๐ Perform Pareto analysis to calculate cumulative turnover share
๐งฎ Compute demand variability (mean, stdev, CV)
๐ง Assign ABC classes based on cumulative share thresholds
๐ฅ Append results into ABC XYZ and Pareto output sheets
What do I need to get started?
Youโll need:
A Google Sheet with sales transactions (date, item, quantity, turnover) that is available here: Test Sheet
A Google Sheets account connected in n8n
Basic knowledge of inventory analysis (ABC/XYZ)
Next Steps
๐๏ธ Use the sticky notes in the n8n canvas to:
Add your Google Sheets credentials
Replace the Sheet ID with your own sales dataset
Run the workflow and check the output tabs: ABC XYZ, Pareto, and Store Sales
This template was built using n8n v1.107.3
Submitted: September 15, 2025
Related Templates
Track OpenAI Token Usage and AI Agent Metrics with Google Sheets Dashboard
What it does Captures token usage and cost from your AI Agent/LLM. Logs model, tokens, cost, tool use, and conversation ...
Lookup IP Geolocation Details with IP-API.com via Webhook
This n8n template enables you to instantly retrieve detailed geolocation information for any given IP address by simply ...
Send Hourly Crypto Market Analysis from Binance to Telegram
๐ Daily Crypto Market Summary Bot (Binance to Telegram) This workflow fetches 24h price change data from Binance for s...
๐ Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments