To create a new or edit a template, copy an existing out-of-box template or another custom template for an event.
Edit Template
The Edit Template screen shows the Template Components from the copied template, The header indicates it's a custom template.
...
Both Subject and Body will be able to reference the payload object related to an event. Using the shorcuts, you will be able to access all the data associated to an event using the variable $payload. Below table shows the Events and associate payload objects.
...