Help Center Segments, cascade broadcasts and variable pools

Segments, cascade broadcasts and variable pools

This page continues How to create and send broadcasts. It covers three tabs of Communication → Broadcasts in the omni.smsbat.com dashboard:

  • Segments — the audiences for standard broadcasts;
  • Cascade broadcasts — broadcasts that try several channels one after another;
  • Variable pools — lists of unique values such as promo codes.

Segments

A segment answers two questions: through which channel the broadcast goes (and from which bot or sender) and who receives it. Every standard broadcast is built on a segment, and one segment can be used for many broadcasts.

The segment list

Open the Segments tab. Above the table:

  • Create — a new segment;
  • Copy — opens the creation form filled in with the selected segment, including its recipients;
  • Delete — deletes the selected segment after Confirm.

Select a segment with the round selector at the start of its row to make Copy and Delete active. On a phone these buttons are on each segment’s card.

Filters: Search, Organization, Channel, then — depending on the channel — Telegram bot, Viber bot or Sender name, plus Date of contact creation and Date of last interaction (date ranges).

Columns: Name, Channel, Channel data (the bot or the sender name) and Created At (click the arrow to sort). SMSBAT administrators also see the Organization column. Click a row to open the segment.

Step 1. Basic data

Press Create on the Segments tab and fill in:

FieldWhat to enter
OrganizationThe organization whose contacts and channels are used. If you have one organization, it is selected automatically. Required.
NameFor example “Kyiv customers, Viber bot”. Required.
DescriptionOptional notes for your team.
ChannelTelegram, Viber bot, Viber Business or Email. Required.
Telegram bot / Viber botAppears for a bot channel. The list shows the bot name and its link. Required.
Sender nameAppears for Viber Business and Email: the sender the message comes from. Required.
TagsContacts with these tags are included. The list shows tags of the selected organization.

Step 2. Recipients

You can combine several ways:

  • Recipients — type phone numbers or e-mail addresses by hand. Add recipient adds a field; the bin icon removes it.
  • Upload recipients list — a CSV file of up to 10 MB. The i button next to it shows the file rules.
  • Tags (step 1) and Contact filters (step 3) — recipients are taken from your contacts.

When you copy a segment, its recipients are listed in Copied recipients; untick those you don’t need.

CSV file rules

  • UTF-8, comma-separated, the first row is a header.
  • A recipient column is required: to, phone or email.
  • Phone numbers in international format, digits only, for example 380981112233 — no +, spaces, dashes or brackets.
  • Every extra column (for example name, promo_code) becomes a variable you can insert into the broadcast text as {{name}}.
  • Every row must have a recipient and a value in every extra column.

Example:

phone,name,promo_code
380501112233,Olena,SUMMER10
380671112233,Ivan,SUMMER15

If the file breaks the rules, the segment is not created and you see, for example, The CSV file must contain a recipient column: ‘to’, ‘phone’, or ‘email’, or a message naming the rows with an empty recipient or an empty variable value.

Step 3. Contact filters

For Telegram, Viber bot and Viber Business the form has a Contact filters block:

FilterWhat it does
Date of contact creationOnly contacts created in this date range.
Date of last interactionOnly contacts whose last interaction falls in this date range.
CountryOnly contacts from these countries. When a country is selected, the hint Only for contacts that have a phone number appears: the filter applies to contacts with a phone number.
Everyone in sessionViber bot only: limits the segment to bot users with an active session.
Phone Number StatusShared Phone Number or Not Shared Phone Number — whether the contact has shared their phone number. For Viber Business it is always Shared Phone Number.

Step 4. Save

Press Create. You see Successfully was created and the segment appears on the Segments tab.

The segment page

Click a segment to see its settings: Organization, Name, Description, Channel, Channel data, Country, date filters, Phone Number Status, Everyone in session, Recipients count, Tags and Segment recipients count — how many recipients the segment has now (a spinner is shown while it is being counted).

A segment cannot be edited. To change it, copy it, adjust the copy and delete the old one. The Delete button at the top of the page deletes the segment after Confirm.

Cascade broadcasts

A cascade broadcast is sent through several channels in a set order. The Fallback order decides which channel is tried first and which ones come next, for example Viber Business first and SMS second.

Step 1. Open the form

On the Cascade broadcasts tab press Create. The Create page opens in Professional mode (you can also switch Create mode to Professional on any creation form).

Step 2. General data

FieldWhat to enter
OrganizationRequired. Changing it clears the selected contacts and tags.
NameRequired.
DescriptionOptional.
Duration (min)How long, in minutes, the broadcast tries to deliver messages.

Step 3. Add channels

Under Channels press the buttons of the channels you need: Telegram, Viber bot, Viber Business, SMS. Each channel can be added once; its button disappears after you add it. At least one channel is required, otherwise you see Channel is required. The bin icon on a channel card removes the channel.

Fill in each channel card:

FieldChannelsWhat to enter
Broadcast typeall except SMSTelegram: Message or Survey. Viber bot: Message or Carousel. Viber Business: Message, Survey or Carousel.
Telegram bot / Viber botTelegram, Viber botThe bot that sends the message. Required.
Sender nameViber Business, SMSThe sender. Required.
MessageallThe text. Required. For Viber Business up to 1000 characters.
Button text, Button actionTelegram, Viber Business (Message)One button. For Viber Business the button text is up to 30 characters.
KeyboardViber botOptional Viber keyboard code; the i button shows an example.
Photoall except SMS (Message)One image, up to 1 MB.
VideoTelegram, Viber bot, Viber Business (Message)The same rules as in standard broadcasts, see Photo and video.

For the Survey type, enter the Question (Telegram up to 200 characters, Viber Business up to 85) and the answer options (Option, Telegram up to 100 characters, Viber Business up to 50). Add option adds an option: up to 12 for Telegram and up to 5 for Viber Business; at least 2 options are required.

For the Carousel type:

  • Viber bot — paste the carousel code into Carousel item;
  • Viber Business — fill in the carousel items exactly as in a standard broadcast: Carousel title, Primary button, optional Secondary button and a Photo for each item, from two to five items. See Viber Business.

On a wide screen a preview of each channel’s message is shown to the right of the form.

Step 4. Set the fallback order

Under Fallback order the added channels are listed in order. Drag a channel by the handle (three lines) to move it. The first channel is tried first.

Step 5. Choose recipients

FieldWhat it does
TagsContacts with these tags.
ContactsPick contacts of the organization one by one. The list has a search box and can select all contacts at once.
Send to all contactsSends to every contact of the organization. When it is ticked, the Contacts field is hidden.
PhoneType phone numbers by hand; Add Phone adds a field.
Upload phone numbersA CSV file with phone numbers, up to 1 MB. The i button shows the file rules.

Step 6. Plan and create

  1. Optionally set Planned at — the date and time to send.
  2. Press Create.

The broadcast appears on the Cascade broadcasts tab with the status Pending Approval. Cancel returns to the list without saving.

The Cascade broadcasts list

Filters: Search, Status and Created At (a date range).

ColumnWhat it shows or does
Name, Planned at, Status, RecipientsClick the arrows to sort.
Sent, Delivered, Failed, SeenMessage counts.
Created AtSortable.
ExportDownloads the list of recipients as a file.
DeleteDeletes the broadcast after Confirm. Only in Pending Approval.
Send nowStarts the broadcast right away after Confirm. Only in Pending Approval.
Upload phone numbersUpload adds phone numbers from a CSV file (up to 1 MB). Only in Pending Approval.

Cascade broadcast statuses: Pending Approval, In progress, Completed, Expired and Canceled.

The cascade broadcast page

Click a broadcast to open it.

Broadcast details shows the Name, Description, Created At, Planned at, Status, the counts (Recipients, Sent, Delivered, Failed, Pending, Expired), Started at, Completed at, Expired at and Duration (min), a chart, and the settings of every channel: Broadcast type, Fallback order, bot or Sender name, message, buttons, photo, video, survey options or carousel.

If a Telegram channel had a survey, two buttons download the results: Aggregate survey results and Detailed survey results.

Messages detail lists every message with Contact, Phone, Status, Channel, Sent, Delivered, Failed, Error, Attempts count, Seen at and Created At. Filter by Search, Status and Channel; Export downloads the list.

Variable pools

A variable pool is a list of unique values for one variable, for example a stock of promo codes. Each value goes to one recipient, and the pool shows which phone number got it. How values are put into messages and how to use them through the API is explained in Variable pools and unique promo codes.

The pool list

On the Variable pools tab you see Organization, Variable name, Total, Used, Available and Created At for each pool. Use Search to find a pool. SMSBAT administrators also see the Client column and filter.

Create a pool

  1. Press Create.

  2. Fill in the window:

    FieldWhat to enter
    OrganizationRequired.
    VariableThe variable name, for example promo_code. Required.
    ValuesType a value and press Enter or +. Each value appears as a chip; × removes it.
    FileOr press Choose and select a CSV file. The i button shows the rules.

    You need at least one value or a file, otherwise you see Provide at least one value or a file.

  3. Press Create. The message shows how many values were added and how many were skipped as duplicates, for example Inserted: 100, skipped (duplicates): 2.

CSV file for a pool

UTF-8, comma-separated. A file with one column: every row is a value. A file with several columns needs a header row with a value column. Values that are already in the pool are skipped.

Add values and track usage

Click a pool to open it. Update adds more values or a file in the same way. The table shows each Value, whether it is Used or Unused, the Phone number it was given to, Used at and Created At. Filter by Search and Used.

Common questions

Why is SMS missing from the segment’s Channel list? Segments, and so standard broadcasts, work with Telegram, Viber bots, Viber Business and e-mail. To send SMS, create a cascade broadcast and add the SMS channel.

My segment has fewer recipients than I expected. All conditions work together: tags, dates, countries and the phone status narrow the audience. Open the segment and check Segment recipients count, then copy the segment with fewer filters.

The CSV file is rejected. Check that the file has a header row with a to, phone or email column, that numbers contain digits only, and that no row has an empty recipient or an empty value in an extra column. The error message lists the rows to fix.

How does the fallback order work? The channel at the top of Fallback order is tried first; the next ones are used according to the order you set. Drag the channels to change it before you press Create.

I need to change a cascade broadcast after creating it. The dashboard has no edit form for it. While the broadcast is in Pending Approval you can delete it and create a new one, or add phone numbers with Upload phone numbers.

Values in my pool are running out. Watch the Available column. Open the pool and press Update to add more values or another file; duplicates are skipped automatically.