Flow Automation: Triggering Workflows When a Product Is Created
When a staff member manually creates a product or adds one via a plugin or import tool, the Product is created trigger will initiate a workflow in Flow Automation. You can use this trigger to automate product tagging, classification, and other tasks for streamlined product management.
| Note: "Auto-tagging" applies to newly created items—the system will automatically add tags to new products, orders, or customers based on the conditions you’ve set in the workflow. |
Supported Actions
You can use the following actions with the "Product is created" trigger. Click on each action name to view its setup details:
- [Product] Publish Product
- [Product] Create Product SKU
- [Product] Update Product Information
- [Product] Add Product to a Category
- [Product] Unpublish Product
- [Product] Remove Product from a Category
- [Product] Remove Product Tag
- [Product] Add Product Tag
- [General] Send Email Notification
- [General] Update Counter
- [General] Loop Operation
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.)
- Check whether the automation workflow runs as expected.
Example Use Case
Here’s a real-world example of using the "Product is created" trigger — When a product is created, the system checks whether its title contains the keyword "Electronics". If so, it automatically adds the tag [Electronics] to the product. This helps streamline categorization and product management:
- Trigger: Product is created
- Condition: Product title contains "Electronics"
- Action: Add product tag [Electronics]
Available Templates
Here are ready-to-use templates that incorporate this trigger. Click a template to view or apply it:
- Automatically remove products from the "New" category after 30 days: When a product is created, it is tagged [New Product] and added to the [New Collection] category. After 30 days, the tag is removed and the product is moved out of the category.
-
Classify products based on price range: Products are categorized based on their SKU sale prices upon creation:
- If all SKU prices ≤ A, add to [Under A Collection ID]
- If all SKU prices ≥ A and ≤ B, add to [Under B Collection ID]
- If all SKU prices > B, add to [Over B Collection ID]
-
Auto-tag and classify products based on title and SKU: When a product is created:
- If the product title contains "A", tag it as [A]
- If the SKU title contains "B", tag it as [B]
- If the SKU code contains "C", add it to [C Collection ID]
- Classify products by product type: Upon creation, if the product type is "A", add it to the [A Collection] category.
-
Classify products by SKU title:
- If any SKU title contains "A", add it to [A Collection ID]
- If all SKU titles contain "B", add them to [B Collection ID]
- Classify products by description, summary, or title: If any of these fields contain "A", add the product to [A Collection ID].
- Auto-tag with [Topwear] if the product name includes "T-shirt": If the product description, summary, or title contains "T-shirt", tag the product as [Topwear].
- Tag products as [New] for 30 days post-creation: When created, the product is tagged as [New]. The tag is automatically removed after 30 days.