Find the answer you are looking for

Answer Node

The Answer node is located within the Messaging nodes category, and you’ll use it to set the text responses that the Virtual Assistant will provide to users, allowing you to include emojis, complements, or insert line breaks.
undefined
ℹ When configuring it, you’ll find the node’s response field is a scrollable text area, so you can write longer messages while keeping the content visible as you edit.
Pressing the Enter key within this field inserts a line break, which will be displayed the same way across all channels where the response is sent.
undefined
⬇ Below, you’ll also find descriptions of the various options you can configure in the node:

  1. Mustache usage: allows you to use variables within the answer node; all variables must be enclosed in 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, using a `function` node) before the `answer` node.
    2. Learn more about using Mustache at this link.
  2. Emoji usage: Emojis help improve the user experience, and you can include them in responses using their respective hexadecimal code or, if available, their corresponding shortcode on platforms such as WhatsApp, Facebook, and Instagram.
  3. Complements: In the downloadable example, you’ll find how to concatenate two nodes to generate a response using the form complement.
  4. Line break: You can see in the example flow how to insert a line break in the web channel and on WhatsApp. 
undefined
➡ Also, keep in mind that in an Answer node, you cannot include executable code or use HTML tags that do not serve a stylistic purpose for the text, as it has a series of validations in place to prevent misuse of its function.
undefined
⬇ Brief Description of HTML Tags allowed in this node:
Opening and closing tags work together. Closing tags—for example, —indicate where the affected content ends and have no independent function.

undefined
undefined
➡ Download the complete flow with all the examples at this link.
undefined
✅ Key tip: In all cases, you can test the node’s output simply by running the `inject` command in each flow.
undefined
▶ Watch the video below to learn about the node’s properties:
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.