This service is available for all plans. It will allow you to define your own push templates that can be afterwards used to send push notifications. This is only accessible from the dashboard and it is not a mandatory step but recommended if you want to create interactive push notifications. Creating templates will accelerate the way you compose messages, as well as it will allow you to use lock screen actions in notifications for both iOS and Android.
To access these pages, expand the Settings menu and click in Services like shown below:
Then you should click the Configure button in the Website Push box:
Please note that before you finish successfully this setup, this service will show the Inactive sign. While inactive you will not be able to send browser notifications at all.
To start creating templates, click in the button New Template. This will open a window like this:
To create a template you need to at least provide a name and a notification type for your template. Adding a description or actions is optional.
Go ahead a insert a name for your template:
Add a descriptive text for your template. The description will be used throughout the dashboard to help your team identify and understand what a template is suppose to be used for:
Each notification content is bound to a certain type, select the notification type you would like to use for this template. To learn more about notification types, please read our composer guides here.
To make this template actionable, add one or more action from our list of available actions. Adding actions in notifications will create interactive alerts in your app. These actions will be shown in device's lock screen or in Chrome's native notifications. To learn more about actions read our guide located here:
To add actions you need to select the action type and click in the Add Action button:
This will add a new action to the list, that looks like this:
It is mandatory to insert always a label for your action. This will be the text used in the button:
Depending on the action you've selected, the target may or may not be used. Please refer to the notification's actions guide located here.
For actions of type Response you may check the box Open Keyboard if you the user to be presented with means to take provide text input and sent it back as a reply to the notification.
For actions of type Response you may check the box Open Camera if you the user to be presented with means to take a picture and sent it back as a reply to the notification.
You can also define your action as a destructive one, this means that depending on the platform it may have a different appearance than a regular action. It will also be an action that its sole purpose will be to dismiss the notification without any other functionality.
Finally you should click in the Create button to actually create the template.
At this point your service will also show as Active in the Services list:
You can also, at any time, edit a template by clicking on it. It will prompt you with a modal window that allows you to edit it.
Also you can easily remove templates by clicking in the cross icon on the top right corner of each template.
Please remember that every time you change these templates the app will need to be launched again in order for these changes to be visible, therefore, make sure you create all the templates you need BEFORE you put your app in production.