How To Set Up Email Notifications for Staff
If you would like to set up email notifications on a new booking or a purchased membership, here is how you do it:
- You will first go to "Settings" > "Manage Integrations", located at the bottom of the page
- Then click "Create a new Integration"
- Select a Name for your new integration. In this example we will call it 'Trackman Support Notification'
- Set the type to "Notify"
- Once this has been set, it will open another window where you will see your chosen name displayed
- Under "Event Type", select either "booking-paid" or "booking-cancelled"
- Under "Trigger Flags", create a flag and add it to "Trigger Flags" as well as to all relevant bay options.
- In the example below, the flag "Notify" has been created and added.
- This will then enable the notifications to work.
Customize Email Content
You can now customize the email content using the following code blocks:
You got a booking
<ul>
<li>{{#if booking.bay}} For {{booking.bayOption.name}} on bay: {{booking.bay.ref}}{{else}}{{booking.courseOption.name}}{{/if}}</li>
<li>Booking time: {{booking.start}} – {{booking.end}}</li>
<li>Customer name: {{booking.user.firstName}} {{booking.user.lastName}}</li>
<li>{{booking.user.email}}</li>
</ul>
Membership has been paid
User {{user.firstName}} {{user.lastName}} ({{user.email}}) has paid membership.<br><br>
Membership type: **{{membership.type.name}}**<br>
{{membership.id}}<br>
{{membership.type.name}}<br>
{{membership.pricingConfig.price}}<br>
{{membership.nextBillingDate}}<br>
Venue: {{venue.name}}