Flow Automation: Unarchiving Orders via Action
You can use the Unarchive order action in Flow Automation to automatically unarchive an order when it requires further action, such as a refund, so that it appears in your SHOPLINE Admin order list again. Archived orders are hidden from the order list by default and can only be found using filters. With this action, your team doesn't have to search for archived orders manually.
This guide explains the field descriptions for this action, the applicable workflows, and how to use a real-world scenario to make sure refunded orders aren't missed because they are archived.
| Note: For more information about archiving orders, please refer to "Archiving Completed or Inactive Orders." |
When to Use the Unarchive Order Action
Use the Unarchive order action when an archived order requires further action, such as in the following situations:
- A refund occurs on an archived order: An order receives a refund after it has been archived, and your customer team needs to follow up.
- Bulk-archived orders still need handling: You previously archived a batch of orders and later find that some of them still need follow-up, so you want them to appear in the order list again.
Field Descriptions
The Unarchive order action allows you to specify the order to unarchive.
| Field | Description |
| Order number | The order to unarchive. This field is automatically filled with the order that triggered the workflow and usually doesn't need to be changed. |
| Note: After an order is unarchived, it appears with its latest status. For example, if an order is refunded after it was archived, it shows its latest refund status once unarchived. |
Applicable Workflows
The Unarchive order action is primarily used in workflows initiated by the following triggers:
- [Order] Refund created
- [Order] Bulk action run on orders
Example Use Case
Here is a practical example of using the Unarchive order action to make sure refunded orders are followed up on promptly.
Scenario: When an order is refunded, automatically unarchive the order and notify your team.
- Trigger: Refund created
- Action 1: Unarchive order [Order ID]
-
Action 2: Send email
- Subject: Refund issued for order: [Order number]
- Content: Order [Order number] has been refunded. Please follow up promptly. If this order was previously archived, it has been automatically unarchived.
- Recipient: Your customer service team's email address
- Outcome: All refunded orders, including previously archived ones, appear in the order list, and your customer service team is notified at the same time, so no order is missed because it was archived.
| Note: To insert the information shown in square brackets (such as the order number), click +Add variables and select the corresponding parameter. |