Integration

Zembula + Salesforce Commerce

Salesforce Commerce tracks stock for each variant of a product, and Zembula can show that availability in your email.

It's our business to grow yours

Book a demo

Zembula has built this integration.

What Zembula can read from Salesforce Commerce

Salesforce Commerce, also called Salesforce B2C Commerce, runs storefronts, catalogs and orders. Zembula can read four kinds of data from it and render them in an email at the moment a person opens it. A Customer record holds the profile of a registered person or a guest, and Zembula can find it by email or Customer ID. An order holds a placed order with its line items, and Zembula can find it by order ID or the email address of the person.

A product holds a catalog item with its variants, and Zembula can find it by product ID. Variant inventory holds availability and stock amounts, and Zembula can find it by variant ID. Your team pastes API client credentials in Zembula, and Zembula gets an access token from the Salesforce account service. Connectors from Klaviyo, Bloomreach Engagement and Cordial also sync people, orders, catalog and inventory into those providers.

The Klaviyo connector syncs ongoing order events every 60 minutes. The Bloomreach cartridge runs inventory full dumps every 4 hours.

DataDetailLooked up byHow fresh
CustomerA profile of a registered person or a guest.email, customer_idset at setup
OrderA placed order with its line items.order id, customer emailopen time
ProductA catalog product with its variants.product idopen time
Variant inventoryAvailability and stock amounts for a variant.variant idopen time

How the data arrives

  • API: Your team pastes API client credentials. Zembula gets an access token from the Salesforce account service.
  • ESP merge tags: Connectors from Klaviyo, Bloomreach Engagement and Cordial sync people, orders, catalog and inventory. A merge tag sends the lookup value in the image URL.
  • Product ID in the email HTML: The email HTML carries the Salesforce Commerce product ID for the product to show.

What you need

  • An API client added in Account Manager, with OCAPI permissions granted in Business Manager.
  • OAuth2 API client credentials, which you paste in Zembula.
  • An email or a product ID in your email service provider, sent as a merge tag in the image URL.

Limits to plan for

LimitWhat it means
The Klaviyo connector syncs ongoing order events from Salesforce Commerce every 60 minutes.Order values that come through that sync can lag by up to an hour.
The Bloomreach cartridge runs inventory full dumps every 4 hours.Stock values that come through that feed can lag by up to 4 hours.

Ideas for email

  • Send a back-in-stock email when the inventory count of a variant rises above zero.
  • Email a post-purchase cross-sell from the line items of an order.
  • Show a catalog product with its variants in a product email.

Last checked: 19 November 2026.

Performance marketing dials, inside email. For the first time.

See how we do it by booking a demo.