Sendgrid & Twilio Handlebars
The following documentation is a high level overview of the NHM Sendgrid email tool including Handlebar resources.
Creation Date: January 31, 2023
Created By: Cristina Rosales
View most recent version on Tango (opens in a new tab)
1. Go to SendGrid
Go to the following link: https://app.sendgrid.com/login?redirect_to=https%3A%2F%2Fmc.sendgrid.com%2Fdynamic-templates (opens in a new tab)
2. NHM is using Dynamic Templates to build emails
3. The Templates listed are our current emails
-
ACME Order Confirmation - Sent when buyers purchase tickets to any events
-
ACME Order Rebook - Sent when buyers are rebooked to a different event or date
-
ACME Order Cancellation - Sent when an order is refunded
-
ACME Order Cancellation with Cancellation Message - Sent when an event is cancelled and a mass email is selected to send (this is different than the automatic email upon updating an event time with orders)
-
ACME Test 2, ACME Test 3 and ACME Order Cancellation w/ Message Sandbox - Sent in the sandbox environment for testing purposes
4. To view a template and make edits, click on a template line
5. When you are done testing and viewing your edits, save your changes. Note, these changes will be immediately updated to the email.
In the image below, the HTML editor is to the left and the example email is to the right (this previews what the customer will see)
6. Twilio uses their own version of Handlebars. It has slight differences to the original Handlebars language. Due to these differences it is best to use the Twilio Handlebars documentation as regular Handlebars is not always supported.
Sendgrid ACME Documentation: https://support.acmeticketing.com/support/solutions/folders/33000214842 (opens in a new tab)
Sendgrid Handlebars Documentation: https://docs.sendgrid.com/for-developers/sending-email/using-handlebars (opens in a new tab)
7. To view the ACME configuration email settings, click on Settings
8. Click on Administration
9. Click on EMAIL
10. The sections circled in orange below (Single Order Email Templates and Bulk Email Templates) are the plugin locations for Sendgrid Email configurations.
Currently, only Order Confirmation, Order Refund, Order Rebook, Event Cancelation, and Event Reschedule are connected to Sendgrid email templates. To add a different email template simply copy the template ID from Sendgrid and paste it into the appropriate email template type.