Table of Contents

Reply Buttons block (WhatsApp)

Pau Sanchez Updated by Pau Sanchez

The Reply Buttons block allows you to add buttons in a WhatsApp bot for quick replies, saving time and effort to the user of the bot.

Setting options

You can add a header to the question, which can display up to 20 characters.

Text

Make sure to add text to guide your users through the options.

The text can display up to 1024 characters.

You can also display a footer with up to 60 characters.

Buttons

Add the buttons you will offer as quick replies.

It is allowed to display up to 3 buttons, due to WhatsApp's limitations.

The maximum number of characters in the button text must be 17, if the limit is passed, the block is not displayed in the flow.
Variables in buttons

It is also possible to use Landbot variables, adding them as @{nameofthevariable} , like the example below:

Tip: Media is not supported in the Reply buttons, but you can add a Media block right before the Reply buttons block to display such content

Behavior

Click button

Once the user clicks one of the available options, the flow will continue through the output selected.

If there is no connection, it will go through the Default output.

The variable will store the value of the button (without the number).

Number (option) input

If the user types one of the numbers available (1 to 3), the flow will continue through the designated option.

The variable will store the user input (the number, not the text from the button).

Text input

If the user types a text and not a number of the options available, the flow will continue through the Default Option.

The variable will store the user's text input.

We recommend adding a Warning message to avoid user continuing without selecting a proper option.

Users cannot select more than one option at the same time from the button message, but they can go back and re-open a previous message.

Reply button messages cannot be used as notifications. Currently, they can only be sent within 24 hours of the last message sent by the user. If you try to send a message outside the 24-hour window, you get an error message

Supported platforms: iOS, Android, and WhatsApp Web

Hyperlinks are not allowed

How did we do?

Buttons block

Any of the above Output

Contact