Send bookings to Attentive
Bookings in Trybe reach your Attentive account as custom events as they happen, so you can text guests from Attentive journeys. We send the events and add subscribers. The texts themselves are journeys you build in Attentive.
Which bookings
Section titled “Which bookings”Only orders with a valid mobile number are sent. Each event names the guest by their mobile number, their email address if it is valid, and their Trybe customer record. The $0 orders with no items that Trybe creates when a guest saves a card are skipped.
The events
Section titled “The events”The event names are the same as the ones sent to Klaviyo, so a venue using both sees one vocabulary. A Basket event describes the whole order. An Item event is sent for each line on it.
| Attentive custom event | Sent when |
|---|---|
| Basket Submitted, Item Submitted | The order is submitted in Trybe. Submitted does not mean paid. |
| Basket Confirmed | The booking is far enough along to tell the guest. See When a booking confirmation goes out. |
| Item Start | One per day pass, treatment or package, dated at its start time. Sent when the order is submitted or settled. |
| Basket Settled, Item Settled | Trybe marks the order settled (checked out). A free, $0 booking is never settled in Trybe, so it never sends these. |
| Basket Cancelled, Item Cancelled | A submitted booking is cancelled. |
| Basket Abandoned, Item Abandoned | Trybe cancels a checkout that was never submitted. |
| Basket No_Showed, Item No_Showed | The booking is marked as a no-show. |
Each event carries the booking’s details: the location, the order reference, what was booked and when (in your site’s local time), the number of guests, any discount code and the amount. Basket events also say whether the order is a visit or a purchase such as a gift card, and whether money is still owed.
Trybe can send the same booking event more than once, and Attentive does not drop a repeat by itself: each one can start a journey again. So we remember every event we send and skip a repeat.
Text subscriptions
Section titled “Text subscriptions”When a new booking is submitted, the booking’s mobile number is subscribed in Attentive. Cancellations and no-shows never subscribe anyone.
- Transactional texts. The number is subscribed to transactional texts, because the guest has just booked.
- Marketing texts. Only when the guest opted in. That means either the marketing preference you choose in Trybe, which guests tick at checkout, or the marketing opt-in label on their Trybe customer record. If you use the marketing tick-box at check-in, the label it writes can count.
Attentive sends its own opt-in or welcome text when a number is subscribed. To avoid prompting a guest on every booking, a number is only subscribed when Attentive has no record of it for that kind of text. A number that is already subscribed, still waiting to confirm, or has opted out is left alone.
What you set up in Attentive
Section titled “What you set up in Attentive”- The connection: an API key from your Attentive account.
- Two sign-up sources that new subscribers are added through: one for transactional texts and one for marketing texts. We need the ID of each.
- Your journeys, each triggered by one of the custom events above. Send guest confirmations from Basket Confirmed, not Basket Submitted.
- A default for every variable in your messages. In Attentive, a variable with no value and no default stops the message from sending, and some details can be blank: a gift card order has no service name or start time, for example. Variables cannot be used in welcome-journey messages.
What we set up with you
Section titled “What we set up with you”- Which of your Trybe sites send bookings.
- The two sign-up source IDs.
- Your marketing preference and opt-in label.
Check it is working
Section titled “Check it is working”Make a test booking in Trybe with your own mobile number and pay for it in full. The journey you built on Basket Confirmed should text you, once.
Something wrong or unclear on this page? Tell us and we’ll fix it.