Help Center External integrations: BPortal, n8n, OneBox, eSputnik, Cascade, Briflyx, Firebase, Planfix

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

  1. In the left menu of omni.smsbat.com open Integrations.
  2. 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:

IntegrationWhat you set upHow many per organization
BPortalDomain, address and tokenSeveral
n8nAddress, login and passwordOne
OneBoxFour OneBox addresses, login and passwordOne
eSputnikViber bot, session check and keyboardOne
CascadeBots, sender names and keyboards per trigger channel; callback URLOne per trigger channel; one callback URL
BriflyxToken with an expiry date and a link prefixSeveral
FirebaseYour mobile app and its service account fileSeveral
PlanfixWebhook URL and tokenOne

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

  1. Choose the Organization and click BPortal in the list.

  2. Press Create and fill in the form:

    FieldWhat to enter
    DomainThe BPortal domain. Optional.
    UrlThe address of the connection. Required.
    TokenThe access token. Required.
  3. 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

  1. Choose the Organization and click n8n.
  2. Press Create and fill in Url, Login and Password. All three are required.
  3. 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

  1. Choose the Organization and click OneBox.

  2. Press Create and fill in the form:

    FieldWhat to enter
    DomainYour OneBox domain.
    Get token URLThe OneBox address for getting a token. Required.
    Set chat URLThe OneBox address for creating a chat. Required.
    Set chat messages URLThe OneBox address for sending chat messages. Required.
    Get contract URLThe OneBox address for getting a contact. Required.
    Credentials: Login, PasswordThe OneBox user the integration signs in as. Required.
  3. 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

  1. Choose the Organization and click eSputnik.

  2. Press Create and fill in the form:

    FieldWhat to enter
    Viber botOne of the organization’s Viber bots. Required.
    Check bot sessionLeave it on. The connection cannot be created when it is off.
    KeyboardOptional buttons for the bot in JSON. Press Open editor to build the keyboard visually.
  3. 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

  1. Choose the Organization, click Cascade and stay on the Settings tab.

  2. Press Create and fill in the form:

    FieldWhat to enter
    Trigger channelViber, SMS or Viber & SMS. Required.
    Viber bot blockViber bot, Keyboard - Viber (optional, with Open editor) and Check bot session.
    Viber BusinessThe Sender name for Viber Business. Required when the trigger channel is Viber or Viber & SMS.
    SMSThe Sender name for SMS. Required when the trigger channel is SMS or Viber & SMS.
    Telegram blockTelegram 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.

  3. 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.

  1. Open the Callback URL tab and press Create.

  2. Fill in:

    FieldWhat to enter
    UrlThe full address starting with http:// or https://, up to 2048 characters. Required.
    Header nameOptional HTTP header added to every callback, for example for authorization.
    Header valueThe value of that header.
  3. 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

  1. Choose the Organization and click Briflyx.

  2. Press Create and fill in:

    FieldWhat 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 prefixOptional link prefix.
  3. Press Create. A window with the new Token opens.

  4. Press the copy icon next to the token and save it. “This token is shown only once.”

  5. 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.
StatusMeaning
ActiveThe token works.
InactiveThe connection was deactivated.
FailedThe 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.

  1. Choose the Organization and click Firebase.

  2. Press Create and fill in:

    FieldWhat to enter
    NameThe name of your app. Required.
    Service account JSONPress 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”.
  3. Press Create. A window with the app Token opens.

  4. 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.”
StatusMeaning
ActiveThe app is connected.
DeactivatedThe app is turned off in the settings.
Requires attentionThere 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.

  1. Choose the Organization and click Planfix.

  2. Press Create and fill in:

    FieldWhat to enter
    Webhook URLThe https:// address of your Planfix webhook, without a login or password inside it. Required.
    TokenThe Planfix token. Required.
  3. 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.