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