Reservine Docs

Automations

How to set up rules that send a message, issue a voucher or refund a payment on their own after an event, and how to track what ran.

Automations

An automation is a rule of the form "when this happens, do that". A customer completes their fifth slot and gets a voucher. They cancel a reservation a day ahead and get their money back. They stay away for two months and get an email saying you miss them. None of it is done by hand.

Trigger → conditions → actionsWHENa slot completedANDno review · wait 2 hDOemail “How was it?”★★★★★ PetraEve: rule drafted
Trigger → conditions → actions

Where to find it

In the admin open Settings → Automations (Nastavení → Automatizace). At the top you see the Your automations list with an on/off switch and a run count. Below it is a catalogue of ready-made recipes and the Start from scratch button.

The Automations page with the list of rules and the recipe catalogue

How a rule works

Every automation has three parts:

  1. When it should run (trigger): the event the rule reacts to.
  2. Conditions: filters that must all hold at once. Without conditions the rule runs on every event.
  3. What should happen (actions): one or more actions, each with an optional delay.

Actions run in the order they appear in the rule. When the first action issues a voucher, the second action (an email) already knows its code.

Ready-made recipes

The fastest path is to pick a recipe. It opens a pre-filled rule where you only fine-tune the text and values.

RecipeWhat it does
Reward every 10th reservationAfter every 10 successful reservations → thank-you email with a personal discount voucher
Loyalty rewardAfter 5 successful slots → thank-you email with a personal voucher
Regular customers5+ successful slots in a month → thank-you SMS
Review requestA day after a successful slot → email asking for a review
Welcome new customersFirst reservation → welcome email
After a cancelled visitCancelled reservation → gentle reminder to book a new slot
Voucher for cancellingAdmin cancels 24+ hours ahead → one-time voucher for the paid amount + email
Refund for cancellingAdmin cancels 24+ hours ahead → full refund to the card + email
Failed paymentPayment failure → email with an option to complete the payment
Win back customers60+ days without a visit → "we miss you" email
The Loyalty reward recipe opened with a pre-filled trigger, condition and actions

A custom automation step by step

  1. Click Start from scratch (or open a recipe).
  2. Fill in the Automation name.
  3. Choose the Trigger scope: Reservation, Slot, Customer or Payment. The scope determines which conditions make sense.
  4. Choose When it should run.
  5. Add Conditions. Each has a field, an operator and a value.
  6. Add What should happen and set a Delay and unit (minutes, hours, days, months) on each action.
  7. Save. The new rule is active immediately; you switch it off with the toggle in the list.

Triggers

  • When a reservation is created
  • When a reservation is cancelled
  • When all eligible slots of a reservation succeed
  • When a single slot succeeds
  • On a customer's first reservation
  • When a payment is completed
  • When a payment fails
  • When a customer has not visited in a long time

The difference between a reservation and a slot: one reservation can contain several slots (blocks). "When a single slot succeeds" fires for every completed block, "when all eligible slots succeed" once per whole reservation.

Conditions

Available fields: Customer's number of successful slots · Customer's number of successful reservations · Successful slots in the last 30 days · Days since the last successful slot · Branch of the reservation / slot / payment · Who cancelled · Hours before the reservation start.

Operators: equals · does not equal · is more than · is at least · is less than · is at most · is one of · every.

The Who cancelled and Hours before the reservation start fields are available only with the "When a reservation is cancelled" trigger. Who cancelled takes the values Customer, Administrator or System.

Repeating reward: every Nth reservation

The every operator rewards a customer repeatedly: with the value 10 at the 10th, 20th, 30th completion and so on, once each time. equals 10, by contrast, rewards only once, at the tenth.

  • Whole reservations are counted by the "Customer's number of successful reservations" field with the "When all eligible slots of a reservation succeed" trigger. A reservation with three slots counts once.
  • Slots are counted by the "Customer's number of successful slots" field with the "When a single slot succeeds" trigger. A reservation with three slots counts three times.

The every operator is offered only in these two pairs. Each completion counts at its own place in the customer's history, so not even two slots ending at the same moment skip a milestone. History from before the rule was switched on counts toward the position, but no reward is sent retroactively: a customer with 25 reservations gets the first reward at the 30th. A cancelled reservation does not count.

The Conditions section of the automation editor with a field, operator and value

Actions

ActionWhat you set
Send emailEmail subject and Email text in the visual editor
Send SMSSMS text
Issue voucherVoucher source: From template (based on a saved voucher template) or One-time voucher
Refund card paymentNo settings; refunds the whole payment through Stripe
Notify administratorMessage for the administrator
Add internal noteText of the note on the reservation

For a one-time voucher you choose the Voucher value: Paid amount (what the customer actually paid) or Fixed value, and the Validity in months.

The What should happen section with the Issue voucher and Send email actions

Only card payments can be refunded. For an order with no card payment (credit, cash, bank transfer) the step fails and the run is marked as failed. When the cancel dialog already settled the money (as a voucher or to the card) or the payment is already refunded, the Refund card payment step and a voucher for the paid amount are skipped (not failed) and the rest of the run stops, so the customer is never paid twice. Refunding is available only with the "When a reservation is cancelled" trigger.

Variables in message text

In the subject and text of emails and SMS you can use:

{customer_name} {branch_name} {reservation_date}
{voucher_code} {voucher_value} {refund_amount} {refund_currency}

The voucher and refund variables are filled in only when an Issue voucher or Refund card payment action runs before the email in the same rule.

Run history

After opening a saved automation you will find the Run history at the bottom. For each run you see the source (Parent reservation, Specific slot, Payment transaction, Customer), the status and the individual steps.

Run statuses: Pending · Success · Partial success · Failed · Skipped. Step statuses: Pending · Queued · Running · Completed · Failed.

Run history with individual runs and step statuses

Tips

  • Start with one recipe and watch the history for a few days before adding more.
  • The "Review request" recipe pairs well with reviews.
  • Vouchers issued by an automation appear in the vouchers overview.
  • SMS actions consume credits.
  • Do not want to write the rule by hand? Describe it to Eve; she prepares it and you only approve it.

On this page