TEXT

This block is used to send text messages with (optional) buttons attached.Β 

Currently, we support three types of chatbot buttons:

  • “launch block” buttons to connect other blocks in the same skill
  • event buttons to trigger events in other skills
  • URL buttons to open websites
  • phone buttons to initiate phone calls on mobile devices

Please note that Facebook Messenger supports only three buttons in each text message, while Telegram can have more. Buttons are not supported for SMS conversations. If you add more than 3 buttons, on Facebook Messenger channel only first three will be rendered.

It’s important to note that any input field (message text and button names, links and destinations) can contain both text and variables (attributes). Variables will be rendered into actual values in real-time. Using variables as button labels is useful to create dynamic buttons that can change depending on user input or other criteria. In the example below, we’re usingΒ $_first_nameΒ system variable to add the name of the user to our message.

TEXT block editor
TEXT block editor

And this is how it will be rendered in messenger:

TEXT message with buttons
TEXT message with buttons
Was this article helpful to you? Yes 6 No 4

How can we help?