Sync custom events from Google Pub/Sub to OneSignal to trigger automated Journeys and personalized messaging campaigns based on real-time user behavior.
Create Pub/Sub connection
Grant permissions to service account
roles/pubsub.editor
role to this service account on your GCP project:Test connection
Navigate to event schema definition
Define event message schema
OneSignal Field | Description | Required | |
---|---|---|---|
name | event_name | Event identifier | Yes |
external_id | user_id | User identifier | Yes |
timestamp | event_timestamp | When event occurred | No |
properties | event_data | No |
roles/pubsub.editor
permissions at project level