StoreConnect sync triggers

StoreConnect sync triggers are Apex triggers — automated processes in Salesforce that run whenever records are created, updated, or deleted. They handle the behind-the-scenes work that keeps your storefront and Salesforce data in sync, including:

  • Processing media imports and generating CDN URLs
  • Recording and publishing record changes for downstream sync
  • Assigning system-generated fields (such as unique IDs and composite keys)
  • Triggering inventory and stock level adjustments when orders change

When sync triggers are enabled (the default), these processes run automatically in the background. When they are disabled, none of this processing occurs.

⚠️ Warning

Only disable sync triggers if you have a specific reason to do so, such as a package upgrade or a bulk data load. Leaving triggers disabled will cause media imports, inventory updates, and other background processes to stop working until they are re-enabled.

Reasons why sync triggers might be disabled

Sync triggers are occasionally disabled intentionally during maintenance operations, including:

  • Package upgrades — to prevent unintended side effects while a new version of StoreConnect is being deployed
  • Bulk data loads — to avoid duplicate records or surplus data being created during large imports
  • Sandbox refreshes — to prevent data integrity issues while the environment is being reset

In these situations triggers are re-enabled once the operation is complete. If they are not re-enabled, features that depend on background processing — such as media imports — will stop working.

Check sync triggers and re-enable them

  1. In Salesforce, select the gear icon and select Setup.
  2. In the Quick Find box, search for Custom Metadata Types.
  3. Select Manage Records next to StoreConnect Setting.
  4. Locate the record named StoreConnect Triggers Enabled.
  5. Check the Setting field value:
    • true — triggers are enabled and running normally
    • false — triggers are disabled
  6. If you need to re-enable the sync triggers, select Edit.
  7. Set the Setting field to true.
  8. Select Save.
ℹ️ Note

Changes to Custom Metadata Types take effect immediately — there is no need to deploy or activate anything after saving.