Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

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

  1. Start Workflow
  2. Google Sheet, Fetch Products
  3. Shopify, ProductQuery
  4. If product exists
  5. Shopify, CreateProduct
  6. Loop Over Items
  7. Shopify, GetLocations
  8. Shopify, Enable InventoryTracking
  9. Shopify, Set InventoryLevel
  10. Finished

Similar automations