Flow Automation: Deleting Custom Pages via Action
You can use the Delete custom page action in Flow Automation to automatically remove specific pages from your online store when predefined conditions are met. This process helps you manage temporary content and keep your store’s navigation organized without manual effort.
This guide explains the field descriptions for this action, the applicable workflows, and how to test and apply it in real-world scenarios.
Field Descriptions
The Delete custom page action allows you to define the details of the deletion for tracking and management purposes.
| Field | Description |
| Operator name | The name of the individual or system entity recorded as performing the deletion. |
Applicable Workflows
The Delete custom page action is primarily used in workflows initiated by the following trigger:
- Custom a page created
| Note: For more details on how to set up the Custom a page created trigger, please refer to "Flow Automation: Triggering Workflows When a Custom Page Is Created." |
Testing the Workflow
To test whether the workflow successfully deletes a custom page, follow these steps:
- In Flow Automation, set up a workflow using the Create a custom page trigger and the Delete custom page action.
-
From your SHOPLINE admin panel, go to Online Store > Page and click the Create a page button to add and save a new custom page.
Note: For detailed instructions on creating custom pages, please refer to the "Creating and Managing Custom Pages" guide. -
After the set delay or condition is met, go to the Flow Automation app to check the execution results.
Note: For more information on how to monitor the execution of your workflows, please refer to the "How to View the Running of a Flow" section in the "Introduction to Flow Automation" guide. - Verify in the Online Store > Pages section that the target page has been removed.
Example Use Case
Here is a practical example of using the Delete custom page action to automate store cleanup.
Scenario: Automatically delete a custom page 60 days after it is created.
- Trigger: Create a custom page
- Delay: Wait 60 days after the custom page is created.
- Action: Delete custom page
- Outcome: This workflow ensures that temporary marketing or promotional pages are automatically removed after 60 days, keeping your online store organized without manual intervention.