Find the answer you are looking for

Answer Node

The answer node is found within the Aivo Nodes category, and you will use it to establish the text responses that the bot will give to users, allowing you to include emojis, complements, or make line breaks.

▶In the video below, learn about the properties of the node:



↗Download the complete flow with all the examples in this Link. 

⬇Below you also have the description of the different options that you can complete in the node:

  1. Mustache usage: allows you to use variables within the answer node, every variable must be placed within double curly braces {{ }}. For example: Hello {{name}}, your balance is {{balance}}.
    1. These variables are read from the msg object, that is: for the previous example to work, msg.name and msg.balance must be defined (for example, through a function node) before the answer node.
    2. Learn more about the use of Mustache in this link.
  2. Emoji usage: emojis help improve the user experience and you can incorporate them into responses with their respective hexadecimal code, or if available, with their corresponding short code, in channels such as WhatsApp, Facebook and Instagram. 
  3. Complements: you will find in the downloadable example the concatenation of two nodes to generate a response with the form complement. 
  4. Line break: you can see in the example flow how to make a line break in the Web channel and in WhatsApp.

➡On the other hand, keep in mind that in an Answer Node you cannot include executable code, nor use HTML tags that do not fulfill a stylistic purpose on the source, since it has a series of validations implemented to avoid the inappropriate use of its function.

Here we share the HTML tags allowed in this node ⬇

<b><mark><sub></strong><strong><small>
<sup></i><i>    <del> </b></em
<em<ins<br/> </mar </sup></sub>
</small></del> </ins> >

☝Key fact: in all cases you can test the output of the node, simply by executing the inject in each flow. 

This website stores cookies on your computer. These cookies are used to collect information about how you interact with our website and allow us to remember you. We use this information in order to improve and customize your browsing experience and for analytics and metrics about our visitors both on this website and other media. To find out more about the cookies we use, see our Privacy Policy.

If you decline, your information won’t be tracked when you visit this website. A single cookie will be used in your browser to remember your preference not to be tracked.