Archive order
The Archive order action archives the order that triggers the workflow.
Triggers
The Achive order action has a hidden field added to it by the trigger. This field, Order ID, identifies the order to archive. The order ID is set by default and can't be changed.
The Archive order action can be used in workflows that start with the following triggers:
- Fulfillment created
- Fulfillment event created
- Order canceled
- Order created
- Order fulfilled
- Order paid
- Order risk analyzed
- Order transaction created
- Refund created
- Tender transaction created
Example
![Example of a workflow that archives an order when it is fulfilled](https://cdn.shopify.com/shopifycloud/help/assets/manual/apps/flow/flowv2/archive-order-ac98f3a04c29682071f20b4d692429fdb138e3363cdf7fe5ccc52b8e13e83bfd.png)
In this example workflow, an order is archived after it has been fulfilled.
API details
To learn more, review Close an order.