Flow Automation: Update Order Tags
In the Flow Automation app, you can use the Update Order Tags action to automatically modify order tags based on specific conditions. This article will guide you through how to configure the tag content, supported triggers, common use cases, and ready-made templates.
Field Description
When setting up the Update Order Tags action, you can enter a custom value directly or use dynamic parameters.
| Field | Description |
| Tag Content | You can enter text manually or click the {X} button to select a dynamic parameter. |
| Important: Updating order tags will completely overwrite existing tags. Please confirm the change before proceeding to avoid data loss. |
Applicable Workflows
The Update Order Tags action can be used in workflows triggered by the following events. Click any of the triggers below to view its detailed setup instructions:
- Order Placed Successfully
- Order Canceled
- Order Created
-
Order Attribution Calculated
Example Use Case
Here’s an example of using the Update Order Tags action to add product information to order tags:
- Trigger: Order Placed Successfully
- Action: Add product information to the tag (e.g., {trigger.id})
Available Templates
Here are some ready-made templates that use the Update Order Tags action. Click on a template to see the full configuration.
-
Track sample purchase conversions: After an order is created, the system checks if any product title or tag contains the word "sample" (e.g., "Sample XX product").
- If matched, the customer will be tagged as [ordered sample].
- If the customer already has the [order sample] tag, the order tag will be updated to [sample conversion order], and the customer will also receive the [sample conversion customer] tag.
- Tag the customer’s first order: When an order is created, if the customer’s total number of past orders is 1, the system will update the order tag with your custom value.
- Tag orders based on delivery address: When all items in an order have been shipped and the delivery address includes a specific store or hub name (e.g., "XX location"), the system will update the order tag to [XX location].
- Tag orders by logistics provider: If all items in the order are shipped using a specific logistics provider (e.g., "XX Logistics"), the system will tag the order as [XX logistics] for easier tracking and processing by the carrier.
- Tag orders containing gift cards: If a line item in the order includes a defined gift card product (e.g., "RM50 eGift Card"), the system will automatically update the order tag to [gift card tag]. This helps merchants track gift card sales during peak sales periods like Hari Raya or 11.11.
- Tag orders after attribution calculation: After an order is created, the attribution logic runs and updates the tag to reflect the landing page URL where the customer first interacted within the past 30 days. Order tag: [first-touch landing page URL]
- Tag orders paid by gift card: If the system detects that the order was paid using a gift card, it will tag the order as [gift card payment].
- Tag orders with special discount codes: If a special discount code was used at checkout, the system will send an email to designated staff and tag the order as [discount code used].
- Add product info to order tags: Once the product is successfully ordered, the product info can be added to the order tag.
- Tag based on customer’s currency: When an order is created via the online store or manually by staff, the system will update the order tag with the customer's currency, e.g., [{trigger.customer.currency}].
- Tag free shipping orders: If all shipping fees in the order are 0 or below, the order will be tagged as [free shipping fee].
- Tag by order source: When an order is created, the system will add a tag reflecting the sales channel (e.g., [{trigger.order_source}]).
- Tag orders containing special product tags: If a product in the order includes a specific tag (e.g., "XX product"), the system will update the order tag to [XXX items].
- Tag orders with specific products: If the SKU title in the order contains a specific keyword (e.g., "A"), the order tag will be updated to [A order].
-
Tag incomplete orders: Set up a scheduled trigger to automatically tag orders that remain in "Processing" status beyond a set timeframe, allowing staff to follow up as needed.
- Trigger: Scheduled Trigger
-
Action 1: Bulk Order Lookup
- Condition: Order status = "Processing", created more than X days ago (e.g., 7 days)
- Sort: By most recent created date
- Retain: Top 100 results
-
Action 2: Update Order Tags
- Tag: [incomplete]
- Tag best-selling products: When an order is placed and a product’s total sales reach 100 units (based on counter settings), the system will automatically add the tag [hot sale] and send a notification email to the merchant.