OneSignal

Use GrowthLoop journeys to trigger OneSignal push templates.

Connect this destination to trigger a OneSignal push template from a journey Destination Node, for use when someone reaches that node.

This destination writes to your OneSignal account and is a good fit when you want to:

  • Have a OneSignal push template ready to send
  • Match contacts on a subscription ID

This maps to GrowthLoop Journeys:

Use it forJourneys
Triggering a OneSignal push template

This destination triggers push from journeys. It does not write OneSignal segments from an audience export.

Prerequisites

Make sure you have:

  • A OneSignal account and app. See OneSignal if you need to create one.
  • Your App ID and App API Key. In OneSignal, open Settings > Keys & IDs.
  • At least one push template in that app.
  • A field that stores a valid OneSignal Subscription ID.

Set up OneSignal as a destination

  1. In GrowthLoop, click the Destinations tab on the left sidebar.
  2. Click New Destination in the top right corner.
  3. Search for OneSignal and click Add OneSignal.
  4. Enter the required information, then click Create.
OneSignal destination setup form with App ID and App API Key
FieldDescription
Destination NameName this destination in GrowthLoop. Use a name so your team recognizes its purpose, like "OneSignal Push".
Sync FrequencySet the default export frequency (for example, daily or weekly). You can override this setting for individual journeys.
App IDOneSignal App ID from Settings > Keys & IDs.
App API KeyOneSignal App API Key from Settings > Keys & IDs.

GrowthLoop validates the connection by loading templates for that app. OneSignal then appears in your list of connected destinations.

Export to OneSignal

From within GrowthLoop, export from a journey Destination Node. See Build a journey if you need more information on these steps.

Add a Destination Node under Push and select OneSignal. Choose Send Push.

OneSignal Destination Node configured to send push with a subscription ID and template

Map identifiers

Map Subscription ID. This field is required.

Configure the export

On a journey Destination Node, you set timing on the journey canvas.

SettingJourney Destination Node
Export actionSend Push.
Subscription IDField that holds the OneSignal subscription ID.
Push TemplateOneSignal template to trigger.
Template VariablesOptional. Map GrowthLoop fields to variables from message.custom_data on the template.
Send Test PushOptional. Enter a test Subscription ID and send a test notification before you publish.
Campaign typeThe journey schedule controls when the journey runs and contacts are sent to OneSignal.
ScheduleUsers reach this node when the journey runs. Add a Delay Node or set Criteria Evaluation to control timing.
Journey canvas with a configured OneSignal push Destination Node

Export behavior

This is what GrowthLoop writes when users reach the Destination Node.

BehaviorWhat happens
What GrowthLoop writesA OneSignal push send for the selected template. Direction is GrowthLoop → OneSignal.
When it runsJourneys send exports on demand when users reach the Destination Node.
Match fieldSubscription ID.
TemplateGrowthLoop triggers the template you selected. Mapped template variables go to OneSignal as custom data.
Audience membershipGrowthLoop does not create or update a OneSignal segment.
DeletesGrowthLoop does not delete OneSignal subscriptions.

Confirm the export was successful

When the run finishes, confirm you can use the data in OneSignal.

  • Journey Destination Node: Open the message or delivery log for the template and look up the send. Confirm the push arrives on a device for a contact who reached the node.

In GrowthLoop, open the Activity tab on the journey Destination Node. See Monitor a journey for more information.

Congrats on successfully exporting to OneSignal!

Troubleshooting

These are the issues we see most often. You can always email us at [email protected] for help.

ProblemCauseResolution
Connection fails to validateApp ID or App API Key is wrongCopy both values from OneSignal Settings > Keys & IDs
Push Template is emptyThe app has no templates, or the key cannot list themCreate a push template in that OneSignal app and reconnect
The push does not arriveSubscription ID is missing or does not match a deviceMap a valid Subscription ID and send a test push to that ID
An audience export failsThis destination only supports journey Send PushAdd a Destination Node under Push and choose Send Push

What’s Next

Build a journey after you connect a destination

Did this page help you?