The Button element in chatbots

This element is used to interact with chatbot subscribers. Using buttons, you can engage your chatbot subscribers and set your scenario’s direction.

Add a button

In the Message element, click + Add button.

You can add buttons to Messages under the Text, Image, Carousel, File, Audio, and Video elements.

Enter your button text. You can enter up to 20 characters and add emoji.

Your button text should be clear and easy to understand — users need to know what will happen when they click your button. Make sure that your next flow element does what the button says it will.

Select a button type

Continue flow

Use a Continue flow button type to branch your scenario based on users’ choices.

To save users’ choices and use them to segment your audience, add the Add variable or Add tag actions after your button element.

We recommend adding the “Back” and “Back to main” buttons to allow users to go through other flow branches. This way, your bot scenario will not be stuck on or disrupted by one message.

URL

This element is supported by all messaging platforms and communication channels except WhatsApp.

You can add links to external resources to your URL buttons. A link can contain up to 512 characters. You can also add variables and pass user data as parameters.

Make sure to only add links with the HTTPS protocol. If you add a link with the HTTP protocol, your Telegram chatbot will not send your message.

To enable users to continue the conversation by clicking the link button, select the Link Tracking option in the General tab of your bot settings.

You can also add a web application link to your URL Telegram button, such as a link to a one-page online store. Select the Open in web app pop-up checkbox to add a pop-up window with the specified link.

For example, you can create an online store with products, a shopping cart, and a data collection form and add links to Telegram buttons. Users can click these buttons to complete their purchases in another window.

You can install Telegram JS code on your page — it processes data transferred from the messaging platform, including subscriber information.

Payment

The Payment buttons accept payments from users. Enter your product details, add a payment method, and select a CRM pipeline.

You can continue your flow for users who have paid and create a flow branch for those who have not paid yet.

Learn more: How to accept chatbot payments.

Once you select the button type and customize it, click Add. You can add multiple buttons.

You can add 13 buttons to your Telegram chatbot. However, with WhatsApp, Instagram, and Facebook Messenger chatbots, you're limited to 3 buttons. If you need more buttons, consider adding Quick replies.

To use the Launch inline search button type, you need to create an inline search menu in your bot settings and then add it from the dropdown list.

Once a user clicks this button, they will see your inline search menu.

Read also: How to create an inline search menu.

    Rate this article about "The Button element in chatbots"

    User Rating: 4 / 5 (9)

    Previous

    The Quick Replies element in chatbots

    Next

    Media elements in chatbots

    Popular in Our Blog

    Create your own chatbot today