Send a message to chat in this step of the conversation.

Node Inputs

Message: The text to send to the user or the iframe to send to the user in case of send an iframe is true

  • Type: Text

Node Parameters

On the face of the node:

  1. Send an iframe: Whether to send an iframe to the user
    • Type: Toggle

In case of cyclic pipelines:

  1. Input: The text to show to the user for the first time
    • Type: Text
  2. Cyclic Input: The text to show to the user for the second and subsequent times
    • Type: Text

Node Outputs

The message node does not have any node outputs but can be connected to other nodes either by connecting with the handle to other nodes or by adding the message node in the dependency array of the other node.

Considerations

  • In case of Send an iframe is true, the node input Message should contain the iframe html code.
  • Unless the Capture Node is used, the user will not be able to send a message in the conversation.

Examples

Example 1

The below example is a pipeline for asking a question to the user.

  1. Start Node: Represents the entry point of the pipeline
  2. Message Node: Displays the message to the user
    • Message: Hello, how can I help?

Example 2

The below example is a pipeline for asking a the user to enter their name and allowing them to edit it.

  1. Start Node: Represents the entry point of the pipeline
  2. Message Node: Displays the message to the user
    • Message: What is you name?
    • Cyclic Message: Enter your name
  3. Capture Node: Captures the user’s name
  4. Message Node: Displays the message to the user
    • Message: Your name is {{capture_0.response}}. Do you want to change it?
  5. Button Node: Allows the user to edit their name
    • Button 1:
      • Button Name: Yes
      • This path is connected to the first message node
    • Button 2:
      • Button Name: No
      • This path is connected to the message node displaying the thank you message
  6. Message Node: Displays the message to the user
    • Message: Thank You!