Skip to content
FlexiPedia logo

Send Message Step

Unlock the full potential of your bot with Flexito OmniAI's versatile messaging capabilities. Whether you're looking to send personalised messages, share dynamic content, or engage users with interactive elements, this guide will walk you through the essential steps for each chan

Flexito OmniAI
Beginnerv5
Read in:

Listen to an audio overview

A short, AI-generated podcast-style summary of this article.

Unlock the full potential of your bot with Flexito OmniAI's versatile messaging capabilities. Whether you're looking to send personalised messages, share dynamic content, or engage users with interactive elements, this guide will walk you through the essential steps for each channel. From Facebook to WhatsApp and beyond, discover how to enhance your communication strategies and deliver seamless user experiences.


Once you've created your first flow, open it and click "Edit Flow". Keep your bot visible alongside, and let's get started! 😆

We'll use Facebook as an example, but other flows follow similar steps with the main differences being the message types.

Follow these simple steps to send your first message:

  1. Click the green start point.

  2. In the edit panel, select "Next Step".

  3. Choose the "Send Message" step.

  4. Click on the "Send Message" step.

  5. Select the text type message.

  6. Enter your message.

  7. Click "Publish".

That's all! Now, let's test it!

Click "Preview" in the navigation bar, then "Open the flow in Messenger". If you're interacting with the bot for the first time, click "Get Started".

Preview Feature - Note that the "Preview" feature isn't available on all channels. Supported channels include Facebook, Telegram, WhatsApp, Line, and Viber. For channels without Preview, refer to the documentation by searching "talk to bot" for assistance.

Congratulations! Your bot is now up and running. 🤖🤖

Let me provide more details about the Send Message step. These message types are common across all or some channels.

Send Text / Variable

Flexito OmniAI integrates with Grammarly to ensure your messaging is perfectly articulated.

Insert Custom Field Value and Emoji

Whenever you see "</>", it's an opportunity to add emojis or variable values to your text.

Alternatively, type "{{" to access the field list:

Send Image / Audio / Video / File

There are four methods available:

  • Upload from your computer (size limitations apply)

Media Type

Maximum Upload Size

video

10MB

audio

5MB

file

5MB

others(e.g. image)

2MB

  • From a URL link (recommended)

  • You can find images online and use their direct URL links. However, these links might change. A better option is to upload images to your server or third-party storage like Imgur () and obtain direct URL links. A direct URL should point to a specific image, ending with .jpg or .png, as shown in the example.

  • Search from GIFs gallery

  • Flexito OmniAI offers a GIFs gallery where you can find what you need.

  • From Library

  • The Library stores all previously uploaded photos, GIFs, audios, and videos. This way, you can reuse media without re-uploading.

Send Card

Cards are used to present information attractively, such as product details. A card consists of four elements: picture, title, subtitle, and button.

To display a card, you must include a title and at least one additional element: picture, subtitle, or button.

For sending cards via WhatsApp, you need to create a "Carousel Template" and use it instead.

Send "For Each"

This message type also displays cards but does so automatically. With "For Each", you don't manually input each card. It automatically shows all items in a JSON variable. If you're unfamiliar with JSON variables, refer to Action Step - JSON Operation ().

  1. Choose a JSON variable first.

  2. Click "</>" or type "{{" in the text box.

  3. Select "ITEM" to get a sample item from the JSON variable.

Value in the JSON variable:

Value in "ITEM":

The "Sample data" feature helps quickly fill the "JSON Path" field. For instance, clicking the "price" row will automatically insert "$.price" in the "JSON Path". This indicates that the price of each item is being displayed. If no sample data appears, you can manually enter the path by typing "$.", which refers to each item in the JSON variable, followed by the value's key.

Value Format

Flexito OmniAI offers various formats for numbers, dates, and times. For example, a price value of "5" can be displayed as " (#)" using the "F03" format. The original value remains "5", allowing it to be used in calculations or comparisons without issues.

Hidden Keys

Great! Now you understand how to use "For Each". Besides the keys in the JSON variable, there are three hidden keys you might need:

Key Name

Description

INDEX

index of the item started from 1

KEY

key name of the item

VALUE

value of the item = the item itself

INDEX Example

When dealing with a JSON containing a list of JSONs, use INDEX to determine an item's sequence number. Let's add an index number before each item's name:

Testing result:

KEY/VALUE Example

When you have a JSON like the one shown below, instead of a JSON containing a list of JSONs,

Here's what you can obtain using the three keys:

Testing result:

Send SELECT after "For Each"

Adding a button to your "For Each" will display it with every card. Typically, you might want to include a "Buy" or "Select" button when listing products or options.

How does the bot know which card the user selected?

When selecting the next step for the button, choose "Select":

Then, choose the next step as usual, such as a Send Message Step to display the selected item or an Action Step to process the data. You can access the selected item in "SELECT":

For instance, let's add a Send Message step and locate the system field "SELECT":

  1. Click the "item" row to obtain the path "$.item" or enter the path manually.

  2. In the JSON path, add the key name if necessary. In this case, let's display the selected item's name by appending ".name" to the path.

Here's what you'll see during testing:

Send Dynamic Content

Dynamic Content allows you to send an API request to your server or a third-party server to receive a response for display. The server can provide different replies each time, enabling your bot to present dynamic content to users.

This feature is especially useful when your bot's logic is complex and heavily depends on external servers.

For instance, if you have an AI algorithm on your server to analyse user queries and generate responses, you can send the query in the API request. The server can then create a response based on the query and send it back to Flexito OmniAI for user display.

A response message can include multiple messages, buttons, and quick replies with actions. You can even apply simple actions like adding a tag directly in the response JSON.

  • Refer to Action Step - External Request () for sending an API request, and Response Format () for message formatting guidance.

Send Location

To send a location, search for it on a map, then right-click to copy its latitude and longitude values:

Enter the location name, paste the data, and add a label if needed. A label can provide additional details like floor or room number.

Send Ecommerce Product

Refer to Ecommerce () for instructions on setting up and using the built-in ecommerce system.

Send Message Debug Text

The Send Message Debug feature is designed to assist chatbot builders by enabling them to send debug messages specifically to testers.

Accessing Debug Text:

Go to the Send Message section and select Debug Text.

Adding Testers:

  • Navigate to Tools -> Testers-> New Tester.

  • Identify the user(s) who will serve as testers for your chatbot.

  • Add the user(s) to the testers list.

Sending Debug Messages:

  • Once testers are added, trigger the flow preview where the Send Message Debug Text is included.

  • During the preview, the debug text will be visible to the added testers.

Facebook Channels

Send Message

On Facebook, the bot can send texts with up to three buttons and ten quick replies.

Send Text with Button & Quick Reply

The difference between buttons and quick replies on Facebook Messenger:

Type

Usage

button

once sent, always in the conversation to be pressed

quick reply

similar to button, but disappear when used

Add some buttons and quick replies, then test them to observe their differences.

WeChat Channel

Send Message

On WeChat, the bot can send texts with up to ten buttons. Message types available on WeChat:

Send Article

Here's how it appears in the chat:

Send Mini Program

You can also send mini-programs associated with your official account.

WhatsApp Channel

Send Message

WhatsApp message types:

Buttons in WhatsApp differ from those in Facebook. On Facebook, a button can be pressed multiple times, whereas in WhatsApp, it can only be pressed once.

Supported Message Types

Flexito OmniAI supports the following WhatsApp message types:

  1. Template Message: Pre-defined messages approved by WhatsApp. Users can create new templates directly in Flexito OmniAI or sync existing approved templates.

  2. Single Product Message: Showcases a single product from a Facebook Catalog. Requires a Facebook Catalog ID and Retail ID.

  3. Multiple Products Message: Showcases up to 30 products from a Facebook Catalog. Requires a Facebook Catalog ID and separates products with commas.

  4. Catalog Message: Displays a list of products from a Facebook Catalog. Requires a Retail ID, body text, and footer.

  5. List Message: Presents a list of options for users to choose from. Requires capturing the user's selection and directing the flow based on the chosen option.

  6. WhatsApp Flow: Create a WhatsApp flow to automate the sending of messages and interactions with users.

Note: To send product-related messages (Single Product, Multiple Products, and Catalog Message), you must link your WhatsApp number with your Facebook Catalog.

Sending a Template Message

  1. Create or Sync Template: In the Bot Content section of Flexito OmniAI, you can create a new template directly under "Message Templates" in Flexito OmniAI or sync existing approved templates by clicking the "Sync" button.

  1. Use in Flow: In the "Message node", select "Others" and then "(WhatsApp) Template Message" in your Flexito OmniAI flow.

  1. Select Template: Choose the desired template from the dropdown menu.

  1. Personalise (Optional): If the template includes variables, you can personalise the message content.

Sending Single Product Messages

  1. Facebook Catalog Requirement: You need a Facebook Catalog for these message types.

  2. Use in Flow: In the "Message node", select "Others" and then "(WhatsApp) Single Product" in your Flexito OmniAI flow.

  1. Catalog ID & Retail ID:

  2. Locate your Facebook Catalog ID.

  3. Identify the Retail ID, which is the content ID for your product catalog feed.

  4. Insert your Message Information: Provide the Retail ID, message body text, and footer text for your Catalog Message.

Note: You must link your WhatsApp number with your Facebook Catalog before sending product messages.

Sending Multiple Product Messages

  • Facebook Catalog Requirement: You need a Facebook Catalog for these message types.

  • Use in Flow: In the "Message node", select "Others" and then "(WhatsApp) Multiple Products" in your Flexito OmniAI flow.

  • Catalog ID & Retail ID:

  • Locate your Facebook Catalog ID.

  • Identify the Retail ID, which is the content ID for your product catalog feed.

  • Insert your Message Information: Provide the Retail ID, message body text, header, and footer text for your Catalog Message.

Note: You must link your WhatsApp number with your Facebook Catalog before sending product messages.

Sending a Catalog Message

  1. Use in Flow: In the "Message node", select "Others" and then "(WhatsApp) Catalog Message" in your Flexito OmniAI flow.

  1. Catalog ID & Retail ID:

  2. Locate your Facebook Catalog ID.

  3. Identify the Retail ID, which is the content ID for your product catalog feed.

  1. Insert your Message Information: Provide the Retail ID, message body text, and footer text for your Catalog Message.

Sending a List Message

  1. Use in Flow: In the "Message node", select "Others" and then "(WhatsApp) List Message" in your Flexito OmniAI flow.

  1. Define List Items: Select the list items you want to include in your List Message.

  1. Capture User Selection: It's crucial to capture the user's chosen option from the list.

  1. Conditional Routing: Use a Condition Block to check the user's selection and direct the flow accordingly.

Note: Steps 2-4 for List Messages are essential to ensure proper flow based on user interaction.

Sending a WhatsApp Flow Message

  1. Use in Flow: In the "Message node", select "Others" and then "(WhatsApp Cloud) WhatsApp Flow" in your Flexito OmniAI flow.

  1. Set the WhatsApp flow to be sent.

Note: See the WhatsApp Flow creation documentation here:

Warning: Avoid using the action node to send templates to bot users, as this will cause a "forbidden action" error. Instead, use the message node.

SMS Channel

Send Message

The SMS bot can send only text and images.

Voice Channel Send Message Send Text / Audio

You can have the bot read out the text in a specified language or upload your own recorded audio.

In the voice channel, you can also provide an audio URL directly in the send message node.

Ensure the audio URL is publicly accessible, starting with https and ending with .mp3.

The same audio URL can also be used directly in the question node.

Find more supported message types for the voice channel here ().

Note - For voice bots, you can set a default language at the Green Start Point or configure it separately for each send message/question step.

Flexito OmniAI has developed a Mini-App called "VoiceMaker" using a third-party API, offering superior text-to-voice conversion quality! Download the Mini-App in the integration section. Documentation for "VoiceMaker" is in progress.

Google My Business - Send Message

Message types available with Google My Business flow:

All types are covered above. Please check the message types common to all/some channels. Find the location type in "Rich Media".