You can create automation rules to send notifications on a trigger such as a device entering or exiting a Geofence.
To add, edit and delete Automation rules for an app, click on the app and then from the app dashboard for that app, expand push from the left menu and select "Automation".
To Edit or Delete an Automation, click the context menu next to that Automation and select "Edit" or "Delete" as appropriate.
Click the primary action button to add a new Automation and set the trigger, target and action.
Give the automation a meaningful name to describe the rule (e.g. what campaign it is part of) and select the trigger - the event that will cause the automation to fire.
Currently supported triggers are when a Geofence is entered and when a Geofence is exited. However, additional triggers will be available soon, including time spent within a Geofence.
Toggle whether the automation is to be enabled (toggling this off provides a quick way to temporarily disable automations) and select whether the automation "Runs indefinitely" or "Within specified dates" only.
Click Next when ready.
Now define the target of the automation. Should the automation target any install (all subscribers) or only a specific segment or channel.
Click Next when ready.
Finally, define the action that is to be taken. Currently, the only action supported is to Send a push notification. However, additional actions will be available soon including executing an API method or triggering a webhook.
Sending a notification¶
To send a push notification when the automation rule is triggered, define the content of the notification and any other options (e.g. URL) and click Save to add the automation rule.
The options for the push notification are exactly the same as when sending a notification manually from your agency console. However, keep reading for a brief overview of what these are.
If you want the notification to appear in the foreground, add a title and a message. Use the emoji pickers to add emojis to your title and message as required. However, please note that Kumulos supports Emoji v4.0 / Unicode version 9.0 which is fully supported in iOS 10.3 and Android v7. Older versions of iOS and Android may not support all emojis available. See Emojipedia for more details of what emojis are supported in which versions.
To send a notification that can be processed in the background, toggle the "Background Push" switch. The title & message become optional, and can be omitted to create a silent push.
On iOS this will set the
content-available flag on the notification.
Open a URL¶
To open a URL when the push notification is tapped by the user, toggle the "Open URL" switch and enter the URL you want to open.
Ensure that you have reviewed the appropriate SDK integration guides to support URL push
To add an arbitrary meta-data object to the push notification, toggle the "Data" switch and enter a valid JSON object into the editor. Additional data can be consumed by the SDK, please refer to the platform integration guides for further information.
To set the badge on your app on iOS, toggle the "Set Badge" switch. By clicking on "Badge Type" you can choose whether to set the badge to the absolute number you enter in "Count" or to Increment the badge by the positive or negative number you enter in "Count".