Package Delivery Pricing
Basic example of a Decision Tree. Here used to establish price based on package weight.

DecisionRules

This rule flow is a Decision Tree designed to calculate shipping costs and delivery estimates. It serves as a basic example of establishing pricing logic based specifically on the physical weight of a package.
Solution components:
- Input logic relies on the Package Weight, which is the numerical weight of the package (defined as package.weight).
- Output logic determines three distinct outputs: Price (the calculated cost of shipping, defined as price), Currency (the monetary unit, fixed as USD in this version, defined as currency), and Delivery Duration (the estimated time for arrival, defined as deliveryInHours).
Use this Decision Tree, adjust the input parameters and pricing outputs to match your specific delivery rates, and simply call from your system using a REST API whenever you need to calculate shipping costs and estimates.
More Templates
See Other Templates
Property Insurance Pricing
Simple property insurance pricing model built with a Decision Flow and a couple of Decision Tables.
Anti-Money Laundering Screening (AML)
Discover simple way to identify suspicious transactions with this Decision Flow based on their characteristics.
Complementary Products
Automate "You might also like" recommendations with this Decision Flow based on an item in the user's shopping cart.