Message blocks are used as the fundamental foundation for creating conversation flows in Treble.ai. These are used to display information, ask questions, receive responses and more. Learn to use message blocks to create personalized conversation flows.
Treble is a powerful tool that allows you to design personalized conversation flows for your customers. These flows are built using message blocks, which are fundamental for displaying information, asking questions, receiving responses and more. When designing a conversation flow, you are programming the interactions that your customer will have with your bot, similar to a decision tree.
It’s important to remember that in Treble there are two types of conversation flows:
By mastering the use of message blocks, you will be able to create effective and personalized conversation flows that improve the customer experience and optimize communication. To do this, it is essential to understand how message blocks work and how they can be used to create personalized conversation flows.
Message blocks are found in the Blocks section of the conversation flow editor in Treble. To access this view, follow these steps:
Before explaining how each message block works, and its different types, it’s important to understand the structure of a message block.
Below, each of the numbered elements in the previous image is explained in detail, so you understand how to configure and make the most of message blocks in Treble:
Goal block: Allows you to configure the block as a Goal block. By clicking on the star, you can define measurable goals for your conversation. This is useful for campaigns where you need to measure conversions or key actions.
Learn more about goal blocks.
Allows you to attach images, documents, videos or locations to the message. This enriches the user experience and is ideal for showing products, sending manuals or sharing visual information.
Learn more about how to attach multimedia files in your message blocks.
You can add quick response buttons for the user to select an option. This facilitates navigation and decision-making within the conversational flow. The buttons can be personalized and multiple options can be added. You can remove one of the options by clicking on the button.
Options in message blocks are only available in the Interactive Buttons, Interactive List and Message with Options message blocks.
You’ll notice that each added option has a white circle on the right. This circle is what allows you to connect this option with the message block you want to be shown when the user selects this option. To do this, click on the circle, hold down and drag the arrow to the message block you want to be shown when the user selects this option.
The Response not included in options option allows you to define what happens if the user responds with a message that doesn’t correspond to any of the available buttons. You can configure redirecting to another block. It’s fundamental for handling unexpected responses and keeping the conversation controlled.
Example cases:
To use it, click on the Message not included in options button, when you click, it will become an output option of the message block that you can connect with another message block. To do this, click on the circle , hold down and drag the arrow to the message block you want to be shown when the user selects this option.
Allows you to activate the Alternate flow, an advanced functionality that automatically redirects the user to another block if they don’t respond after a predefined time. This is useful for keeping the conversation active and avoiding blocks due to inactivity. You can configure the wait time and the destination of the alternate flow.
Learn more about the alternate flow.
By double-clicking on any message block, the Advanced configuration panel opens on the left side of the editor. Here you can personalize the block’s behavior with the following options:
Alternate flow: Allows you to activate the alternate flow to automatically redirect the user to another block if they don’t respond after a predefined time. It’s useful for keeping the conversation active and avoiding blocks due to inactivity.
Learn to configure the alternate flow.
Timer and message limit: Only available for open questions (simple message block). Allows the user to respond in multiple messages without advancing until a condition is met:
Message limit: The conversation advances when the user sends the configured number of messages.
Timer: The conversation advances when the configured time elapses from the user’s first message. The timer doesn’t start until the user sends their first message. The timer cannot be 0.
All messages sent by the user are concatenated into a single response, separated by line break. The system stores the number of messages in a variable called variable_name_count
(for example, first_response_count
).
Example: If the user responds in two messages:
Hello
and then:
I need help
The system will store:
Hello\nI need help
and the variable first_response_count
will have the value 2.
Save response: Allows you to store the user’s response in a variable to use it later in the flow. You can define the name and type of variable (text, number, email, image, etc.).
Learn to save responses as variables.
Webhooks: Allows you to activate a webhook to send the user’s response to an external system in real time, facilitating advanced integrations.
Learn to use webhooks in your message blocks.
Automatic retry: If activated, the system will automatically try to resend the message in case the user doesn’t respond in a determined time. To configure it, activate the Automatic retry switch after having activated the advanced configuration of the message block. You’ll see the following options:
Below, the different types of message blocks you can use in Treble are explained.
Interactive Buttons message blocks are used to display a message with response buttons. These buttons can be personalized and up to 3 options can be added. This functionality of showing messages with buttons in WhatsApp is exclusive to WhatsApp Business API. The button options have a 20 character limit.
Interactive List message blocks are used to display a list of response options. These options can be personalized and up to 10 options can be added. This functionality of showing messages with lists in WhatsApp is exclusive to WhatsApp Business API. The list options have a 20 character limit.
When your customer receives a message with an interactive list, they will see a button with the text of the first option in the list. When they click on the button, a list of options will be displayed for the user to select one.
Message with Options message blocks are used to display a message with response options. These options can be personalized and unlimited options can be added. Treble shows this message as a message with the message body you have defined, followed by a numbered list of options.
Example: If the client sends the following message:
Treble will show the following message:
When customers receive this type of message, they can respond in the following ways:
Simple Message message blocks are used to display a message without response options or to capture a free text response. This functionality is particularly useful for saving responses as variables.
Learn more about how to save responses as variables.
Success! Now you know the message blocks and how to use them to create personalized conversation flows.
Message blocks are used as the fundamental foundation for creating conversation flows in Treble.ai. These are used to display information, ask questions, receive responses and more. Learn to use message blocks to create personalized conversation flows.
Treble is a powerful tool that allows you to design personalized conversation flows for your customers. These flows are built using message blocks, which are fundamental for displaying information, asking questions, receiving responses and more. When designing a conversation flow, you are programming the interactions that your customer will have with your bot, similar to a decision tree.
It’s important to remember that in Treble there are two types of conversation flows:
By mastering the use of message blocks, you will be able to create effective and personalized conversation flows that improve the customer experience and optimize communication. To do this, it is essential to understand how message blocks work and how they can be used to create personalized conversation flows.
Message blocks are found in the Blocks section of the conversation flow editor in Treble. To access this view, follow these steps:
Before explaining how each message block works, and its different types, it’s important to understand the structure of a message block.
Below, each of the numbered elements in the previous image is explained in detail, so you understand how to configure and make the most of message blocks in Treble:
Goal block: Allows you to configure the block as a Goal block. By clicking on the star, you can define measurable goals for your conversation. This is useful for campaigns where you need to measure conversions or key actions.
Learn more about goal blocks.
Allows you to attach images, documents, videos or locations to the message. This enriches the user experience and is ideal for showing products, sending manuals or sharing visual information.
Learn more about how to attach multimedia files in your message blocks.
You can add quick response buttons for the user to select an option. This facilitates navigation and decision-making within the conversational flow. The buttons can be personalized and multiple options can be added. You can remove one of the options by clicking on the button.
Options in message blocks are only available in the Interactive Buttons, Interactive List and Message with Options message blocks.
You’ll notice that each added option has a white circle on the right. This circle is what allows you to connect this option with the message block you want to be shown when the user selects this option. To do this, click on the circle, hold down and drag the arrow to the message block you want to be shown when the user selects this option.
The Response not included in options option allows you to define what happens if the user responds with a message that doesn’t correspond to any of the available buttons. You can configure redirecting to another block. It’s fundamental for handling unexpected responses and keeping the conversation controlled.
Example cases:
To use it, click on the Message not included in options button, when you click, it will become an output option of the message block that you can connect with another message block. To do this, click on the circle , hold down and drag the arrow to the message block you want to be shown when the user selects this option.
Allows you to activate the Alternate flow, an advanced functionality that automatically redirects the user to another block if they don’t respond after a predefined time. This is useful for keeping the conversation active and avoiding blocks due to inactivity. You can configure the wait time and the destination of the alternate flow.
Learn more about the alternate flow.
By double-clicking on any message block, the Advanced configuration panel opens on the left side of the editor. Here you can personalize the block’s behavior with the following options:
Alternate flow: Allows you to activate the alternate flow to automatically redirect the user to another block if they don’t respond after a predefined time. It’s useful for keeping the conversation active and avoiding blocks due to inactivity.
Learn to configure the alternate flow.
Timer and message limit: Only available for open questions (simple message block). Allows the user to respond in multiple messages without advancing until a condition is met:
Message limit: The conversation advances when the user sends the configured number of messages.
Timer: The conversation advances when the configured time elapses from the user’s first message. The timer doesn’t start until the user sends their first message. The timer cannot be 0.
All messages sent by the user are concatenated into a single response, separated by line break. The system stores the number of messages in a variable called variable_name_count
(for example, first_response_count
).
Example: If the user responds in two messages:
Hello
and then:
I need help
The system will store:
Hello\nI need help
and the variable first_response_count
will have the value 2.
Save response: Allows you to store the user’s response in a variable to use it later in the flow. You can define the name and type of variable (text, number, email, image, etc.).
Learn to save responses as variables.
Webhooks: Allows you to activate a webhook to send the user’s response to an external system in real time, facilitating advanced integrations.
Learn to use webhooks in your message blocks.
Automatic retry: If activated, the system will automatically try to resend the message in case the user doesn’t respond in a determined time. To configure it, activate the Automatic retry switch after having activated the advanced configuration of the message block. You’ll see the following options:
Below, the different types of message blocks you can use in Treble are explained.
Interactive Buttons message blocks are used to display a message with response buttons. These buttons can be personalized and up to 3 options can be added. This functionality of showing messages with buttons in WhatsApp is exclusive to WhatsApp Business API. The button options have a 20 character limit.
Interactive List message blocks are used to display a list of response options. These options can be personalized and up to 10 options can be added. This functionality of showing messages with lists in WhatsApp is exclusive to WhatsApp Business API. The list options have a 20 character limit.
When your customer receives a message with an interactive list, they will see a button with the text of the first option in the list. When they click on the button, a list of options will be displayed for the user to select one.
Message with Options message blocks are used to display a message with response options. These options can be personalized and unlimited options can be added. Treble shows this message as a message with the message body you have defined, followed by a numbered list of options.
Example: If the client sends the following message:
Treble will show the following message:
When customers receive this type of message, they can respond in the following ways:
Simple Message message blocks are used to display a message without response options or to capture a free text response. This functionality is particularly useful for saving responses as variables.
Learn more about how to save responses as variables.
Success! Now you know the message blocks and how to use them to create personalized conversation flows.