Templates

OneSignal Reusable Push Notification, SMS, and Email Templates

Templates are reusable designs for push notifications, emails, and SMS. They do support liquid syntax for Message Personalization.

The Templates page shows the list of templates you have created, and basic statistics on their performance (notifications opened and sent).

17221722

Create Templates

To create a new template, click New Template and select the channel-type from the dropdown. This brings you to a page identical to the Sending Message Create Form, but instead of sending a message, you are creating a reusable template.

Templates may also be created by duplicating templates from the Templates page:

17221722

Sending Messages using Templates

Once you've created a template, to send it using that template click the Options button and click New Message.

284284

This will pre-populate the template options you've set into a new message. You can override these options (such as changing text, an icon, etc) when creating a message, by simply filling in different options. For details on these options, see:

Using templates to track performance of recurring messages

Whenever you send a message with a template, its overall performance is tracked by OneSignal in the Templates page of your Dashboard.

Best practice is to have different templates for each use case so you can monitor how well your template campaigns are converting.

16221622
ColumnDetails
NameName of the template.
TypePush, Email, or SMS.
SentThe number of devices in which this template was delivered. For example, if you send the template once but target 793 devices, it will show 793.
OpenedPush: The unique number of times the push was clicked leading to app open.
Email: The total number of times the email was opened.
SMS: Not Applicable at this time.
Conversion(Opened / Sent) x 100%

FAQ

Where is the template id?

The template_id used in the Create notification API is taken from the URL of the template when editing it. It is in the standard UUID format.

In this case, the template_id is 701205bc-0cbf-45c5-ac4c-a57ba966a7e0

21082108

What’s Next