HelpPricing

Business Rules

On this page

Business Rules is where you define the dynamic pricing and validation logic that runs on every booking — early-bird discounts, peak surcharges, bundled-add-on offers, eligibility checks, region-specific fees. The rules use a structured decision-rule format (under the hood: GoRules ZEN), but the editor lets you build them visually without writing code.

The visual editor works best with a mouse and a large screen. On a phone or tablet you can still add items to a rule by tapping them in the palette.

How a rule actually works

When a customer books, the pricing layer:

  1. Compiles a context describing the booking — passenger types, departure date, days to departure, client type, channel, custom field values, etc.
  2. Loads every active rule that matches the booking's filters (product type, resource, route, etc.) and is within its valid dates.
  3. For each passenger or vehicle separately, runs the rules in execution order (the order of the rules list). Each matching rule applies its effects, in their numbered order, to that passenger's or vehicle's running price.
  4. The final price is never below zero.

Use the Test Booking tab to see every step for a real booking: which rules applied, the price before and after each effect, and why every other rule didn't.

So changes you make here directly affect what new bookings cost.

The two ways to author a rule

Build from a template

The fast path. Pick one of your templates for a common pattern (for example a percentage discount or a peak-day surcharge), fill in its parameters (the dates, the percentages, the targets), and you have a rule.

Templates are great for non-technical operators. The fields you fill in are auto-generated from the template's parameter definition.

Build from scratch

For when no template fits. Build the rule in the visual editor by connecting three kinds of box (see The visual rule builder below):

  • Conditions — a test on one fact about the booking, for example passenger type, days to departure or channel, and the value it must match.
  • AND/OR groups — several conditions that must all match (ALL of) or where any one is enough (ANY of).
  • Effects — what happens when the conditions match: a price change, End here, a Scanning gate (see Scanning gate: check members at boarding below), an Alert, a commission effect or Set cancellation policy (see Set a cancellation policy below). When one path has several effects, the numbered list beside the canvas sets the order they apply in.

Conditions are checked for each passenger or vehicle separately, so a condition on passenger type makes the effect apply only to matching passengers.

A rule applies to every booking unless its conditions narrow it. To limit a rule to a product, route or kind of product, add a Resource, Route or Product Type condition (under Trip Details).

Pricing a product that connects to a booked service

The condition Connects to a Booked Service (under Trip Details; search "connects") is a true/false toggle. It is true when the departure being priced (any leg) connects to, or is connected from, a departure already in the same booking — using the connections set up in Schedule. When a product is added to an existing booking, that booking counts.

For example, $5 off a shuttle that meets a booked ferry: build from scratch, add Connects to a Booked Service = true, add the discount effect, and add a Resource condition for the shuttle so it doesn't apply to everything.

  • It applies to the cart and checkout price and to the price charged at booking.
  • Calendars and departure lists in the booking pages show the normal (unconnected) price; the connected price appears in the cart and at checkout.
  • Items already in the booking are not repriced when a connected product is added later. To update them, select Reprice booking on the booking's Itinerary in Staff Booking.

Pricing affiliate bookings

The condition Is Affiliate Booking (under Customer & Booking, Marketing & Channel) is a true/false toggle. It is true for a booking a customer made through an agent's affiliate link or website widget (see Affiliate links in Clients & vendors), and false for direct bookings and for agents booking for themselves.

No rule uses it by default. Affiliate bookings get the same rules as any other booking unless you add one — for example, to stop an agent-only discount applying to them, add Is Affiliate Booking = false to that rule.

  • When staff change or remove the attribution in Staff Booking, the booking is repriced, so rules using this condition follow the change.
  • A customer who logs in to their own account before booking, or at checkout before paying, gets an ordinary direct booking. They may have seen an affiliate-rule price while choosing; the booking is repriced and checkout uses the direct price.

The visual rule builder

The rule builder is the canvas in the rule editor. The palette lists everything you can add; the canvas shows the rule as boxes joined by lines. Boxes stay where you put them; Auto layout tidies them without changing what the rule does.

The palette

  • Commonly used comes first, then each category (Passenger Info, Trip Details, Customer & Booking) split under its sub-category headings, then Expression, then the effects.
  • Every item has a one-line description. Search matches names, descriptions, categories and sub-categories.
  • To add an item, drag it onto the canvas, or click or tap it, or focus it and press Enter or Space. A clicked item is placed in a clear part of the canvas.
  • Calculated conditions (tagged Calculated) sit beside the feature they serve:
Condition Where in the palette
Covered by the code's originating reservation Customer & Booking, Marketing & Channel
Also travelling on the paired leg Customer & Booking, Return trips
Passenger position in preferred order Passenger Info, Identification
Count of qualifying vehicles Passenger Info, Identification
  • Effects are grouped as Change the price, Later rules (End here) and No price change (Scanning gate, Alert, Commission percentage, Commission profile, Set cancellation policy).

Conditions

A condition box shows the field's icon, its name and where it sits in the palette. Below that are the test and the value, with an editor that suits the field: a picker for products, stops and other records, a date or date-and-time box, Yes/No buttons, a number or text box, or the field's own builder (lists, custom fields and similar).

  • is between has two boxes, from and to. Both ends are included.
  • Times on conditions about when the booking or the client was created are typed in your business time, and the box shows the time zone beside it (for example "in Pacific/Auckland"). Departure times are already in local time, so they show no zone.
  • Top-level package tests which package a reservation was sold in: the reservation's top-level package resource is the product you pick. For a package leg, that is the outermost package's resource, even when the leg sits in a sub-package. For the package's own reservation, it is the package resource. Outside a package it is empty, so a rule using it leaves ordinary bookings alone. An add-on has no value of its own; tick Check the add-on's parent instead (under Advanced) to use its parent's. On a package with a target price, the package price is split back across its legs after rules run, so a rule on a leg changes nothing there. Put the rule on the package's own reservation instead.
  • A condition can't be turned into a different condition. To test something else, delete the box and add the other condition from the palette.

Advanced. A condition with extra options has an Advanced switch at the bottom of its box. It is off by default and lists only the options that apply to that condition:

Option What it does Offered on
Compare with: Fixed value / Another field Tests the field against another field of the booking instead of a typed value, for example arrival point is not the departure point. Number, text, date, date-and-time, fixed-list and picker fields. Only fields holding the same kind of value are listed (a stop against a stop). Dates, times and text offer only is and is not. Not offered on Yes/No fields, fields with their own builder, or codes.
Check the add-on's parent instead For an add-on, tests the condition against the product it was added to. Conditions about the passenger, vehicle or reservation. Not booking-level conditions.
Turn into an Expression node Replaces the box with an Expression box holding exactly the same test, so you can edit it by hand. Undo reverses it. Every condition except an Expression.

While another field is compared or the parent option is ticked, the switch stays on and its footer shows Field or Parent. To switch Advanced off, choose Fixed value again or untick the parent option.

Promo Code and Single-Use Code (Group) must stay an exact match: the checkout code box only accepts a code that some rule tests for exactly. So Another field isn't offered on them, and turning one into an Expression asks you to confirm.

Calculated conditions

A calculated condition is a check the platform works out from several facts. Its box says in one line what it tests, holds its own settings, and has How this is worked out, with the full explanation and the generated expression.

Each one names the condition it Works with. When the rule doesn't have that partner, an amber line asks you to add it (for example "Add "Is Part of Round Trip" to this rule"). This is advice; it never blocks saving.

Condition Works with
Covered by the code's originating reservation Single-Use Code (Group)
Also travelling on the paired leg Is Part of Round Trip
Passenger position in preferred order Count of qualifying vehicles
Count of qualifying vehicles Passenger position in preferred order

Expression conditions

Expression (last section of the palette) is a condition typed by hand: an Input expression and what it matches, where $ stands for the input's result. The editor checks only brackets and quotes, so test the rule before activating it. Older rules that show "Manually typed expression" open as Expression boxes and run as before.

AND/OR groups

Select two or more conditions (drag across empty canvas, or Shift-click), then choose Create AND Group. The header reads ALL of or ANY of; click it to switch. Each condition inside a group has the same controls as on the canvas.

  • Add to a group: drag a condition from the palette or the canvas onto the group. Without a mouse, use the condition's Move into group button.
  • Reorder or move out: drag a condition by its handle within the group, into another group or onto the canvas, or use its up, down and Move out of the group buttons.
  • Remove one condition: its ×. Ungroup puts every condition back on the canvas: an ALL of group becomes a chain in its order; an ANY of group becomes separate paths.

The editor refuses a change that would alter what an effect needs, and says why:

  • The conditions have different conditions connected before them, or lead to different places. Remove the connections that differ, group them, then connect the group.
  • Grouping would turn separate paths, where either condition was enough, into one that needs both.
  • An ANY of group that leads into another condition can't be ungrouped. Connect it straight to its effects first, or remove its conditions one at a time.
  • A group saved by an older version of the editor can't take new conditions or be reordered. Ungroup it and group the conditions again.

Groups can't contain other groups, and an effect can't go inside a group.

Effects

Each effect is a navy ticket: the effect type and amount on top, the reason and options on the stub below. Whether it lowers or raises the price shows in its name and sign (Percentage discount, −10%), not its colour.

To change one, select Edit effect, change the amount or Reason shown to customers, and save with the tick. A new price effect opens for editing straight away. If the amount is blank the form stays open with the amount marked; nothing you typed is lost.

Effect types with options have an Options switch, which lists only that type's options:

Option Offered on
Per PAT group Fixed discount, Fixed surcharge, Set exact price
Override included fare Set exact price, Price from price list, Fixed surcharge
Mark as deal Percentage discount, Fixed discount
Limit with an offer pool Every price effect, and End here

An option in use shows as a tag on the ticket (Per group, Included add-ons, Deal, Offer pool) and keeps the switch on.

Reading the canvas

  • This rule, above the canvas, states the rule in words, one line per effect. It is built from the boxes, not by AI, and quotes any Expression. Explain this rule on the rule page is separate.
  • AND labels a line from one condition to the next. OR marks where several paths enter one effect: the effect applies when any path matches.
  • A condition can feed several later conditions or effects, a rule can have several starting points, and an effect can sit part-way along a chain. Each effect uses the conditions on its own path. Effects joined one after another run in order.
  • A box warns No conditions: this effect applies to every PAT or Not connected to any effect when that is the case.

Test with a booking

  1. Select Test with a booking above the canvas, enter a booking reference and select Run test. The booking is repriced with every live rule and then put back: nothing is charged or changed.
  2. The canvas shows the first passenger or vehicle this rule applied to (or, if none, the first it was checked for). Choose another reservation or PAT in the panel; this doesn't run the test again.
Mark Meaning
Teal tick and teal line A condition the PAT passed, and the lines it travelled along
Red outline and cross The condition that turned it away, with the booking's own value underneath (for example "This booking: 9 days")
Coral marker Where the tested PAT stopped, for example "Adult stops here"
Applied: +$2.40 / Not applied What each effect did

The pill beside the button names the booking, PAT and reservation tested; its × clears the result. Your next change to the rule's logic clears it too (moving boxes doesn't).

  • The test runs the saved rule. With unsaved edits the button reads Test the saved version. Save a new rule before testing it.
  • It shows only what pricing would run. A draft, inactive or out-of-date rule reports, for example, "Pricing did not consider this rule for this booking: it is a draft." To try a draft against a booking, use Test Your Rule (see Inline rule tester below).

Warnings and blocked saves

  • Amber line: something is needed. For example "Set a value before saving.", "Choose a date before saving." or "Enter both ends of the range before saving." A rule with an unfinished condition, on its own, in a chain or in a group, can't be saved as a draft or activated; the message names the condition. Set its value or delete it. A rule saved earlier with an empty condition opens with that box amber and keeps pricing as before until you save it.
  • Amber line with Repair: an older test that never worked. Some older rules hold a contains, starts with or ends with test, or a date or time test, in a form pricing never matched: "This test has never matched as saved. Repair it to make it apply." An older "is not" time test matched every booking, and an older Client Tags "does not include" matched any client with another tag but never a client with no tags. The rule keeps pricing exactly as saved until you select Repair. After a repair the rule may start applying to bookings it never touched, so test it. On a code there is no repair: delete the condition and add one that says is.
  • Red line: the value can't be saved, for example a text value containing both " and '.
  • "This rule was changed outside the editor." Hubert or another tool changed the rule after its diagram was saved. The editor rebuilds and lays out the diagram from the rule pricing runs. If the change can't be drawn, saving is blocked: leave without saving to keep the rule pricing runs, or choose Replace the rule with this diagram… and confirm.
  • "The business time zone could not be read." Conditions on when the booking or client was created can't be checked or saved until it is. Select Read it again.
  • A single-use code condition can't lead to Set exact price, whether drawn as a chain or a group.

Other behaviour:

  • Undo covers value edits, ALL of / ANY of switches, advanced options and Turn into an Expression node.
  • Escape closes only the innermost open thing (an Advanced panel, an effect edit, the test panel).
  • Back, Cancel and View rule order ask Leave without saving? when you have unsaved edits.

Rule metadata

Every rule has:

  • Description — operator-facing notes about what the rule does and why.
  • Valid From / Valid Until — the days the rule is active. Both days are included in full, in your business time zone (the time zone in Settings). A rule valid until 31 October runs until midnight at the end of 31 October. The dates are when the booking is priced, not the travel date — to change prices by travel date, add a condition to the rule instead. Leave both blank for "always".
  • Execution order — new rules go to the end of the list. To change the order they run in, drag a rule by its handle (⠿) in the rules list, or choose Move to position… from its menu to send it straight to a position. You can also reorder with the keyboard: focus the handle, press Space, use the arrow keys, then press Space to drop. Clear any search or filter first.

How rules stack

All matching rules apply, one after another, to a running price:

  • Target price replaces the running price. Anything after it applies on top of the target; anything before it is overwritten.
  • Percentages apply to the running price, so they compound: +10% then +10% on $100 gives $121.
  • Fixed amounts add to or subtract from the running price.
  • End here — once a rule with End here matches a passenger or vehicle, no later rules run for that passenger or vehicle. Everyone else in the booking is still priced normally.

So order matters. Put a rule that should override everything else last, or use End here on a rule that should stop later offers from also applying.

Rule lifecycle

  • Draft — saved but not active. The rule won't fire on real bookings. Use for work-in-progress.
  • Active — live. Every matching booking is evaluated against this rule.
  • Inactive — was active, now disabled. Doesn't fire but kept for reference.
  • Soft-deleted — removed from active use but the record stays for audit.

When you click Save as Draft, the rule is saved without firing. Save & Activate saves it and makes it live immediately.

Hubert's suggestions to inactivate old rules

Each night JetSetGo checks your active rules. When a rule can no longer fire, Hubert adds a notification to the bell: "3 business rules can no longer fire. Inactivate them?". A rule is suggested when either:

  • its valid until date has passed; or
  • every condition path that gives a discount, surcharge or fee only allows departure dates that left more than a week ago. One path that can still match (for example, a later date range, or no departure date at all) keeps the rule off the list. Repeating conditions such as day of week or month of travel never count as ended.

If the check can't be sure from a rule's conditions, it leaves the rule alone. No AI is involved; it is a fixed date check.

Click the notification to review the list. Each rule shows why it was suggested, and its name opens the rule.

  • Inactivate switches every listed rule off, exactly as if you had made each one inactive yourself. Each rule is checked again first. A rule that someone has edited since the overnight check, or that can fire again, is left alone and listed. You can switch any rule back on at any time.
  • Not now takes a rule out of your list until the next night's check. It is only for you, on this device.
  • Don't suggest again (after Not now) hides the rule from everyone for 1 week, 1 month, 3 months or forever. If anyone edits the rule, it is checked again the next night.

Existing bookings are not changed. You see these suggestions only if you can open Business Rules and switch rules off.

A rule whose valid-until date has passed still shows as Expired in the rules list after it is inactivated.

Templates

Templates are reusable rule definitions with placeholder parameters. Each template has:

  • Metadata (name, code, category, rule type, icon).
  • A rule definition with {{placeholder}} markers.
  • A list of parameters describing each placeholder (label, input type, default value).

Authoring a template is similar to authoring a rule, but with two extra panels:

  • Template Metadata — name, code, category, rule type, icon.
  • Template Parameters — the list of placeholders, each with a label and input type. A live preview shows what the parameter form will look like when other operators instantiate it.

The Parameter Marker lets you select a literal value in your rule and "make it a parameter" — converting it into a fill-in field for instantiation.

When other operators use the template, they fill in the parameters and the system generates a concrete rule from the template.

Single-Use Codes

The Single-Use Codes tab manages code groups — pools of promo codes that can each be redeemed once. A rule makes a group worth something: its condition checks Single-Use Code (Group) against the group's Code, and its effects give the discount.

The list shows each group's status and how many codes it has in total, used, available, and voided. A row's actions are View codes, Export CSV, Edit, Generate codes, Void from CSV, Activate or Deactivate, and Delete. Codes in an inactive group can't be redeemed.

When you create or edit a group:

  • Code — the identifier your rule tests, for example SUMMER_2026. Letters, numbers, and underscores only. It can't be changed later.
  • Name and Description — for staff.
  • Redemption instructions (optional) — shown to customers under their code in the Your Redemption Code box of booking confirmations, for codes that a product issues on purchase. Leave it blank to use "Enter the code as the promo code when you book."

Codes can be generated here for campaigns, or issued automatically — one per purchase — by a product set to issue a promo code. See Resources for prepaid and gift codes.

Limit a code to the party that earned it

A code issued by a product remembers the booking line that bought it — its originating reservation. On its own, a rule on Single-Use Code (Group) discounts every passenger on the line where the code is entered, however many there are. To limit it to the party that earned it, add the calculated condition Covered by the code's originating reservation to the same rule.

For example, an Open Return bought for 2 adults and 1 child:

  1. Build the rule from scratch: Single-Use Code (Group) = your group's code (for example PREPAID_RETURN), and Covered by the code's originating reservation, connected to a 100% discount. Covered by the code's originating reservation is in the palette under Customer & Booking, Marketing & Channel.
  2. Add Resource and Route conditions for the return trip, as for any code rule.
  3. The customer books the return for 3 adults and 2 children and enters the code: 2 adults and 1 child travel free; the third adult and the second child pay the normal fare.

The condition has one setting, Match by:

  • PAT sub-type (the default) — counts each passenger sub-type separately: up to 2 adults and up to 1 child in the example. It works with whatever sub-types you have set up; there is nothing else to choose.
  • PAT type — counts by type instead: up to 3 passengers of any sub-type, the first ones in the booking.

Good to know:

  • The original party is read each time the booking is priced. If the line that bought the code is later edited (an edit replaces the line) or cancelled, the code covers nobody.
  • Codes generated on this tab, and codes a product issued before this condition became available, have no originating reservation, so this condition covers nobody for them.
  • The cap applies to each booking line separately, not across a whole booking. Add Resource and Route conditions for the product and direction the code is meant for.

Return fares

A return fare is a business rule, not part of the base price. Each journey of a round trip is its own booking line, and the rule adjusts each one.

What counts as a return. A journey back counts as the return only when it runs on the outward route's Reverse Route (set on the route, see Routes). Each route has one reverse route, on the same resource. A journey back on any other route or resource isn't treated as part of a round trip, so return rules don't apply to it. Set the Reverse Route on both routes of every pair you sell as a return.

The conditions (palette: Customer & Booking, Return trips):

Condition True when
Is Part of Round Trip The booking has an outward and a return journey. True for both journeys, and for everyone on them.
Is Return Leg The line being priced is the return journey.
Also travelling on the paired leg This person or vehicle also travels on the other journey (counted per PAT sub-type). It has no settings and works with Is Part of Round Trip.

Choosing the conditions:

You want Build the rule with
A discount on both journeys for everyone on a return booking Is Part of Round Trip = true
A discount on the return journey only Is Part of Round Trip = true and Is Return Leg = true
A discount only for the people and vehicles that travel both ways (recommended when a party can differ between the two journeys) Is Part of Round Trip = true and Also travelling on the paired leg
The same, on the return journey only All three

Always add a Resource condition for the product, so the rule only touches the product it's meant for.

Where the return price shows. As soon as the customer chooses a return, the departure lists for both journeys show the return price, before the return departure is picked. The cart, checkout and the saved booking charge the same price. Calendars show the normal price.

Example: 10% off for people on both journeys

  1. Build the rule from scratch: Is Part of Round Trip = true and Also travelling on the paired leg, connected to a 10% discount.
  2. Add a Resource condition for the product.
  3. A booking has 2 adults and a car outward, and 3 adults and no car on the return: the 2 adults get the discount on each trip; the third adult on the return trip and the car on the outward trip don't, because nothing matches them on the other journey.

Good to know:

  • Also travelling on the paired leg compares numbers of each passenger or vehicle type on the two journeys (for example 2 adults and 1 car), not the individual people. Swapping one adult for another adult isn't detected.
  • If the booking has more than one trip back along the reverse route, the one nearest in time is used. Add-on bookings are never counted as the other journey.
  • Adding or removing one journey of an existing booking doesn't recalculate the other journey. If you add the return to a booking that already holds the outward, the return gets the return price but the outward keeps its one-way price. If you delete the return, the outward keeps its return discount. After either change, select Reprice booking on the booking's Itinerary in Staff Booking. Booking both journeys together, in one checkout, prices both correctly.
  • When you change one journey of an existing booking, the change's quote doesn't see the other journey, so it may show the price without the return discount. Afterwards, select Reprice booking.
  • On a quote that is still being built, a line with a quantity above 1 is paired only if the whole quantity fits within the other journey's count.
  • If a booking has two outward reservations and one return, each outward reservation is checked against that same return.
  • Cancelling the return removes the round trip: the outward journey loses the return discount the next time it is priced (for example when you select Reprice booking).

Offer pools

An offer pool limits how many times an offer can be given — "first 100 cars this winter" or "only 10 per departure". You create the pool on the Offer Pools tab, then connect one or more rule effects to it. A connected effect only applies while its pool has uses left, and each time it applies it uses some of the pool.

Create a pool

On the Offer Pools tab, select New Offer Pool and fill in:

Setting What it does
Name For staff, for example "Winter car offer". Shown in the pool picker in the rule editor.
Total available How many uses the pool has. Decimals are allowed, because a pool can count lane metres or other track consumption (for example 4.7 m).
Applies to Across all departures shares one total between every departure (first 100 overall). Per departure gives every departure its own allowance of the total (10 per departure).

In the list, an across-all-departures pool shows its used and remaining uses. A per-departure pool shows "Used on N departures" (or "Not used yet"); select it, or View usage, to see used and remaining for each departure.

Changing a pool:

  • Edit — change the name, total, Applies to or Active. Lowering the total below what has already been used closes the pool to new uses. No booking loses an offer it already has.
  • Deactivate — stops new uses, and the pool's status shows Paused. Effects connected to the pool stop applying to new bookings; bookings that already have the offer keep it. Activate the pool again to resume.
  • Delete — refused while any rule effect is connected to the pool. A This pool is still connected dialog lists the rules using it. Remove those connections first, or choose Deactivate instead.

Connect an effect to a pool

  1. Open the rule in the visual editor and select Edit effect on the effect — any price effect, or End here. Effects that don't change the price can't be connected to a pool.
  2. Turn on Options, tick Limit with an offer pool and choose the pool under Offer pool. Only active pools are listed.
  3. Under Each time this effect applies, use, choose:
    • 1 per traveller/vehicle — each passenger or vehicle that gets the effect uses 1.
    • Match consumption on track — then pick the inventory track. Each passenger or vehicle uses its consumption on that track, on its departure. For a pool of 500 lane metres, a 5 m car uses 5. A traveller with no consumption on that track (for example a passenger on a lane-metre pool) still gets the offer and uses 0.
  4. Optionally fill in Message if this pool blocks a promo code (optional), up to 200 characters — for example "We're sorry, this offer has now been sold out". This is separate from the effect's existing Reason box. See Messages customers see below.
  5. Save the effect (the tick), then save the rule as usual.

A connected effect shows a pool badge with the pool's name and consumption, on the canvas and in the numbered effect list. If the pool is inactive, the effect warns "Pool inactive — this effect will not fire for new bookings"; you can still save. If the pool has been deleted, the effect shows "Pool no longer exists", and the rule can't be saved until you choose another pool or untick Limit with an offer pool.

How a pool is used

  • Each passenger or vehicle separately, all or nothing. The effect applies to a passenger or vehicle only if the pool can cover its full use. A 5 m car is refused when only 3 m remain. A booking of several passengers can be partly discounted: the first ones in the booking get the offer, the rest pay the normal price.
  • Every connected effect counts separately. If two connected effects apply to the same car, both use their pool, even when it is the same pool.
  • It counts when the effect applies, even if the effect doesn't change the price on that occasion.
  • Other rules are unaffected. When a connected effect can't apply, the rest of its rule and every other rule still run. A connected End here only stops later rules when it actually applies.
  • Departure. For a per-departure pool, and for track consumption, a booking line that travels on several departures counts against its earliest one.
  • Unpaid bookings hold their uses until they are paid or the unpaid-booking sweep cancels them, as they do with seats and space.
  • A quote is not a reservation. A customer can see the offer in a quote or cart and not get it when they book, if the last uses go to someone else first. The booking is charged whatever the rules give at the moment it is created. Two bookings made at the same time can't both take the last use.

What happens after booking

What happens Offer Pool use
Booking cancelled, or swept as unpaid — Returned to the pool
Traveller or vehicle removed from a booking — Their use is returned
Booking repriced, or amended on the same departure Kept, even if the pool has since been lowered, used up or deactivated Kept (usage can end up above the total)
Moved to another departure (customer edit, Change departure, scan-to-move) Kept for an across-all-departures pool; a per-departure pool needs room on the new departure Moves to the new departure
Staff bulk move in Schedule Price always kept Moves to the new departure, even if that takes the new departure's pool over its total

If staff delete a discount line from a booking by hand, its pool use stays counted until the booking is next repriced.

Messages customers see

The blocked message is shown only when a promo code is entered — in checkout or in staff booking — and a pool stops the offer:

  • The code gives nothing because its pool has no uses left: the blocked message replaces the usual "not valid" message.
  • The code applies to some travellers or vehicles but not others: the usual success message shows, with the blocked message beneath it.

Only blocked messages from rules that accept the entered code are shown; if several apply, the first one is shown. Offers without a promo code never show a blocked message — the customer sees only the price.

PAT groups

A PAT group, such as Family, lets a rule price the people who form it, for example 20% off for families or $200 per family. New tenants start with a Family group of 2 Adults and 2 Children.

Create a group

On the PAT Groups tab, select New PAT Group and fill in:

Setting What it does
Name For staff, for example "Family". Shown in the group picker in the rule editor.
Combinations Each combination is a list of PAT sub-types with an exact count, for example Adult × 2 + Child × 2. For "1 adult and 2 or 3 children", add two combinations: Adult × 1 + Child × 2, and Adult × 1 + Child × 3. Use the arrows to order them.
Active An inactive group is never formed, so rules that use it stop matching.

Deactivate and Delete are refused while an active rule uses the group; the message lists those rules.

How groups are formed

Groups are formed from the people on the product being priced (the reservation), not the whole booking.

  • As many as possible. The party forms as many groups as it can, covering the most people. 2 Adults + 2 Children form one Family; 4 Adults + 4 Children form two.
  • Leftovers pay normally. 3 Adults + 2 Children form one Family; the third adult pays the normal price. A leftover never stops the others forming a group.
  • Who the members are. Within each PAT sub-type, the first people in the order they appear in the reservation.
  • Ties. When two combinations would cover the same number of people, the one higher in the list is used.

Calendars, departure lists and other prices shown before the party is chosen have no party yet, so they never show group pricing. It appears once the party is known: in search results, the cart, checkout and the booking.

Price group members

Add the condition Member of PAT group (search "PAT group" in the variable list) and choose the group. It is true for each person who is a member of a group formed from the party, so "Member of PAT group: Family" with a 20% discount gives every family member 20% off. It also works with Check the add-on's parent instead (under Advanced), for example to price a meal add-on for family members.

Price per group

On Set exact price, Fixed discount or Fixed surcharge, turn on Options, tick Per PAT group and choose the group. The amount is then for each group formed and is shared between its members, in proportion to their normal prices; the per-person adjustments always add up to the amount. "Set exact price $200 per Family" charges a family $200 and two families $400. Ticking Per PAT group adds the Member of PAT group condition for that group if the effect does not have one. If the effect is joined after other effects, the condition goes on the first effect of the line, so every effect in that line then applies only to group members; the editor names them, and you can separate them to keep them for everyone.

Limits of per-group amounts:

  • They can't be judged from an add-on's parent, so there is no "$50 per family on the meal add-on".
  • The rule can't have any other per-person condition, such as Passenger Type, another PAT group or Check the add-on's parent instead, because some members could match and others not.
  • They can't use an offer pool or Override included fare.
  • A Fixed discount share larger than a member's price stops at $0, so the group gets less off than the amount. A rule earlier in the list that ends with End here for some members also stops their share, and so does an add-on that is included free with its product (per-group amounts can't override an included add-on).
  • On connected services booked as separate reservations, the amount applies to each reservation, as Set exact price does.
  • A group made only of passenger PAT sub-types never changes a cabin price. A group that includes the cabin PAT sub-type shares its amount equally between those cabins.

Test Booking shows each member's share. "Not a member of a group formed from this party" means the person is a leftover; "breaks a per-group limit" means the rule or group breaks one of the limits above and its per-group effect is not applied.

Good to know:

  • In the simple booking flow, customers see group prices before booking only when the product has Check prices live before booking (group and add-on rules) ticked (in Resources); otherwise they see normal prices and booking charges the group price.
  • At the point of sale, group pricing is shown and charged for scheduled products and for ticketed products with Check prices live before booking ticked. Ticketed products without it, including offline sales, use their normal prices. A group that includes a vehicle PAT sub-type isn't formed in the point-of-sale price check, because vehicles are priced on the device there.
  • Add-on prices that depend on the parent's group are estimates until the add-on is ticked.

Member prices

Three conditions check membership. Membership types are set up in the Memberships app.

Condition Where in the variable list True when
Client Memberships Customer & Booking, Customer The booking's client holds any of the chosen client-held membership types
Saved PAT Memberships Passenger Info, Memberships This PAT was created from a saved PAT that holds any of the chosen types, and the type covers this PAT's PAT type
Is Loyalty Member Customer & Booking, Customer The booking's client is an active member of your loyalty programme

For the two membership conditions, the condition shows "The client is a member of any of" or "The PAT comes from a saved PAT that is a member of any of", followed by a button for each membership type. Click the types that qualify. Choosing several means any one of them matches. On the canvas the condition reads, for example, "Friends or Residents".

Good to know:

  • Membership is judged as at the date the booking was made. A membership that later expires or is revoked doesn't change the booking's price, even when the booking is repriced.
  • A paid membership bought in the same booking counts for the booking's other items.
  • Saved PAT Memberships is always empty for PATs typed in by hand, and for saved PATs that belong to a different client from the booking's client.
  • A deactivated membership type shows "(inactive)". A type that no longer exists stays selected as "Membership type #… (not found)" until you click it to remove it.

Scanning gate: check members at boarding

A member price can be passed on to friends who aren't members. A Scanning gate makes staff check the traveller when a ticket priced by the rule is scanned in Operations. Staff see your message and, optionally, the member's photo, then choose to continue or cancel. See Check-in for what staff see.

  1. Open the member-price rule in the visual editor.
  2. Add Scanning gate from No price change under Effects in the palette, and connect it on the same path as the discount.
  3. Fill in its settings:
Setting What it does
Message What staff see on scan, for example "This ticket requires an ID check". Up to 500 characters. Required.
Membership type The membership whose photo and status the gate shows. Pre-filled from the rule's membership condition when that condition names one type. Required.
Show member photo Shows the member photo added in Memberships, when the membership has one.
  1. Save and activate the rule as usual.

Good to know:

  • The gate never changes the price. It has no money value, and customers don't see it in their price breakdown.
  • Use it on member-price rules. Choose the same membership type as the rule's membership condition. A gate whose type doesn't match finds no membership, so staff see the message without a photo or status.
  • Whose photo shows. For a saved-PAT membership, each traveller shows their own photo. For a client-held membership, it is the booking client's photo, shown for every traveller on that booking.
  • It is recorded on each ticket the rule prices. If a reprice no longer applies the rule (for example the traveller changes), the gate is removed from that ticket.

Set a cancellation policy

The Set cancellation policy effect gives the reservations a rule matches a different cancellation policy, for example Non Refundable for a promo code, or a 24-hour policy for an agent. Add it from No price change in the palette and choose one of your active policies (see Cancellation Policies). It never changes the price.

The reservation stores that policy. Cancellation and change fees, free changes and refunds then use it exactly as they use any other policy.

Which policy a reservation gets

  • If any PAT in the reservation matches the rule, the reservation gets the rule's policy.
  • If two rules set a policy, the later rule wins. To pick the winner, drag the effects in Effect order.
  • With no matching rule, the normal policy applies: the resource variation's policy, then the resource's, then your tenant default. Removing a promo code before payment puts the normal policy back.
  • If you deactivate a policy that a rule names, the rule's effect is ignored until you choose another.

Packages

  • A rule that matches the package root (the package itself) sets the policy for the whole package: the root and every leg. Cancellation fees and the free change allowance both follow it.
  • A rule that matches a leg alone is ignored. A promo code whose only rule applies to a leg is refused as not valid, because nothing records that it applied.
  • With no rule on the package root, the package works as before.

Confirmed bookings

Once a booking is confirmed, a rule can change its policy only where a person sees the change:

  • Customers see the change on Review your change, with the old and new policy and the new policy's description. Nothing is saved until they confirm. A promo code gets this review only when it would change the policy; otherwise it applies as before.
  • Staff changes apply at once. Staff see a notice naming each reservation and the change, and the booking's History shows "Cancellation policy changed".
  • Nothing else changes a confirmed booking's policy.

So a "discount for non-refundable" code works only before payment, when staff apply it, or through the customer's review.

A policy change made by scanning a ticket or by a scan move shows in History but gives no notice, because those happen in Operations.

Good to know

  • Point-of-sale fast checkout runs no business rules, so a POS booking gets a rule's policy only after a staff reprice.
  • In a cascade (one change that moves several linked reservations), the lead reservation's policy decides the free change.
  • Itineraries show the stored policy only if your itinerary template prints it.
  • Test Booking shows the stored policy and the policy "if repriced now". The canvas test shows whether the effect applied for each PAT.
  • Fees always use the policy in force at the time of the change. If a rule has just changed a reservation's policy (for example, adding a fourth traveller moved it to Non Refundable) and staff then undo that change, the cancellation fee for the undo uses the new policy. Staff can waive the fee if the change was a mistake.
  • If you deactivate a policy, a promo code whose only effect is setting that policy is refused as not valid until you update the rule.

Automations

Pricing rules change a price. Automations do something when a booking reaches a moment: send a message, tell staff, or call another system. They never change a price, and they are kept apart from your pricing rules. Open them from the Automations tab in Business Rules.

Examples: "2 days before travel on the Island Tour, text the customer a reminder", "when a booking is cancelled, email the office", "when a booking is confirmed, tell our booking system".

You need the Manage automation rules permission to see or change automations. The Operations_Manager group has it. Give it to others in Users & Permissions.

The When

Every automation has one When:

When Acts How often
Booking confirmed When a booking becomes confirmed, including point-of-sale sales and staff payments. Once per booking.
Booking cancelled When a booking is cancelled, by staff, the customer, a partner system or a balance auto-cancel (an agent booking whose balance was not paid by its due date). An unpaid booking that expires before it was ever confirmed does not count. Once per booking. The message lists the cancelled trips.
Moved to different travel When a reservation moves to a different date, time or product: Change departure in Staff Booking, a customer editing their booking, or a bulk move. It also covers a vehicle change on the same sailing: a different vehicle, or a change to the vehicle's details such as length or registration. Passenger-only changes do not count. Once per move or vehicle change. A reservation moved to a new date gets a fresh reminder for it.
Before travel A set time before travel, from 1 minute to 365 days (choose hours or days). See Measured from below.
After travel A set time after travel, in the same range. See Measured from below.

A move of an untimed ticket is not a travel change, because the customer never chose a departure for it. Changing a departure's time in place does not count as a move either, but a Before travel or After travel automation follows the new time, so a customer can get a new reminder for the new time.

Measured from. Before and after travel automations ask what the time counts from:

  • The start of the booking (for after travel, the end of the booking): timed from the booking's first departure (before travel) or last departure (after travel). One message per booking, listing the trips that match. Tickets with no set time and add-ons never set the start.
  • Each trip's departure: one message per trip that matches.

Tickets with no set time (and add-ons) never get a before or after travel message, with either choice: Activity shows them as Skipped, "This product has no travel time (ticket)". Package parent bookings are never acted on by these automations either. For ticketed products use Booking confirmed instead.

Either way, an automation acts once per reason: it never repeats a message for the same booking and trip. An amendment that keeps the same travel does not send again.

The When list also has moments grouped under Money, Accounts, Waitlist and Staff overrides. Each acts once per occurrence:

When Acts
Refund issued When a refund on a booking goes through. Gift voucher refunds with no booking do not count.
No-show fee charged When a no-show fee is charged on a booking. Once per traveller line charged. A zero fee does not count.
Account created When a customer account is created: when staff send an account invite (not when it is accepted), or when a customer signs up.
Account updated When an account's login email, name or role changes, or staff edit its customer's name, contact details, address or client type. Signing in does not count.
Account blocked When an account is switched off or removed, including a customer closing their own account, or its customer is blocked from new bookings or made inactive.
Waitlist offer made When a customer on a waitlist is offered a place.
Waitlist offer accepted When a customer books the place they were offered.
Waitlist offer expired When an offered place is not taken before the offer runs out.
Price adjusted by staff When staff change a price on a booking by hand. Once per adjustment line.
Fee waived by staff When staff waive a cancellation fee on a booking.
Booked over capacity When staff book a full departure with a reason (see Booking a full sailing in Bookings).
Booked after the cutoff When staff make a booking on a departure whose booking cutoff has passed.

Account created, Account updated, Account blocked, Waitlist offer made and Waitlist offer expired have no booking, so they can only call a webhook, not send an Engage flow or notify staff. Account moments check conditions on the customer's client and client type rather than on a booking. The other new moments work like the booking moments above.

Conditions

Automations use the same condition editor as pricing rules: product, product type, PAT sub-type, sales channel, client type, memberships, party counts and so on. With no conditions an automation acts on every booking. Conditions are checked for each reservation, and the automation acts when at least one person or thing (PAT) on it matches.

Cancelled bookings. For a cancelled booking, conditions about booking totals, other journeys in the booking, or memberships bought in that booking cannot match. Other conditions work as normal.

Effects

An automation can have one or more of these effects:

Effect What it does
Send Engage flow Sends an email or text from an Engage flow, to the booking contact or to a fixed list of recipients. See The Engage side below.
Staff notification Adds a row to the bell and the Notifications page, with a title (up to 120 characters) and an optional message (up to 500). Clicking it opens the booking.
Call webhook Sends the booking details to another system at an https address you type. See Webhooks below.

Alert is a different effect: it adds a check-in comment on matching reservations in Operations, and it is a pricing-rule effect (see Effects above). Staff notification is the bell effect, available only in automations.

Pricing rules cannot use these three effects, and automations cannot use price effects.

Create an automation

  1. Open Automations and click New automation.
  2. Name it, choose the When and, for before or after travel, the time and Measured from.
  3. In the editor, add conditions and at least one effect.
  4. Click Save. A new automation is saved switched off.
  5. Use Preview and Test this automation (below), then click Switch on.

Automations have no order and no End here: each one is checked on its own.

Switching on

Before and after travel automations act, by default, only on reservations whose send time is still ahead. The Switch on dialog tells you how many reservations (or bookings) are already inside the send window, and offers Also act on them now. Left unticked, they are recorded in Activity as skipped, "Due before the rule was switched on (not included)", and nothing is sent for them. The same dialog appears when you change the time or Measured from of a switched-on automation (Save and restart).

A booking made after you switch an automation on is a new booking moment. It is acted on while its send window is open, even if its due time has already passed.

The send window is how long a message can still go out: before travel, until the departure; after travel, 7 days after the send time. Booking confirmed, cancelled and moved automations act up to 24 hours after the moment. If automations were not running while one was due, Activity shows it as skipped, "Missed: automations were not running while this was due".

Just before acting, JetSetGo checks again that the booking is still confirmed, the trip is unchanged and the conditions still match. If not, it skips with a plain reason, for example "Booking was cancelled before this was sent", "Trip changed before this was sent" or "Conditions no longer met". If you remove an effect from the automation while its action is waiting, that action is skipped with "This effect is no longer in the rule".

Click Switch off (or delete the automation) and anything still waiting is skipped as "Rule was switched off". Its Activity stays.

Preview and test

  • Preview lists the upcoming reservations (or bookings) the saved automation would act on, and when, with the reason for any it would skip. Nothing is sent. For a flow sent to fixed recipients it also shows how many recipients. Preview covers the next 7 days. If it cannot check everything it says "at least" a number, or that some could not be checked.
  • Test this automation takes a booking reference and shows, as if its moment had just happened, whether each reservation matches (or why not), and what each effect would do: the exact email or text, the staff notification, or the webhook call. Nothing is sent, raised or called. For a cancelled booking it repeats the limit above.

If Test this automation takes too long, try again or narrow it to one booking.

Both use the saved automation, so save your changes first.

Activity

Activity shows every send, notification, webhook call and skip, newest first, with the booking, the moment, the effect and the reason. Filter it by automation, outcome (Done, Queued, Skipped, Failed) or booking reference. For texts it also shows whether the message was delivered. A text to a number that replied STOP is usually handed over and then refused by the SMS provider: it shows Sent with "Not delivered: the number replied STOP".

Outcome Meaning
Queued / Waiting to retry Recorded and waiting for its time, or retrying (for example "Engage flow is busy with another run; retrying").
Sent, Raised, Called The message was sent, the staff notification added, or the webhook answered with success.
Skipped Deliberately not acted on, with the reason ("Conditions not met", "No mobile number on the booking contact", "SMS provider refused: number replied STOP" and so on).
Failed Tried and gave up, with the reason.

The Engage side

The message itself is an Engage flow. In Engage, set the flow's Schedule to Triggered by a business rule. Such a flow:

  • is always a service message (operational), so it does not need the customer's marketing tick;
  • can be an email or a text, depending on the template you choose;
  • can use trip details in the template: the travel date, departure time, product, pickup and drop-off of the first timed trip, and a list of the trips the automation acted on (for a cancellation, the cancelled trips; for Each trip's departure, just that trip);
  • has a Send to setting: Booking contact (the default) or These recipients, a list of emails or mobile numbers you type, for example your office or a partner. A bounced or complained address is skipped but never affects any customer's consent;
  • must be active before an automation using it can be switched on. Only flows set to Triggered by a business rule appear in the automation's Send Engage flow list.

Texts from Engage need your business's SMS set up (a messaging service and an SMS number), and your SMS inbox connected, so that replies such as STOP and START reach JetSetGo. See Text me offers in Clients.

Webhooks

A webhook sends one JSON message per booking moment to a public https address on the standard port (443), with no user name or password in it; private addresses are refused. Tick the Data to send:

Group Always? What it holds
Booking and trips Always An event (id, moment, time, automation, who acted), the booking (id, reference, status) and each reservation (product, departure, route, stops, pickup, drop-off). For a move, the previous travel too. For an account or waitlist moment, the account or waitlist entry instead of the booking, and none of the groups below.
Contact Ticked by default The booking contact's name, email and phone.
Party Optional For each reservation, a list of its passengers and vehicles: [{reservation_id, pats: [{pat_type_id, pat_type_name, pat_sub_type_id, pat_sub_type_name, count}]}].
Money Optional Total, paid, balance and currency.
Sales Optional Sales channel, agent and client type.
Custom fields Optional Custom field answers, on the booking or on a passenger.

Every call says when the moment happened and, when a staff member did it, who (their user id and name). When a customer acted, it names their customer account instead.

Send test call sends one sample to the address so you can check it arrives. The editor shows the exact shapes.

Checking a call is genuine. Every call carries three headers: X-JetSetGo-Event-Id, X-JetSetGo-Timestamp and X-JetSetGo-Signature. The signature is sha256= followed by the hex HMAC-SHA256 of the timestamp, a full stop, and the raw message body, made with your business's signing secret. In the editor of an automation that has a Call webhook effect, open Webhook signing secret to Reveal secret or Change secret (calls signed from the next minute use the new one; give the new secret to the receiving system). There is one secret for the whole business.

If the receiver does not answer with success (any 2xx), JetSetGo retries with longer waits until the send window closes, then records the failure. Delivery is at least once: if you see the same X-JetSetGo-Event-Id twice, it is the same call retried, so ignore the repeat.

Test Booking

The Test Booking tab answers "why does this booking get this price?" and "why isn't my rule applying?".

Enter a booking reference. The system reprices the whole booking exactly as a staff reprice would — today's prices and today's rules — records what happened, then undoes everything. The booking, its prices and its payments are not changed.

For each reservation and each passenger or vehicle you see:

  • Base price, the price if repriced now, and the price as charged. A difference usually means a price or rule changed after the booking was made.
  • Every rule, in execution order, one per row, with its result:
    • Matched — its conditions matched; the row shows the price before and after its effects.
    • No match — it was checked but its conditions didn't match.
    • Not loaded — it was never considered, with the reason: draft, inactive, outside its valid dates, or — for some older rules set up before conditions were the only way to limit a rule — not set up for this product, route or passenger type.
    • Skipped after End here — an earlier rule ended processing for this passenger or vehicle.
    • Error — the rule couldn't be evaluated.

The list shows every rule, so you can scroll or use your browser's find (Ctrl+F) to jump to a rule by name or code. Click a rule to see each condition with the value it was checked against (for example "Days to departure was 3; needs ≥ 7"), the effects it applied, and its diagram with passed and failed conditions highlighted.

Play walks down the list in order and updates the running price as each rule applies. Next match jumps to the next rule that changed the price.

Inline rule tester

In the rule editor, Test Your Rule checks one saved rule on its own against a booking — useful for a draft or inactive rule before you activate it. Nothing is charged or changed. To see how the rule works together with your other rules, use Test Booking, or Test with a booking on the canvas (see Test with a booking above), which draws the result on the rule but only for a rule pricing would run.

Change history

The History button shows who changed rules and templates, and when.

The rule editor also has a Version History view for earlier saved snapshots of a rule. Ordinary saves in the editor do not currently add a snapshot, so this view is often empty; use History to see recent changes.

There is no log of every rule evaluation for every booking. To find out why a booking got a price, test it on the Test Booking tab.

Tips

  • Check the order before activating. A new rule goes to the end of the list, so it runs after everything else.
  • Save as Draft while you build. Active rules fire on real bookings — testing in production is bad practice. Draft until you're sure.
  • Test before activating. Try a draft against a few real bookings with Test Your Rule, then check them on Test Booking once it's active.
  • Templates over from-scratch. When a template fits, the maintenance burden is much lower. Save custom rules for genuine one-offs.
  • Use Test Booking when in doubt. "It should have given the discount" usually means the booking didn't match what you assumed — the tab shows exactly which condition failed.
  • Decide how overlapping rules combine. When several rules can match the same passenger, they all apply unless one says End here. Don't activate two versions of the same offer.
  • Choose the passengers inside the rule. To discount only children, add a Passenger Type (or Passenger Sub-Type) condition. Without one, the rule applies to every passenger and vehicle its other conditions match.
  • Pricing — the base prices that rules adjust on top of
  • Custom Fields — custom field values are available as rule context variables
  • Resources — a Resource condition limits a rule to specific resources
  • Channels — a Sales Channel condition limits a rule to specific channels
  • Memberships — the membership types member-price conditions check
  • PATs — PAT types and PAT sub-types, which PAT group combinations are made of
  • Notifications — where an automation's Staff notification appears, and who sees it
  • Clients — Text me offers, STOP and START, and the SMS inbox that texts rely on