The Product deleted trigger starts a workflow when a user in your organization or a third-party app deletes a product from the Shopify admin.
The following actions can be used in workflows that start with the Product deleted trigger.
- Add shop metafield
- Send email
- Send HTTP request
- Remove shop metafield
- Create redirect URL
- Delete redirect URLs
In this example workflow, an email is sent when a product is deleted.
Testing the Product deleted trigger
To test a workflow that starts with this trigger, delete a product from the Shopify admin.
The Product deleted trigger allows actions to be taken with the Product Graphql API object.
Deleted objects are not available in the API. The product ID is the only detail you can get when a product is deleted. Other details are not available.