WooCommerce · Arazzo Workflow
WooCommerce Upsert Product by SKU
Version 1.0.0
Find a product by its SKU and create it only if no matching product exists.
Provider
Workflows
upsert-product-by-sku
Upsert a product keyed on its SKU, creating it only when missing.
Searches the catalog for a product matching the supplied SKU and either reads the matched product or creates a new one when no match exists.
1
findProduct
listProducts
Search the catalog for a product matching the supplied SKU, returning at most one result.
2
getExisting
getProduct
Read the matched product to confirm its current pricing and stock status.
3
createNew
createProduct
Create a new product carrying the supplied SKU when no existing product matched.