How to use Shorthand Codes

What is a shorthand code? 
Using shorthand codes on your booking form 
Using shorthand codes in your confirmation emails
Standard shorthand codes glossary


What is a shorthand code?

A shorthand code is like a nickname that you give to a piece of information in your booking form. You can then customize your communications to your customers and include those pieces of information by referring to the shorthand codes. 

Some shorthand codes have already pre-set by Youcanbook.me and will be used in your communications to your booker like:

  • {EMAIL} for the email address they enter on your booking form
  • {FNAME} for the first name they enter

You can add additional questions to collect information from your customer before the booking.

Shorthand code requirements:

  • All capital letters
  • Alphanumeric characters only
  • Underscores ( _ ) and dashes ( - ) are allowed
  • Between 2 and 16 characters.  
  • The spelling of the shorthand code in your confirmation & reminder emails must match your booking form

Setting shorthand codes on your booking form

In your settings, navigate to Booking Form > Questions. Add a new question, and set the shorthand code.

Using shorthand codes in your confirmation emails

Use the same shorthand codes with curly brackets you've set on your booking form- along with others that are pre-set - to let call back the answers they've entered on your booking form.

The system inputs the relevant information for each booking, so the email is personalised for each customer. Here's how it looks in the email the booker receives:

Tip: Another great use for shorthand codes is our data export function and our Zapier integration.  To ensure you get all the fields from your booking form into the data export, you can set a shorthand code for each question you want to include in the export.  In addition to the default time, date, etc, each shorthand code will create a separate column in your spreadsheet.  

FAQ:

Can I use shorthand codes to customise the text on my live booking page?

  • Shorthand codes can only be used in communications that occur after the booking in the Notifications & workflow section of the Settings.

What are the default shorthand codes for YouCanBook.me?

  • See the list below. As with your own custom shorthand codes, the standard codes shown below must be spelled and capitalised exactly as below in order for them to work.

Standard shorthand codes glossary

CODE DESCRIPTION EXPECTED OUTPUT Equivalent in Zapier
{ACCOUNT-EMAIL} Account email address used to login to YouCanBook.me sample@email.com n/a
{ACCOUNT-MOBILE} Account number listed on account settings page +1(000) 000-0000 n/a
{ADD-TO-GOOGLE}
{ADD-TO-MSLIVE}
{ADD-TO-ICS}
Will add links to add event to calendar Add to Google
Add to Office 365
Download Calendar Invite
n/a
{ADD-TO-GOOGLE-LINK} 
{ADD-TO-MSLIVE-LINK} 
{ADD-TO-ICS-LINK}
Shorthand codes you can use to translate the add to calendar buttons ( more information here).
{BOOKING-TITLE} The title of the calendar event Booked: John, April 4 n/a
{CREATED}  The date and time the booking was made  April 4, 2013 10:33 AM  date/time the booking was made
{DURATION}  The length of the booking  45 minutes  duration of booking
{EMAIL} Booker email address example@email.com emailed entered on the booking form
{EMAIL-QUESTION-CODES} All of the emails on the booking form example@email.com, example2@email.com email addresses entered on the  booking form
{END}  The end date and time. There are also END- versions of all the above.  April 4, 2013 1:00 PM 
  • end time/date of the booking 
  • end time (in booker's timezone)   
{END-EPOCH-MILLISECONDS} calculate the number of seconds since the 01-01-1970(for advanced users) 1509940041292   End Epoch Milliseconds
{END-EPOCH-SECONDS} calculate the number of seconds since the 01-01-1970(for advanced users) 1509940041  End Epoch Seconds
{FORMFIELDS} This pulls all the fields from the booking form First Name: John
Last Name: Doe
Phone Number: 123456789
Email: john@doe.com
n/a
{ID}  The YouCanBook.Me identifier for this booking (rarely used by calendar owners)  c0019520-ecad-457b-a7cc-b4ecaee44320  ID
{LOCATION} The location from your Calendar event 123 Main St, Everytown, ST 12345 123 Main St, Everytown, ST 12345
{IP}  The IP address that the booking was made from  192.168.64.132  IP address the booking was made from
{REF}  The booking reference  ABCD-EFGH-IJKL  the booking reference
{REF-NO-DASHES} The booking reference with no dashes inserted ABCDEFGHIJKL Ref No Dashes
{SERVICE-NAME}
{SERVICE-DESCRIPTION}
{SERVICE-IMAGE} 
When using our Appointment Type feature, these quote the information for the selected service  Initial Consultation  Appointment Type name
n/a
n/a
{SERVICE-NAME-NO-GROUP}  When using our Services feature, these quote the information for the selected service, but without the Group name if it is broken down in groups  Initial Consultation  n/a
{START}  The start date and time and time zone   April 4, 2013 12:00 PM (US/Eastern)  start date/time of the booking
{START+60}  Adjust the start (or end) time by a set number of minutes (plus or minus). Useful if you need to quote, for example, the time ahead of the start of the appointment that the booker should arrive.  April 4, 2013 11 AM    n/a
{START-BOOKER}
{START-DATE-BOOKER}
{START-TIME-BOOKER}
{START-BOOKER-ISO-8601}    
When viewed by person making the booking (e.g. in the 'email to user'), these are the same as above. But when the calendar owner views these ('email to you'), these are converted to report the equivalent time for the other party.  April 4, 2013 12:00 PM  start time (in booker's timezone)
start time (in booker's timezone)
start time (in booker's timezone)
Start Booker Iso 8601


{START-FORMAT-h:mm a} The start date and time in 12-hour format Friday, May 19, 2017 4:00 PM n/a
{START-FORMAT-HH:mm} The start date and time in  24-hour format Friday, May 19, 2017 16:00  n/a
{START-DATE}  Just the date part  April 4, 2013  start time/date of the booking
{START-DATEINMONTH}  The date of the start time  n/a
{START-DAY}  The day of the start time  Thursday  n/a
{START-EPOCH-MILLISECONDS} calculate the number of seconds since the 01-01-1970 (for advanced users) 1.50993E+12 START EPOCH MILLISECONDS
{START-EPOCH-SECONDS} calculate the number of seconds since the 01-01-1970 (for advanced users)  1509929241  START EPOCH SECONDS 
{START-FORMAT-yyyy-MM-dd},  To have the start time/date appear in a particular pattern. In this example, a four digit year followed by two digit month and date. You can use any pattern characters  documented here. 2014-06-18  n/a
{START-HOUR}  The hour of the start time  13  n/a
{START-ISO-8601}  The start time formatted to the ISO 8601 standard  2015-01-23T08:00:00+0000  Start Iso 8601
{START-MINUTE}  The minute of the start time  15  n/a
{START-MONTH}  The month of the start time  April  n/a   
{START-MONTHINYEAR}  The number of month of the start time  n/a
{START-SALESFORCE}  The start time formatted as the Salesforce API expect them  2/4/2013 1:30 PM  n/a
{START-TEAM}
{START-DATE-TEAM}
{START-TIME-TEAM}
Sometimes the team member is in a different zone to both the calendar owner and the person making the booking.  April 4, 2013 12:00 PM  n/a
{START-TIME}  Just the time part  3:30 PM  n/a
{START-YEAR}  The year of the start time  2013  n/a   
{TEAM-NAME}
{TEAM-DESCRIPTION}
{TEAM-EMAIL} 
{TEAM-IMAGE}

When using our Teams feature, these quote the information for the selected team member  Dr Sue Smith  Team Name
Team Description     
Team Email
n/a

{TIMEZONE}  The base time zone for the booking  USA/Pacific  Timezone
{TIMEZONE-BOOKER}  The time zone for the person making the booking  Europe/Paris  timezone for booker
{PROFILE-TITLE} The booking page title (found on General) Title n/a
{PROFILE}

inserts the link of the booking profile https://xxxxx.youcanbook.me https://xxxxx.youcanbook.me
{PROFILE-ID} inserts the profile id 9c40c2ad-2e68-45cd-9a75-2a7a28c43d99 n/a
{UNITS} 
The selected number of bookable units  number of units booked
{URL} The URL of the booking profile https://xxxxx.youcanbook.me n/a
{TITLE} The calendar event title (same as {BOOKING-TITLE}
{TYPE-NAME}
{TYPE-DESCRIPTION}
{TYPE-IMAGE}
When using our Appointment Type feature, these quote the information for the selected service  Initial Consultation Appointment Type name
{CANCELLATION-CODE} This is the code generated by your booker when they initial the booking code 179B2C 179B2C
{CANCELLATION-REASON} This is the reason your booker provided for cancelling the booking Sorry I'm sick, I will reschedule. Sorry I'm sick, I will reschedule.
{CANCEL-LINK} This shorthand code triggers a cancellation from the booker, allows you to translate the text around the raw link https://xxxxx.youcanbook.me?c=12345675849 n/a
{OWNER-CANCEL-LINK} This shorthand code triggers a cancellation from you, allows you to translate the text around the raw link https://xxxxx.youcanbook.me?oc=12345675849 n/a
{RESCHEDULE-LINK} This shorthand code triggers a reschedule from the booker, allows you to translate the text around the raw link https://xxxxx.youcanbook.me?r=12345675849 n/a
{OWNER-RESCHEDULE-LINK} This shorthand code triggers a reschedule from you, allows you to translate the text around the raw link https://xxxxx.youcanbook.me?or=12345675849 n/a
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.