With the OneSignal integration, you can create and send OneSignal push notifications using workflows, view push notifications on contacts' activity timelines, and segment users based on engagement with push notifications
In your HubSpot account, click the marketplaceMarketplace icon in the main navigation bar, then select App Marketplace.
Use the search bar to locate and select the OneSignal integration.
In the upper right, click Install app.
Log in to your OneSignal account.
In the pop-up box, enter your Application ID and API key from your OneSignal account.
If needed, click Add application to add another application.
Click Install app.
You will be redirected to the Connected apps page.
Match your OneSignal user to your HubSpot user
The integration requires matching your OneSignal user to HubSpot contacts. Users have two options for matching:
By email address: users need to use OneSignal's setEmail function using their SDK to associate OneSignal users with email addresses. This matching option is only available for the Send OneSignal notification workflow action.
By OneSignal external_user_id: users will need to select the HubSpot contact property they want to match with the external_user_id in OneSignal. To do so:
In your HubSpot account, click the Marketplace iconmarketplace in the main navigation bar. Under Manage, select Connected apps.
Click Contact Matching.
From the dropdown menu, select the HubSpot contact property you want to use for matching with the OneSignal external_user_id property. This matching option is available for both the Send OneSignal notifications and Edit OneSignal tags workflow actions.
Automate OneSignal push notifications
You can automate sending OneSignal push notifications using workflows.
In your HubSpot account, navigate to Automation > Workflows.
In the top right, click Create workflow.
In the left panel, select Contact-based and click Next in the top right.