Templates
OneSignal Reusable Push Notification, SMS, and Email Templates
Templates are reusable designs for push notifications, emails, and SMS. They support liquid syntax for Message Personalization and can be created through the OneSignal dashboard or using the Create template API.
Templates can be transferred between OneSignal apps with the Copy template to other app API.
Email Templates can be created quickly with Email Template Forwarding.
Sending Messages using Templates
To send a message using an existing template, click the Options button (three dots), and click New Message.
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.
Template Stats
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.
Column | Details |
---|---|
Name | Name of the template. |
Type | Push, Email, or SMS. |
Sent | The number of subscriptions in which this template was delivered. For example, if you send the template once but target 793 subscriptions, it will show 793. |
Opened | Push: 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. |
Clicked | Push: Not Applicable. Email: The total number of times a link in the email was clicked. SMS: Not Applicable. |
Conversion | (Opened / Sent) x 100% |
FAQ
Where is the template id?
The template_id
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 de6cd3b0-b835-43e7-b554-acdae9e824e5
.
Can I duplicate templates across apps?
Yes, there is the Copy template to other app API and Email Template Forwarding.
Updated 9 months ago