External integrations: BPortal, n8n, OneBox, eSputnik, Cascade, Briflyx, Firebase, Planfix
The External Integrations section connects your organization in SMSBAT Omni to other services: CRM and automation systems, the Cascade message API, push notifications for your mobile app and others. Every integration is set up per organization: choose the organization first, then add the connection data.
This page explains where the section is, how to connect each integration and what the statuses mean. API keys for your own developers are created separately, see How to create and manage API keys.
Where to find integrations
- In the left menu of omni.smsbat.com open Integrations.
- Click External Integrations. The Integrations page opens.
The page has two parts:
- On the left: the Organization selector and the list of integrations. The first organization is selected automatically.
- On the right: the settings of the integration you clicked in the list, for the selected organization.
The list contains eight integrations:
| Integration | What you set up | How many per organization |
|---|---|---|
| BPortal | Domain, address and token | Several |
| n8n | Address, login and password | One |
| OneBox | Four OneBox addresses, login and password | One |
| eSputnik | Viber bot, session check and keyboard | One |
| Cascade | Bots, sender names and keyboards per trigger channel; callback URL | One per trigger channel; one callback URL |
| Briflyx | Token with an expiry date and a link prefix | Several |
| Firebase | Your mobile app and its service account file | Several |
| Planfix | Webhook URL and token | One |
When an integration allows only one connection, the Create button disappears after you add it. To connect it again, edit or delete the existing one.
If the selected organization has no connection yet, the table shows No suitable data.
Common actions
- Create (top right) opens the form for a new connection.
- Delete: press the bin icon in the row, then Confirm in the confirmation window. For n8n the window asks “Are you sure you want to remove?”.
- After a successful action you see Successfully was created, Successfully was updated or Successfully was deleted.
On a phone, most integrations show each connection as a card with the same data and buttons.
BPortal
-
Choose the Organization and click BPortal in the list.
-
Press Create and fill in the form:
Field What to enter Domain The BPortal domain. Optional. Url The address of the connection. Required. Token The access token. Required. -
Press Create. The button stays inactive until Url and Token are filled in.
The table shows Organization Name, Domain, Url and Token. To change a connection, click the pencil icon in the Edit column, change the values in the row and press the ✓ icon. You can add several BPortal connections to one organization.
n8n
- Choose the Organization and click n8n.
- Press Create and fill in Url, Login and Password. All three are required.
- Press Create.
The table shows Organization Name, Url, Login and Password. Edit the row with the pencil icon in the Edit column and save with ✓. Only one n8n connection per organization is possible.
Warning
The n8n password is shown in the table as plain text. Anyone who can open this page sees it.
OneBox
-
Choose the Organization and click OneBox.
-
Press Create and fill in the form:
Field What to enter Domain Your OneBox domain. Get token URL The OneBox address for getting a token. Required. Set chat URL The OneBox address for creating a chat. Required. Set chat messages URL The OneBox address for sending chat messages. Required. Get contract URL The OneBox address for getting a contact. Required. Credentials: Login, Password The OneBox user the integration signs in as. Required. -
Press Create.
In the Actions column of the table:
- the eye icon opens the settings below the table for viewing (the password is shown as
********); - the pencil icon opens them for editing: change the values and press Update, or Cancel;
- the bin icon deletes the connection.
To save changes, all fields including Domain must be filled in. Only one OneBox connection per organization is possible.
eSputnik
-
Choose the Organization and click eSputnik.
-
Press Create and fill in the form:
Field What to enter Viber bot One of the organization’s Viber bots. Required. Check bot session Leave it on. The connection cannot be created when it is off. Keyboard Optional buttons for the bot in JSON. Press Open editor to build the keyboard visually. -
Press Create.
The table shows Organization Name, Bot, Keyboard and Check bot session. For a keyboard, press View to see a preview or the copy icon to copy its code. Use the pencil icon to change the connection (save with Save) and the bin icon to delete it. Only one eSputnik connection per organization is possible.
If the Viber bot list is empty, connect a Viber bot to the organization first, see Viber bots.
Cascade
The Cascade integration stores the settings that the Cascade API uses for your organization. It has two tabs: Settings and Callback URL.
Settings tab
-
Choose the Organization, click Cascade and stay on the Settings tab.
-
Press Create and fill in the form:
Field What to enter Trigger channel Viber, SMS or Viber & SMS. Required. Viber bot block Viber bot, Keyboard - Viber (optional, with Open editor) and Check bot session. Viber Business The Sender name for Viber Business. Required when the trigger channel is Viber or Viber & SMS. SMS The Sender name for SMS. Required when the trigger channel is SMS or Viber & SMS. Telegram block Telegram Bot and Keyboard - Telegram (optional, with Open editor). A keyboard can be saved only together with its bot: if you fill in Keyboard - Viber, choose a Viber bot; if you fill in Keyboard - Telegram, choose a Telegram Bot. Otherwise you see Field is required.
-
Press Create.
Each trigger channel can have one configuration. Viber & SMS covers both channels, so it can be chosen only when the organization has no other configuration, and after it no more configurations can be added.
The table shows Trigger channel, Viber bot, Keyboard, Check active Viber session, Viber Business, SMS, Telegram bot and Keyboard. Use the pencil icon to change a configuration (Update) and the bin icon to delete it.
Callback URL tab
Here you set the address where SMSBAT sends delivery results for Cascade messages, see Delivery callbacks.
-
Open the Callback URL tab and press Create.
-
Fill in:
Field What to enter Url The full address starting with http://orhttps://, up to 2048 characters. Required.Header name Optional HTTP header added to every callback, for example for authorization. Header value The value of that header. -
Press Create.
The table shows Url, Header name, Header value and Created At. One callback URL per organization is possible; edit it with the pencil icon (Update) or delete it.
Briflyx
-
Choose the Organization and click Briflyx.
-
Press Create and fill in:
Field What to enter Token expiration date (optional) The last day the token works. “If left empty, the token will be valid for 365 days from creation.” The date must be in the future. Link prefix Optional link prefix. -
Press Create. A window with the new Token opens.
-
Press the copy icon next to the token and save it. “This token is shown only once.”
-
If a Briflyx personal cabinet was created for you, the same window shows its Login and Password and the link Open your Briflyx personal cabinet. Copy them too: they are also shown only once.
The table shows Status, Expired at, Link prefix, Deactivated at and Created At. For an Active connection:
- Test checks the connection. If it works, you see “Integration is working correctly”.
- The power icon deactivates it (confirm with Confirm). The message Successfully was deactivated appears.
| Status | Meaning |
|---|---|
| Active | The token works. |
| Inactive | The connection was deactivated. |
| Failed | The connection has an error. |
There is no button to turn a deactivated connection on again. If you need it, create a new one.
Firebase
Firebase connects your own mobile app to SMSBAT push notifications. The full setup for developers is described in Set up a mobile app for push notifications and in the Push API.
-
Choose the Organization and click Firebase.
-
Press Create and fill in:
Field What to enter Name The name of your app. Required. Service account JSON Press Choose and select the JSON key file of the Firebase service account. Required. “You can get this in Firebase Console → Project Settings → Service accounts → Generate new private key”. -
Press Create. A window with the app Token opens.
-
Copy the token and pass it to your mobile developers. “This token is shown only once.”
The table shows Name, Project ID, Status and Created At, and three buttons:
- Edit (pencil): change Name, upload a new Service account JSON (“Leave empty to keep the current credentials”) or set Status to Active or Deactivated. Save with Save.
- Rotate token (arrows): creates a new token. “Rotating the token immediately invalidates the old one. The mobile app using the old token will stop working.” After Confirm, the new token is shown once.
- Delete (bin): “This will delete the app along with all its installations and notifications.”
| Status | Meaning |
|---|---|
| Active | The app is connected. |
| Deactivated | The app is turned off in the settings. |
| Requires attention | There is a problem with the app. The error text is shown under the status. |
Planfix
The connection on the Planfix side is described in Planfix integration.
-
Choose the Organization and click Planfix.
-
Press Create and fill in:
Field What to enter Webhook URL The https://address of your Planfix webhook, without a login or password inside it. Required.Token The Planfix token. Required. -
Press Create.
The table shows the Webhook URL (with a copy icon) and the Token status: Connected if a token is saved, Not connected if not. The token itself is never shown.
To change the connection press the pencil icon. Leave Token empty to keep the saved token, or enter a new one, and press Update. Only one Planfix connection per organization is possible.
Common questions
I don’t see the settings on the right. Choose an organization in the Organization selector and click an integration in the list.
The Create button is missing. This integration already has a connection for the selected organization (n8n, OneBox, eSputnik, Planfix, the Cascade callback URL) or all Cascade trigger channels are taken. Edit or delete the existing connection.
I closed the window and did not copy the Briflyx or Firebase token. The token cannot be shown again. For Firebase, use Rotate token. For Briflyx, deactivate the connection and create a new one.
Planfix shows “Enter a valid HTTPS URL without credentials”.
The Webhook URL must start with https:// and must not contain a login or password.
The eSputnik Create button is inactive. Choose a Viber bot and turn on Check bot session.
I can’t save the OneBox settings. All fields must be filled in, including Domain and Password.