Text Answer

The Text Action is used to send one-off answers or notifications as part of a Conversation Chat Bot.

📘

Enterprise Feature

Accessing Conversation Actions requires an ENTERPRISE license. If you would like to enable this feature for your Airkit Organization, please contact your Airkit representative or contact [email protected].

Use Cases

While Text Answers can be built into Conversation Bots capable of parsing messages sent by an end user, Text Answer Actions themselves do not require a reply. This makes them ideal for:

  • Answering questions
  • Thanking users for their participation and telling them goodbye
  • Sending links to relevant Web Pages

Properties

Answer

Expects type text.

This is the message that the Text Answer Action will send to to the user.

Adding Variables and Custom Expressions

Clicking on the Airscript icon (2021-11-23_13-24-47.png) to the bottom left of the expanded text box will insert an Airscript expression into the answer message. Edit inserted Airscript expressions by clicking on them and selecting either the Variable or the Custom Expression Tab.

  • Variable Tab - allows the selection a variable to insert into the text.
  • Custom Expression Tab - provides an expression editor capable of parsing custom Airscript expressions.

Adding Links to Journeys

Clicking on the link icon to the direct right of the Airscript icon will insert a Journey Link directly into the text. Journey Links direct users back to the web portion of their Session. For a more detailed discussion of how this works, see Linking to Sessions.

Example

In this example, the Text Answer Action will send a message dynamically depending on the value of the Global Variable answer and the URL of the associated Session: