¿What can I do with this node?
The Answer node allows AgentBot to give answers to the user. These answers can be 'text only', or be accompanied by different complements.
To add more expressiveness to the user experience, the node allows the use of emojis.
¿How can I test it?
"Mustache usage" section:
The 'msg.answer' variable contains the value of 'answer' that originates from the function node that precedes the Answer node.
To test the node output, simply run the Inject node on each flow.
"Emoji usage" section:
The Answer node allows the inclusion of emojis that will help improve the user experience in your answers.
To test the node output, simply run the Inject node on each flow.
Emojis can be included with the corresponding hexadecimal code, and if available, with its corresponding short code to
channels like Whatsapp, Facebook and Instagram. To test the output of node, simply run inject on each flow.
"Answer with complements" section:
In many occasions, you'll want to give an Answer followed by a Complement (Forms, Buttons, etc.)
This example shows how to concatenate two nodes to generate a response with a Form complement
To test the node output, simply run the Inject node on each flow.
"Line break" section:
In this section there are two examples showing how to make a line break in Web/WhatsApp channels.
To test the node output, simply run the Inject node on each flow.
Limitations:
The Answer node does not allow executable code, or the use of HTML tags that do not meet a stylistic purpose.
Therefore, this node (as well as several other Aivo Studio nodes) performs a series of validations
that have been implemented in order to prevent a use that is not suitable for its function.
Allowed HTML tags for Answer node:
- <b>
- <br>
- <strong>
- <i>
- <em>
- <mark>
- <small>
- <del>
- <ins>
- <sub>
- <sup>
- </b>
- <br/>
- </strong>
- </i>
- </em>
- </mark>
- </small>
- </del>
- </ins>
- </sub>
- </sup>

Download the flow by clicking on this link.