Automation rules can seem a bit abstract until you actually create a few.
Here are several common automation rules you can use to help you get started.
One of the most popular uses for automation rules is to apply a specific service based on the weight of the order.
For US-based ShipStation users, the most common form of this would be a rule that sets the shipping service to USPS Ground Advantage for all domestic orders under 16 oz. This rule can be used similarly for any carrier.
Here is a step-by-step example of how to create this rule:
Create a Copy
If you need to make a series of similar Automation Rules, you can create a copy after saving an Automation Rule. Click Copy in the Action menu to create the new copy, then click Edit in the Action Menu of the new Rule to make adjustments.
-
Enter a descriptive name for the Rule.
For example: Ground Advantage 16 oz.
-
Select Only apply these actions to orders that match specific criteria. Click + Add Criteria.
-
Select Total Weight , Is Less Than..., then enter the weight in ounces into the empty field.
This criteria will limit the rule to only orders with total weights under 16 oz.
-
Click + Add Criteria again. This time from the first drop-down, select Country. Select Equals... from the second drop-down and United States from the third drop-down.
This will limit the rule to orders with domestic addresses.
-
Set an action. Pick Set Carrier/Services/Package.. from the drop-down menu. Additional drop-down menus for Service and Package will display.
For this example, select USPS Ground Advantage from the Service drop-down menu. Select Package from the Package drop-down. The rule setup should look similar to the screenshot.
-
Click Save Rule.
Some shipping carriers, like FedEx, offer different rates and services based on whether an address is residential or commercial, so you may find it helpful to automatically switch to a service based on address classification.
For example, any FedEx orders shipping to a residential address should use FedEx Home Delivery for the service.
Here is a step-by-step example of this type of rule:
-
Enter a name for the rule. For example: FedEx Residential
-
Select Only apply these actions to orders that match specific criteria. Click +Add Criteria.
-
Select Residential/Commercial, Equals and Residential from the first set of drop-down menus.
-
Click + Add Criteria add Criteria. From the drop-down menus, select Carrier, Equals..., FedEx.
-
Set the action to Set Carrier/Service/Package.
-
Select the appropriate service and package type from the drop-down menus. In this example, we used FedEx Home Delivery® and Package.
-
Click Save Rule.
If you added tags to products or customers, ShipStation adds the tags to orders automatically before automation rules run, which means you can use tags as rule criteria.
For example, you are selling clothing and want to upgrade shipping to USPS Priority Mail for any order of a shirt or slacks where the buyer also purchased a hat, but not if they ordered shoes since orders with shoes are heavy and must be shipped via a different service.
Assuming you tagged the products already (based on the type of product - shirt, pants, hat, shoes) here is how to make this type of rule:
-
Enter a descriptive name for the rule.
For this example, we called the rule: Hat Shipping Upgrade.
-
Select Only apply these actions to orders that match specific criteria. Then, click + Add Criteria.
-
Select Order Tags, Include..., then select the appropriate order tags. In this case, pants and shirt.
-
Click + Add Criteria to add the next condition. For the next set of drop-down menus, select Order Tags, Includes..., and select the appropriate tag. The tag hat is appropriate in this example.
-
Click + Add Criteria again to add the final condition. This set of drop-downs should be Order Tags, Do Not Include..., and the appropriate order tag. In this example, shoes is the appropriate tag.
All of these criteria mean that the rule will only apply to orders with shirts or pants that include a hat but do not include shoes.
-
Set an action from the drop-down menu. Select Set Carrier/Services/Package. In our example, we select USPS Priority Mail and Package.
-
Click Save Rule.
In this example, a merchant located in Pflugerville, TX wants to send a special gift to nearby customers who buy from their Magento or Shopify stores and have spent over $50 on the order.
To identify those orders, the merchant has decided to apply a tag to the orders so they're easy to locate in ShipStation, and then print a special packing slip so their staff knows to include the gift in the package.
Rule Criteria: Comma vs Semi-Colon
When you manually type in values for rule criteria, semi-colons mean OR and commas mean AND. See About Rule Criteria in Introduction to Automation Rules.
Here's how to set up a rule to apply a tag and specified packing slip to very specific orders:
-
Enter a descriptive name for the Rule. For example: Local Gift Orders
-
Select Only apply these actions to orders that match specific criteria. Click + Add Criteria. This rule will have a total of four criteria.
-
Select Order Total, Is Greater Than..., 50 on the first set of criteria drop-downs.
The first set of criteria will look for orders over 50 USD.
-
Click +Add Criteria to add the next set of criteria. This criteria will look for orders from Magento or Shopify.
Select Marketplace, Equals..., Magento and Shopify. Click + Add Criteria again.
-
Select State, Equals..., Texas. This criteria will limit the rule to orders shipping to the state of Texas.
-
Click +Add Criteria to add the final criteria. Select City, Equals..., Pflugerville, Austin, and Round Rock.
This will apply the rule to orders that include one of these cities in the shipping address.
-
Add two actions. For the first action select Add a Tag... then select the appropriate tag to apply. In this case, the tag is GIFT. For the second action, select Use a specific Packing Slip... then select the name of the packing slip template from the drop-down. In this example, it is called Gift Packing Slip.
-
Click Save Rule.
Tip
For this example, if the additional gift means you must use a different package type or shipping service, just add that as another action in this rule. Alternately, a subsequent rule could use the GIFT tag as the criteria to set the new service and package type.
To help protect against rate adjustments, automatically apply a little extra weight to your shipment to accommodate for packaging.
There are a few ways to go about this. You can apply a flat increase on all incoming orders or specify with criteria which orders get a weight increase.
To add weight to every order, select Apply these actions to EVERY order that is Imported. Then add the Action Adjust the Order weight. Enter an appropriate weight amount for your typical packaging.
This will apply additional weight to every order that imports into ShipStation. If you ship one kind of product, this rule works well. However, if you sell a variety of products, you may want to use Criteria to apply extra weight only to specific orders.
Some suggested criteria to apply to this rule include:
-
Order Tags - This would work well for orders that need extra padding or products that need specialized packaging.
-
Item Name/Item SKU - You can add weight if the order contains a specific product. Works best for single-product orders.
-
Package - Apply the additional weight based on the package type applied to the order.
Requires an Additional Rule, Mapping, or Default
You will need to create another automation rule, Service Mapping, or Product Default to apply the Package type before this rule runs.
-
Requested Service - This criteria works along with Service Mapping to apply weight based on the service your customer selects during checkout.
Several destinations in the European Union require some form of tax payment when shipping. You must include your tax identifier number (TIN) with your customs forms. This rule will apply the appropriate TIN to orders as they import into or are created in ShipStation.
This rule will apply a TIN based on destination. Before creating this rule, you must add your TIN to your International Settings.
-
Enter a descriptive name for the rule.
-
Select Only apply these actions to orders that match specific criteria. Then, click + Add Criteria.
-
Select Country from the first drop-down, then Equals. Then select the appropriate countries from the drop-down menu.
Add More Criteria
You can add other criteria to the rule as needed, like Marketplace, Order Tags, and Order Total.
-
Click + Add an Action and select Set Tax Identifier from the first drop-down. Then select the appropriate TIN from the second drop-down.
If you do not see any Tax Identifiers listed in the second drop-down, check your International Settings and make sure you have added your Tax Identifiers to ShipStation.
-
Click Save Rule to save your changes.