Add-on rules: control when add-ons like Freight Insurance are offered

Consignment Add-on Rules, FreightInsure

This feature is in beta testing. For more information, please contact support.

Overview

Add-on rules control when a consignment add-on, such as Freight Insurance, is offered. A rule checks each consignment against conditions you set. When the consignment matches, the rule takes one action on one add-on.

You can use add-on rules to:

  • stop an add-on being offered, for example when a consignment contains dangerous goods or goes with a particular carrier;
  • make an add-on required, so the person booking cannot decline it;
  • fill in an add-on's details automatically, for add-ons that support it.

This article applies to both brokers and enterprises.

Before you start

  • Add-on rules may need to be enabled for your organisation. If you cannot see Add-on Rules under Admin > Rules, contact your MachShip account manager.
  • The add-on must be set up for the company the rule is for. The add-on can be turned off. This lets you write rules before you turn the add-on on. Users with the Create/Delete permission for Manage Add-ons can also write rules for add-ons that are available to the organisation but not yet set up for the company. For Freight Insurance, see FreightInsure for Freight Brokers or FreightInsure for Enterprise Shippers.
  • Your user role needs the Manage Add-ons permission. The View permission shows the Add-on Rules page. The Create/Delete permission lets you create, clone and delete rules. The Edit permission lets you edit, enable and disable rules.

Finding add-on rules

Go to Admin > Rules > Add-on Rules. The page lists your rules with these columns: Id, Name, Add-on, Company, Action and Status.

The Status column shows one of four values.

  • Enabled. The rule is in use.
  • Disabled. The rule has been turned off.
  • Scheduled. The rule's Effective Date is in the future.
  • Expired. The rule's Expiry Date has passed.

You can filter the list by Company, and tick "Include Disabled" to show disabled rules. The search box matches rule names and descriptions. Type a number, or a number after #, to find a rule by its Id.

Creating an add-on rule

  1. On the Add-on Rules page, click "Create Add-on Rule".
  2. Under the details section, enter a Name. Add a Description if you want one.
  3. Choose the Company the rule is for. It defaults to your own company.
  4. Under "THEN Action", choose the Add-on and the Action.
  5. Under "IF Conditions", add the conditions a consignment must match.
  6. Set an Effective Date and Expiry Date if the rule should only apply for a period.
  7. Leave "This add-on rule is enabled" on, and click "Create Add-on Rule".

The Company and the Add-on cannot be changed after the rule is created. Changing the Company while you create the rule clears the Add-on and Action you chose. The add-ons you can choose depend on the Company.

Rule details

FieldWhat it does
NameRequired. Up to 100 characters.
DescriptionOptional. Up to 300 characters.
Effective DateThe rule applies to consignments despatching on or after this date. Leave it blank for no start date.
Expiry DateThe rule applies to consignments despatching on or before this date. Leave it blank for no end date.
CompanyThe company whose consignments the rule checks. Only add-ons set up for this company can be chosen.

Actions

ActionWhat it does
Do not applyThe add-on is not offered or charged on matching consignments. This applies even when the add-on is set to Always on.
Make requiredThe person booking cannot decline the add-on on matching consignments. For Freight Insurance set to At booking, this adds cover to matching consignments.
Set add-on inputFills in some of the add-on's details on matching consignments. This action only appears for add-ons that support it.

For "Set add-on input", the "Apply per matching item" switch multiplies each number you enter by the quantity of the items that matched the conditions. For example, three matching items at $1,500 becomes $4,500.

Conditions

Conditions use the same builder as Shipping Rules. Each condition picks a field, an operator and a value. Groups of conditions can be joined with AND or OR. Click "Show Advanced" to match any or all items in a collection.

You can build conditions on the consignment's items, dangerous goods, origin and destination, references, carrier, service and carrier account, among other fields.

Text comparisons ignore upper and lower case. A rule with no conditions matches every consignment for its company.

Examples for Freight Insurance

Do not offer cover on dangerous goods

  1. Choose the Add-on "Freight Insurance" and the Action "Do not apply".
  2. Add the condition Route > "Contains Dangerous Goods" is equal to true.
  3. Click "Create Add-on Rule".

Consignments containing dangerous goods are booked without Freight Insurance.

Do not offer cover with a particular carrier

  1. Choose the Add-on "Freight Insurance" and the Action "Do not apply".
  2. Add the condition Carrier > Carrier is equal to the carrier's name.
  3. Click "Create Add-on Rule".

Freight Insurance is removed from that carrier's routes. Routes with other carriers still include it.

Require cover for a particular destination

  1. Choose the Add-on "Freight Insurance" and the Action "Make required".
  2. Add a condition on the destination, for example Route > Destination State is equal to WA.
  3. Click "Create Add-on Rule".

Consignments to that destination must carry cover, even when the company is set to At booking.

What the person booking sees

SituationWhat is shown
A "Do not apply" rule matches the consignmentThe add-on does not appear on the form and is not quoted.
A "Do not apply" rule matches a carrierThe add-on is removed from that carrier's routes and their price breakdown.
A "Make required" rule matchesThe add-on shows a "Required" label in the price breakdown, with the explanation "A rule on this consignment makes this add-on mandatory, so it cannot be declined." There is no option to decline it.
The add-on is required but could not be pricedThe route shows "[add-on] is required but unavailable". The consignment can still be booked.

Rules are checked while the consignment is filled in, when routes are generated, and again when the consignment is saved. Consignments created through the API are checked when they are saved.

Managing rules

Open the menu on a rule's row to edit, clone, enable, disable or delete it. Select several rules and use "Enable Selected" or "Disable Selected" to change them together.

A cloned rule is named after the original with "Copy" added. It is created disabled, so enable it when it is ready.

Things to know

  • A rule applies only to the company it was created for. It does not apply to companies beneath that company, even when the add-on itself does. Create a rule for each company that needs it.
  • When rules conflict, "Do not apply" wins. An add-on that a rule removes cannot also be made required.
  • When two rules fill in the same detail, the rule created later wins.
  • "Make required" and "Set add-on input" rules cannot use carrier, service, carrier account, zone or despatch conditions. "Make required" rules also cannot use charged weight conditions. These rules are checked before routes exist, so no carrier is known yet. Use "Do not apply" for carrier-based rules.
  • Rules cannot use the declared value of goods as a condition.

Troubleshooting

MessageCauseWhat to do
This company has no add-ons available, so there is nothing to write a rule about.No add-on has been set up for the chosen company.Set up the add-on for the company first, or choose another company.
Choose a company first. The add-ons you can write a rule for depend on the company.No company has been chosen.Choose the Company before the Add-on.
Select the add-on this rule applies to.No add-on has been chosen.Choose the Add-on.
The expiry date cannot be before the effective date.The dates are in the wrong order.Correct the Effective Date or Expiry Date.
Some conditions are incomplete...A condition row is not filled in.Fill in the row or remove it.
A rule that sets add-on inputs cannot use carrier, service, account, zone or despatch conditions...A "Set add-on input" rule uses a carrier-based condition.Remove the carrier-based condition.
A rule that makes an add-on required cannot use conditions that need a carrier or a priced route...A "Make required" rule uses a carrier-based or charged weight condition.Remove that condition.
You cannot change the add-on a rule applies to. Create a new rule instead.The Add-on was changed on an existing rule.Create a new rule for the other add-on.