Flow Automation: Triggering Workflows When a Return Label Is Updated
You can use the Return label updated trigger in Flow Automation to automatically start a workflow when a return label is created or canceled in SHOPLINE Shipping. With this trigger, you can automate order tag updates, making it easier for your customer service and operations teams to filter, track, and process returns.
This guide explains the actions supported by this trigger, how to test it, and how to automatically tag return orders in a real-world scenario so your team can quickly filter and follow up on returns.
| Note: This trigger applies only to return labels created through SHOPLINE Shipping. |
Supported Actions
The following actions are primarily used in workflows initiated by the Return label updated trigger:
- [Order] Add order tags
- [Order] Update order tags
Testing the Workflow
To test whether the workflow is successfully triggered when a return label is created or canceled, follow these steps:
- In Flow Automation, set up a workflow using the Return label updated trigger, then click Update and publish to activate the workflow.
-
From your SHOPLINE Admin, go to Orders and create or cancel a return label for a test order.
Note: For detailed steps on creating and canceling return labels, please refer to “Creating Return Labels Using SHOPLINE Shipping.” -
After the return label is created or canceled, go to Flow Automation 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 Return label updated trigger to quickly filter and trace orders.
Scenario: When a return label is created, automatically add a tag to the corresponding order so your team can quickly filter and trace it.
- Trigger: Return label updated
- Condition: If Event Type is at least one of Return Label Creation Event
-
Action: Add order tags
- Order ID: [order id]
- Tags: Return label created
- Outcome: As soon as a return label is created, the order is tagged automatically. Your team can filter these orders directly in the order list without tagging them manually.
| Notes: To insert the information shown in square brackets (such as the Order name), click + Add variables and select the corresponding parameter. |