Library / E-commerce & Payments
E-commerce & Payments
Bulk Create Shopify Products with Inventory from Google Sheets
When you run it, it reads products from Google Sheets, creates missing ones in Shopify through GraphQL, and enables inventory tracking with starting quantities.
What it does
## Create Products in Shopify from a Google Sheet This workflow creates products in your Shopify store from a google sheet. It also enables inventory tracking and sets the quantity of an inventory item at your store's default location. This is a great way to get test data into test or staging stores to try out apps, update template or try out new designs. This Automation will only import new products. It will skip existing products if the slug matches an existing product's handle (Shopify's term for a slug). ### Setup Notes The Google Sheet has the following columns title - free text description - free text company - free text category - free text status - ACTIVE, DRAFT or ARCHIVE slug - used in the product url, text with no spaces, can also use hyphen. price - sale price of the products compare_at_price - compare at price for products sku - unique code for each product stock_on_hand - quantity of this item available for purchase. Use those labels in the first row of your sheet and N8N will create one object per row with the column names as object fields. ### Update GraphQL nodes with your Shopify store URL 1) Replace the URL in all GraphQL nodes with the URL for your Shopify store. 2) These GraphQL requests all use the Shopify 2025-04 GraphQL Admin API.
The steps
- Start Workflow
- Google Sheet, Fetch Products
- Shopify, ProductQuery
- If product exists
- Shopify, CreateProduct
- Loop Over Items
- Shopify, GetLocations
- Shopify, Enable InventoryTracking
- Shopify, Set InventoryLevel
- Finished
Similar automations
E-commerce & PaymentsPage Through Shopify Products with a GraphQL Cursor Loop4 stepsE-commerce & PaymentsAlert on Low Shopify Inventory via Webhook36 stepsE-commerce & PaymentsRun Weekly Shopify Inventory Checks with Slack Alerts9 stepsData Sync & ETLSync Zoho Inventory Products to Supabase on a Schedule5 steps