This node is part of the Aivo node category and allows you to add the buttons plugin to a flow.
In the video we tell you the parameters to configure it:
Download the flow with the examples in this link.
Below find the description of the fields that you will use in the process, as seen in the video
● The properties seen at the beginning apply only if you need to configure it for the Web channel, since the rest of the conversational channels, such as WhatsApp, depend on the possibilities that they have their own chat windows.
- Block Input: this feature blocks the bot's text box, temporarily disabling typing, until the user clicks a button.
- One Choice: makes it possible for the user to press the same button or any other button group once.
- Quick Reply: converts buttons into quick responses or suggestions for the user.
● When configuring each button, you must complete
- Button Label: You will write the text that the user will see on the button.
- Button Type: displays different types of buttons, each with a specific behavior:
- Message: allows an intention to be activated when clicking on the button, which will be interpreted by AgentBot and will bring the response associated with that intention.
- Link: used only in the Web channel and allows redirection to links. In WhatsApp, for example, you can use the "Answer" node with the url written within the response text itself, instead of the button format.
- Next Step: makes it possible to select an integration linked to the bot where you are configuring in node. This way you create a dynamic flow and maintain the structure of going to another integration point (step) without leaving the initial flow. They cannot be combined with buttons of other types, given their "Label" ⇾ "next_step" structure.
- Button Value: is the field where the value of the button is indicated. That is, depending on the type of button chosen, it will be the intention to reference, the link to open or the integration to execute.
● Other types of buttons:
- Button JS: they are useful for generating dynamic buttons and you generate them using a structure understood by the AgenteBot window, being able to send the action "buttons" from a json.
- Interactive List: in WhatsApp you can have a version of customized buttons through the "Interactive List". It works like a custom options box.
● Keep in mind:
- All examples can be run from the "Inject" node so that the results can be seen within the "Debug" view.
- In this case the "Inject" node must be replaced by a "Step" node.
- To display the resource in the AgentBot window, configure the integration plugin in the response.