Inventory item deleted
The Inventory item deleted trigger starts a workflow when an inventory item attached to a product variant is deleted.
Actions
The following actions can be used in workflows that start with the Inventory item deleted trigger:
- Create redirect URL
- Delete redirect URLs
- Remove shop metafield
- Send HTTP request
- Send internal email
- Update shop metafield
- Wait
Example
In this example workflow, an email is sent when an inventory item is deleted.
Testing the Inventory item deleted trigger
To test a workflow that starts with this trigger, delete a variant from an existing product.
API details
The Inventory item deleted trigger allows actions to be taken with the InventoryItem Graphql API object.
Deleted objects aren't available in the API. The inventory item ID is the only detail you can get when an inventory item is deleted. Other details aren't available.