Templates

OneSignal Reusable Push Notification, SMS, and Email Templates

Templates are reusable designs for push notifications, SMS, and emails. 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).

11541154

Create Templates

To create a new template, click the New Push Template, New SMS Template, or New Email Template button. This brings you to a page identical to the Push, SMS, or Email Creation page, but instead of sending a message, you are modifying options to create a template.

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

824824

Sending Messages using Templates

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

191191

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.

825825

Column

Details

Type

Push, SMS, or email.

Sent

The 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.

Opened

The unique number of times the push or a link in the email was clicked.

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

Did this page help you?