# Archive order

Source: https://docs.vendasta.com/automations/my-automations/archive-sales-order/

`Archive order` archives a sales order, removing it from active views while retaining the record. Use it to clean up stale draft orders or completed orders.

## How it works

1.  The automation reaches the step with an order in scope
2.  The step archives the sales order
3.  The order is removed from active views but the record is preserved
4.  The automation continues to the next step

## Set up the action

1.  Open the automation builder and add a new step
2.  Under `Sales orders`, select `Archive order`

## Outputs

This action produces no outputs available to downstream steps.

## Related resources

-   [Actions overview](https://docs.vendasta.com/automations/my-automations/actions-overview/): Browse all available actions
-   [Creating and configuring automations](https://docs.vendasta.com/automations/my-automations/creating-and-configuring-automations/): Build and configure workflows
