Agentic AI workflows for cross-border supply chain optimization
View LinkedInABC Mart, a fast-growing organic food manufacturer operating in India and New Jersey, faced inefficiencies in managing supermarket order data, affecting inventory planning and customer satisfaction. To address this, we designed a cross-border supply chain automation system to centralize, clean, and analyze order data from multiple geographies using AI and agentic tools.
The operations team discovered major discrepancies in inventory visibility and fulfillment timelines due to fragmented order data flowing in via emails from USA and India supermarkets. These gaps made it difficult to maintain optimum inventory levels and fulfill orders on time, threatening customer relationships and scalability.
Set up a fully automated workflow using n8n to monitor country-specific Gmail inboxes, extract attached CSV files, parse order data, and push it into a PostgreSQL database for unified access.
Structured the incoming data into fact and dimension tables for orders, products, and customers.
Connected PostgreSQL to Quadratic AI to run analysis in an AI-powered spreadsheet. Created date and exchange rate tables, merged cleaned data, calculated order values in INR, and engineered KPIs like OTIF%, Fill Rates, and On-time Delivery.
OTIF %, On-Time %, In-Full %, Volume & Line Fill Rates.
Top 5 customers by order value across US and India, mapped with city, OTIF %, and delivery metrics.
USD to INR exchange rate adjustments, and total order amount calculations in INR.
Developed a scalable, agentic automation pipeline that integrated emails, databases, and AI spreadsheets to automate supply chain reporting. Improved data reliability, increased visibility across borders, and enabled proactive inventory decisions. Positioned ABC Mart for faster geographic expansion with data-driven logistics.