Flow Automation: Triggering Workflows When a Product Is Deleted
You can use the Product Is Deleted trigger to automatically start a workflow in Flow Automation whenever a product is deleted—either manually by staff or through a plugin. This can help notify the relevant team members or update internal counters in response to product removals.
| Note: Deleted products cannot be recovered or restored using the Flow Automation app. Please proceed with caution. |
Supported Actions
You can use the following actions with the "Product is deleted" trigger. Click on each action name to view its setup details:
- [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 item:
- From your SHOPLINE admin panel, go to Products and click Add product to create a test item. (We recommend using a distinctive product title to easily identify the test item later.)
- After creating the test product, select it from the product list to open its details page. Scroll to the bottom, click the Delete the product button, and then click Confirm in the pop-up window to finalize the deletion.
- Check whether the workflow is triggered correctly according to the defined conditions.
| Note: Deleted products cannot be recovered. Always use test data for testing purposes. For more information, please refer to this Help Center guide. |
Example Use Case
Here’s a real-world example of using the "Product Is Deleted" trigger — When a product is deleted, the system automatically sends an email notification to internal staff to keep the team informed of inventory changes. Refer to the following screenshot for how to configure this workflow:
- Trigger: Product is deleted
- Action: Send email notification to internal staff