Flow Automation: Triggering Workflows When a Customer Is Deleted
When a staff member manually deletes a customer or deletes customers in bulk via plugin tools, the Customer is Deleted trigger will activate a workflow in the Flow Automation app. You can use this workflow to notify internal teams or update tracking metrics automatically, helping to streamline your customer data management.
| Note: Customers with existing order history cannot be deleted but can still be disabled through other methods. You can add them to the blacklist instead. For more information, please refer to this Help Center guide. |
Supported Actions
The following actions can be used in workflows triggered by the Customer is Deleted trigger:
- [General] Send Email Notification
- [General] Update Counter
Testing the Workflow
To verify that the workflow is triggered correctly, follow the steps below to create a test customer:
- From your SHOPLINE admin panel, go to Customers and click Add customer to create a test profile. (We recommend filling in fields like name or email to help identify the test customer later.)
- From the customer list, locate and click the test customer to open their customer details page.
- In the top-right corner of the page, click More > Delete customer.
- Confirm the deletion in the pop-up window to trigger the workflow and verify that it works as configured.
| Note: Deleted customers cannot be restored. Always use test data for verification purposes. For more information, please refer to this Help Center guide. |
Example Use Case
Here’s a real-world example of using the Customer is Deleted trigger — notifying staff by email when a customer is deleted.
- Trigger: Customer is deleted
- Action: Send email notification to internal staff