Odoo OneSignal integration

OneSignal Connector

Web push from your Odoo website, sent when you decide.

OneSignal and Odoo 19

What it does

Visitors subscribe to push notifications on your Odoo website. You write pushes in Odoo and send them to OneSignal segments, chosen customers or everyone, now or later. Order and delivery pushes go out only for the rules you switch on.

You paste the App ID and App API key of your OneSignal app and choose the website. Odoo adds the OneSignal Web SDK to the website pages and serves the OneSignalSDKWorker.js file at the site root, so visitors get the subscribe prompt you set up in OneSignal. A visitor who is logged in is linked to their Odoo contact through a random External ID.

A push in Odoo has a title, a message, an optional image and link, and up to two buttons. You send it to OneSignal segments (and leave others out), to contacts you pick, or to everyone subscribed, at once, at a date and time, or at the same local time in every time zone. Delivered, clicked, failed and waiting counts come back from OneSignal.

Nothing is sent by itself. A push leaves Odoo only when an administrator presses Send. Automatic pushes for a confirmed order, a delivery with its tracking number or a cart left on the website are off until you switch them on, and each one goes only to the customer of that order.