Flow Automation: Triggering Workflows When a Custom Page Is Created
You can use the Create a custom page trigger in Flow Automation to initiate workflows whenever a new page is added to your online store. This allows you to automate tasks such as managing temporary landing pages or tracking content creation.
This guide explains the actions supported by this trigger, how to test it end to end, and provides a practical example for automating page management.
Applicable Actions
Workflows initiated by the Create a custom page trigger can be paired with several actions:
- [Online store] Delete custom page
- [General] Update counter
- [General] Loop
| Note: For more details on how to set up the deletion process, please refer to "Flow Automation: Deleting Custom Pages via Action." |
Testing the Workflow
To test whether the workflow is successfully triggered when a custom page is created, follow these steps:
- In Flow Automation, set up a workflow using the Create a custom page trigger.
-
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 saving the new page, 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.
Example Use Case
Here is a practical example of using the Create a custom page trigger to manage temporary store content.
Scenario: Automatically delete custom pages containing specific keywords (e.g., "Black Friday") 60 days after they are created.
- Trigger: Create a custom page
- Delay: Wait 60 days after the custom page is created.
- Condition: Check if the custom page title contains specific keywords (e.g., "Black Friday").
- 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.