Email Templates

Table of Contents

  1. How do email templates work?
    1. !! Please don’t rename or delete templates !!
  2. Editing a template

How do email templates work?

Quite simply, there are a lot of standard emails sent by the system to workers. This allows these templates to be edited. Easy!

Templates are written in Markdown, and support both the ability to add buttons and to have merge fields. Press the save button to save, but it also auto-saves when you change templates!

!! Please don’t rename or delete templates !!

Editing a template

Super Admins can edit templates. Access the system admin console, scroll right to the bottom and then choose email templates.

  1. Select the template you want to change

  2. Edit the template using Markdown. The available merge fields for each template are listed below. Merge fields can be used by referencing $field_name in the text. Buttons are written using the format ``. A list of available merge fields is also available when editing a template.

Template Merge Fields Definition
Budget Approval $event_name Name of the event this approval is for
  $approve_user User being contacted for approval
  $total_amount Estimated cost of event.
  $budget_code The budget code for this event
  $percentage Percentage variance allowed for finalisation
  $hours Duration of event
  $workers How many workers at the event
  $acceptLink The link to approve this budget
  $rejectLink The link to reject this budget
Budget Re-approval $event_name Name of the event this approval is for
  $approve_user User being contacted for approval
  $total_amount Total cost of event.
  $budget_code The budget code for this event
  $predicted_amount Approved cost of event.
  $percentage Percentage variance between approved and total
  $acceptLink The link to approve this budget
Password reset $token The Password Reset token
Cancelled - No Replacement $event_lead Named Event lead
  $cancelled_worker The name of the cancelled worker.
  $job_name The name of the job the worker was doing
  $event_name The event name
  $workers List of workers allocated to your job.
  $event_link A link to the event page.
Cancelled - Replaced $event_lead Named Event lead
  $cancelled_worker The name of the cancelled worker.
  $replacement The name of the replacement worker.
  $job_name The name of the job the worker was doing
  $event_name The event name
  $workers List of workers allocated to your job.
  $event_link A link to the event page.
Staff allocation $staff Allocating member of staff
  $job_name The name of the job
  $event_name The event name
  $workers List of workers allocated to your job.
  $event_link A link to the event page.
  $start Start time of the event
  $end End time of the event
  $lead Name of the event lead
  $briefing_time Time for the briefing.
  $briefing_location Where is the briefing held
  $notes Any notes attached as a briefing.
Allocated to work $myWorkLink Link to the my work section
  $job The name of the job
  $event The event name
  $start Start time of the event
  $end End time of the event
  $lead Name of the event lead
  $briefing_time Time for the briefing.
  $briefing_location Where is the briefing held
  $notes Any notes attached as a briefing.
Tier 4 Warning $worker_name The name of the worker
  $time The time the worker needs to sign out.
  $event_link The link to the event page.
Tier 4 Blocked $worker_name The name of the worker
  $event The event the worker was stopped from working
  $event_link The link to the event page.
Tier 4 Escalation $worker_name The name of the worker
  $time The time the worker needs to sign out.
  $event_link The link to the event page.
User Update $name The name of the user.