Subscribe to commercetools product and inventory change messages via the commercetools Message API or an event bridge subscription
Map commercetools product projections (name, variants, images, price) to Klaviyo catalog item and variant schemas under a named catalog
Use the Klaviyo Catalogs API to upsert catalog items and catalog variants, setting the external_id to the commercetools product/variant ID for stable referencing
When inventory transitions from 0 to positive, trigger a Klaviyo back-in-stock event using the Events API with the variant ID as a property so flow filters can target the correct variant
Subscribe Klaviyo profiles to back-in-stock alerts by creating a back-in-stock subscription via the Klaviyo Back in Stock API endpoint tied to the catalog variant
Test end-to-end by restoring a variant's inventory and confirming the Klaviyo flow fires within the expected delay window
Known gotchas
Klaviyo catalog variant external_id must match exactly what is referenced in back-in-stock subscriptions; any mismatch silently skips the flow trigger
commercetools message subscriptions have a delivery guarantee window; missed messages during downtime require a reconciliation job comparing current inventory state to Klaviyo catalog
Klaviyo rate limits on catalog upsert calls are strict for large catalogs; batch upserts with the bulk endpoints and implement exponential backoff
Give your agent this knowledge — and 200+ more routes
One MCP install gives any agent live access to the full route map, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp