# Orders templates

Templates for order tagging, reporting, cleanup, note updates, and order-operation workflows.

Canonical URL: https://templates.jsworkflows.com/categories/orders/

## Templates

- [Delete stale draft orders after N days](https://templates.jsworkflows.com/templates/delete-stale-draft-orders-after-30-days/): Deletes draft orders that still exist after a configurable waiting period.
- [New order → Google Sheets](https://templates.jsworkflows.com/templates/new-order-to-google-sheets/): Appends a new row to a Google Sheet every time an order is placed.
- [Tag new orders by payment gateway](https://templates.jsworkflows.com/templates/tag-new-orders-by-payment-gateway/): Adds one or more payment-gateway tags to each new order based on the gateway names in the webhook payload.
- [Tag orders by shipping method](https://templates.jsworkflows.com/templates/tag-orders-by-shipping-method/): Adds an order tag derived from the order’s first shipping method.
- [Update order note with customer total orders](https://templates.jsworkflows.com/templates/update-order-note-customer-total-orders/): Looks up a customer’s total Shopify order count and writes it into the paid order note.
