A wildcard is a field in a message text that Barberly fills in for each client when the message is sent. You write it between two pairs of # signs: ##firstname##.
is sent as
Wildcards work in SMS, push notifications, email subjects and email texts:
- in your notification texts, NotificationsNotification Templates;
- in campaigns and campaign templates, MarketingCampaigns and MarketingTemplates. In the campaign editor, Add client's name puts in
##firstname##for you.
How they work#
- Names are not case sensitive:
##FirstName##works too. - If a value is missing, for example a client without an email, the wildcard is left out of the message.
- A notification template with a name that doesn't exist is not saved. The portal shows Invalid wildcards: with the name. In a campaign, check the spelling before you send: a message with an unknown name is not sent.
Campaigns and booking notifications#
A campaign goes to many clients at once and has no appointment behind it. So in campaigns only these wildcards are filled:
- the client:
##firstname##,##lastname##,##customerfullname##,##customerphone##,##customeremail##,##customerbirthday##; - your business:
##businessname##,##businessemail##,##currency##,##appointmentcancellationpolicy##; - links:
##bookinglink##,##membershiplink##,##membershipplanslink##,##paymentcardslink##.
Everything else (the appointment, the team member, the location, orders, bonuses, membership details) is filled only in the notification that belongs to it, and stays empty in a campaign. For example, "Find us at ##locationstreetaddress##" in a campaign is sent as "Find us at".
Client#
Work in every message.
| Wildcard | Gives |
|---|---|
##firstname## | First name |
##lastname## | Last name |
##customerfullname## | First and last name. Filled for clients who signed up in your app or on your website; empty for clients you added yourself. For everyone, use ##firstname## ##lastname## |
##customerphone## | Phone number |
##customeremail## | |
##customerbirthday## | Birthday |
Your business#
Work in every message.
| Wildcard | Gives |
|---|---|
##businessname## | Your business name |
##businessemail## | Your Address for Sent Emails, from SettingsBusiness Settings |
##currency## | Your currency |
##bookinglink## | Your booking page |
##appointmentcancellationpolicy## | Your cancellation policy: the text under Policy clients see in PaymentsConfigure payments |
Appointment#
Only in appointment notifications: appointment created, modified and canceled, appointment request, reminder, review request and rebook suggestion.
| Wildcard | Gives |
|---|---|
##appointmentdate## | Date, in your country's format |
##appointmenttime## | Start time, in your 12 or 24 hour format |
##appointmentdatetime## | Weekday, date and time in one, for example "Saturday, March 06, 7:30 PM" |
##appointmentdayoftheweek## | Weekday |
##appointmentservices## | The services, separated by commas |
##appointmenttotalprice## | Price of the appointment, with the currency |
##appointmentaddress## | Location name and address. For a home visit, the client's address |
##appointmentlink## | The appointment page, where the client can change or cancel it |
##appointmentreviewlink## | Your Google review link if the location has one, otherwise your own review page. See Google review link |
##confirmationcode## | The appointment's reference number |
Team member#
The team member booked for the appointment. Only in appointment notifications.
| Wildcard | Gives |
|---|---|
##teammemberfirstname## | First name |
##teammemberlastname## | Last name |
##teammemberjobtitle## | Job title |
Location#
The location of the appointment, or the location that handles an order. Only in appointment and order notifications. In walk-in queue messages, ##locationcityaddress## and ##locationphone## are filled too.
| Wildcard | Gives |
|---|---|
##locationstreetaddress## | Street address |
##locationcity## | City |
##locationzipcode## | ZIP or postcode |
##locationcityaddress## | Street, ZIP or postcode and city in one line |
##locationphone## | Phone number |
##locationfinddetails## | Your "how to find us" text |
##locationparking## | Your parking text |
Walk-in queue#
Only in walk-in queue messages: ticket issued, ticket updated, your turn is coming up, it's your turn, ticket cancelled. See The client's ticket and messages.
| Wildcard | Gives |
|---|---|
##ticketnumber## | Ticket number with the # sign, for example #12. Don't add another # in front |
##ticketlink## | The ticket page |
##ticketwait## | Estimated wait in minutes, a number. Empty when nobody is on shift |
##ticketservices## | The services chosen at check-in |
Orders#
Only in order notifications: order created, ready for collection, shipped and canceled.
| Wildcard | Gives |
|---|---|
##ordernumber## | Order number |
##orderdate## | Order date |
Waiting list#
Only in the message that a time has become free.
| Wildcard | Gives |
|---|---|
##waitingitemdate## | The date the client asked for |
Bonus#
Only in the birthday bonus message. See Birthday bonuses.
| Wildcard | Gives |
|---|---|
##bonusname## | Name of the bonus |
##bonuslink## | The page where the client sees the bonus |
Membership#
Details are filled only in membership notifications. The three links work in every message, campaigns included.
| Wildcard | Gives |
|---|---|
##membershipplanname## | Plan name |
##membershipprice## | Plan price |
##membershipchargeamount## | Amount of the charge |
##membershipnextchargedate## | Date of the next charge |
##membershipretrydate## | When a failed charge is tried again |
##membershipstartdate## | Start date |
##membershipenddate## | End date |
##membershiplink## | The client's membership page |
##membershipplanslink## | Your membership plans |
##paymentcardslink## | The client's saved cards |
Date, time and text formats#
Add a format after a colon:
##appointmentdate:dd.MM.yyyy##gives 06.03.2027. Works with##appointmentdate##,##customerbirthday##and##waitingitemdate##.##appointmenttime:HH:mm##gives 19:30.##businessname:capital##starts the value with a capital letter,:smallwith a small one. Works with names, addresses and other text values.
In email layouts#
Two wildcards give a CSS value instead of text, for hiding a table row in an email layout when there is nothing to show:
##appointmentcancellationpolicydisplay##:nonewithout a cancellation policy,table-rowwith one;##locationparkingdisplay##: the same for the parking text.
Older names#
Older templates may use these names. They still work and give the same values:
| Older name | Same as |
|---|---|
##barbershopname## | ##businessname## |
##barbershopemail## | ##businessemail## |
##barbershopcurrency## | ##currency## |
##barberfirstname## | ##teammemberfirstname## |
##barberlastname## | ##teammemberlastname## |
##barberjobtitle## | ##teammemberjobtitle## |