String
Automation rules

ShipStation Automation Rule Examples for Packing and Shipping

Published

Short answer: The rules most operations should build, in the order they belong in the list:

  1. Tag orders by what’s in them.
  2. Set the package.
  3. Pick the service or rate shopper by weight and destination.
  4. Add insurance and confirmation by order value.
  5. Handle international orders.
  6. Hold or flag the orders a person needs to see.

Each example below gives the criteria and the action. The numbers are placeholders, so use your own.

Before building any of these, two things save a lot of debugging. Item SKU criteria only match single-item orders, so use product tags for anything about contents. And order matters: later rules override earlier ones.

1. Tag orders by what’s in them

Add tags to product records, for example FRAGILE, PERISHABLE or OVERSIZE. ShipStation applies them to every order containing those products at import, before any rule runs. You don’t need a rule for this. Every rule below can then use Tag includes on orders of any size.

2. Set the package

Single item: set the package on the product record’s Shipping tab. Product Defaults apply it to orders of one line item at a quantity of one.

Mixed orders, boxed goods:

  • Criteria: whatever orders you want packed automatically, or all of them
  • Action: Recommend Package
  • Put it above any rate shopper rule, so the rate is priced on the box.

A product that always ships in its own carton:

  • Criteria: Tag includes OVERSIZE
  • Action: set that package
  • Put it below Recommend Package so it wins for those orders.

Applying a package with rules covers the options in detail.

3. Pick the service by weight and destination

The classic US pair:

  • Country is US and Total Weight is Less Than 16 oz → USPS Ground Advantage
  • Country is US and Total Weight is Greater Than or Equal To 16 oz → USPS Priority Mail

Residential versus commercial on FedEx: where you ship FedEx, use the verified address type to choose between FedEx Ground and Home Delivery. The wrong one attracts a surcharge.

Better still, choose a rate shopper rather than a service. Use the rule to send orders to the right rate shopper configuration, and let live rates pick the service. For example, closer zones get a rate shopper whose service collection includes economy services, and further zones get one with faster services. Picking a service by weight and destination explains why.

Honor what the customer paid for: with Service Mapping set up, Requested Service (Mapped) is filled in before rules run. A rule on it can send expedited orders to a rate shopper that only includes expedited services.

4. Insurance and confirmation by value

  • Order Total is Greater Than 200 → Insure the Package
  • Tag includes FRAGILE → Insure the Package, as a second rule, so either condition triggers it
  • Order Total is Greater Than 500 → signature confirmation

Put these below the service rules. Carrier insurance fails if the service isn’t set yet. Automating insurance covers the amounts and providers.

5. International orders

ShipStation builds the customs declaration from product records and Preset Groups, so most of the work is data rather than rules. Rules handle the exceptions, such as a contents type or a non-delivery option for a specific country. Automating customs declarations lists the actions.

6. Hold or flag the orders a person needs to see

  • Tag includes PREORDER → Hold Until the release date
  • Tag includes FRAGILE and Total Weight is Greater Than 20 → add an internal note and assign the order to a lead
  • Tag includes PERISHABLE → an alert, so someone checks the forecast before it ships

Holds and exceptions covers the actions.

The list, in order

PositionRules
TopClassification: tags added by rules, for example by weight or destination
NextPackage: Recommend Package, then specific package overrides
NextService or rate shopper
NextInsurance, confirmation, carrier options
BottomHolds, alerts, notes

That covers most packing and shipping automation. When a decision needs something these rules can’t do, like choosing the box and the rate together, reading the forecast or doing a calculation, see what to use when the rules hit their limits.



Worth reading next

When the rule can't express it

Eight situations where the decision depends on something an automation rule cannot see.