Back to Klaviyo in Google Sheets
SheetXAI logo
Klaviyo logo
Klaviyo · Google Sheets Guide

Bulk Create Klaviyo Catalog Variants From a Google Sheet

2026-05-15
5 min read

The Scenario

You are the e-commerce merchandising manager at a fashion brand. You have 500 color-size variants across 80 parent products — every combination of size and colorway for the season's line. They need to be in Klaviyo as catalog variants so the abandoned-cart flow can recommend the specific variant the customer left behind, not just the parent product. The variants are in a Google Sheet: parent item ID, variant title, SKU, price, and inventory quantity in columns A through E.

The bad version:

  • Pull up Klaviyo's catalog variant API documentation and discover it requires the catalog item ID of the parent product in the request body — which you already created last week, but those IDs are not in your variant sheet.
  • Cross-reference the item IDs from the parent product sheet into the variant sheet using VLOOKUP — 80 products, 500 rows, and three of the lookups return errors because the product names have trailing spaces.
  • Format the 500 rows into the API's expected JSON structure, batch them into groups of 100, and submit — discovering halfway through that three parent item IDs were wrong and 60 variants failed silently.

The abandoned-cart flow cannot personalize until the variants exist. The variants cannot be created without the parent IDs. The parent IDs are in a different sheet with formatting inconsistencies. This is a data pipeline problem masquerading as a simple upload task.

The Easy Way: One Prompt in SheetXAI

SheetXAI is an AI agent that lives inside your Google Sheet. It reads both sheets, resolves the relationships, and calls Klaviyo's bulk variant creation endpoint — handling the batching automatically.

Create a Klaviyo catalog variant for each row in this sheet — parent item ID in column A, variant title in column B, SKU in column C, price in column D, and inventory quantity in column E

What You Get

  • Variants are submitted to Klaviyo's catalog variant endpoint in batches of up to 100.
  • Each returned variant ID is written back into column F on the corresponding row.
  • Rows that fail surface with their row number and the Klaviyo error response, so you know which parent item IDs were wrong.

What If the Data Is Not Quite Ready

The parent item IDs are in a separate sheet and need to be joined

The "Variants" sheet has product names in column A and variant details in columns B through E. The "Parent Products" sheet has product names in column A and Klaviyo item IDs in column B. Join them on product name, then create a Klaviyo catalog variant for each row using the matched item ID, writing the new variant ID into column F

Inventory quantities are missing for 40 rows

Create Klaviyo catalog variants for all rows in this sheet; for rows where column E (inventory quantity) is blank, set the inventory_quantity to 0 before submitting; write the returned variant ID into column F

The variant sheet needs to be split by category before creating

Create Klaviyo catalog variants for all rows in this sheet grouped by the category value in column F — submit each category's variants as a separate batch job and write the returned variant IDs back into column G

Full variant creation with parent ID lookup and error log

Join the "Variants" sheet with the "Parent Products" sheet on product name (column A in both), create Klaviyo catalog variants for all 500 rows using the matched parent item ID, write the returned variant ID into column F, write the error reason into column G for any failed rows, and output a summary showing how many variants were created per parent product

The abandoned-cart flow gets the variant data it needs, and you have an audit trail showing exactly what landed.

Try It

Get the 7-day free trial of SheetXAI and open the variant spreadsheet your merchandising team maintains, then ask it to push all 500 variants into Klaviyo. Also check out how to create a product catalog from a sheet if you still need to seed the parent products first.

Stop memorizing formulas.
Tell your spreadsheet what to do.

Join 4,000+ professionals saving hours every week with SheetXAI.

Learn more