Flow 01
A stock change, carried across
Hydra links the stores into a group. A change in any one of them is applied to the rest, matched by SKU.
- 01 Shopify
An inventory level changes in one store and Shopify sends an inventory update webhook.
- 02 AWS
The event lands on an EventBridge bus and a Lambda function picks it up.
- 03 Hydra
The store’s group is looked up, and the SKU is resolved from the inventory item.
- 04 Hydra
For each linked store, the location is translated through the group’s location mapping and the variant with the same SKU is found.
- 05 Hydra
If the other store already holds a newer change, or there is no difference, it is left alone.
- 06 Shopify
Otherwise the difference is applied to that store’s available stock as an adjustment.
- 07 PostgreSQL
The movement is written to a log the team can read inside Hydra.