Update Shopify Inventory from CSV Files On Your FTP Server
Manually updating inventory from supplier spreadsheets is tedious and error-prone — and falling behind means overselling products you don't actually have. This workflow watches your FTP server for CSV files and automatically syncs inventory quantities to the right Shopify variants by SKU, on an hourly schedule. No copying, no pasting, no catching up. Just accurate stock counts without the manual work.
Trusted by 1,000+ Shopify merchants — from solo operators to scaling brands.

How it works
4 steps to automatically update your Shopify inventory levels whenever a new CSV file lands on your FTP server
Fetch CSV file from server
Fetch CSV file from server
Loop over rows in CSV file
Loop over rows in CSV file
Retrieve Product Variant Details from SKU
Retrieve Product Variant Details from SKU
Set Inventory Level By Variant
Set Inventory Level By Variant
Ready to automatically update your Shopify inventory levels whenever a new CSV file lands on your FTP server
Get setup in 6 minutes.
Frequently asked questions
What happens if a SKU in the CSV doesn't exist in Shopify?
The custom code step logs that the SKU wasn't found and stops processing that row without updating anything. The workflow continues to the next CSV row. Check your MESA logs to see which SKUs failed to match if you suspect missing products.
Can I use this to update inventory at multiple locations?
This workflow updates inventory at a single location specified in the "Set Inventory Level" step. To update multiple locations, either run separate workflows configured for each location, or add a "Location" column to your CSV and modify the logic to use that value instead of a hardcoded location ID.
Does this workflow adjust inventory or set it to an absolute value?
The workflow uses Shopify's "set" endpoint, which sets inventory to the exact quantity from the CSV regardless of the current value. If your CSV says "10" and Shopify currently shows "15," it will change to "10." This ensures your CSV is always the source of truth but doesn't create an adjustment audit trail.
Make this template your own!
Customize this workflow even further:
You're in good company
"MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."
"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."
"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"
Ready to automatically update your Shopify inventory levels whenever a new CSV file lands on your FTP server?
7-day free trial • 6 min setup • Cancel anytime
Need help? Our automation experts will help you personalize this workflow for free. Contact support