For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Login
HomeDocs
HomeDocs
    • Work with scripted bots
    • Before you begin
    • Build and maintain your bot
      • Work with blocks and apps
      • Train and manage Answers
      • Create conversations
      • Personalize conversations
        • Get started with variables
        • Temporarily store private information using sensitive variables
        • Use variables in Answers
        • Manage variables
        • Support multiple languages in the same bot
        • Manage when your bot forgets customers
        • Detect chatter information
        • Protect chatter data using verification and authentication
      • Change your bot's look and feel
      • Test your bot
      • Manage your bot and your team
      • Understand the settings chatters can control
      • Create phone conversations with Voice
    • Integrate Ada with other tools
    • Use Ada with your website
    • Measure success
Login
LogoLogo
On this page
  • Putting it all together
  • Collect information three different ways
Build and maintain your botPersonalize conversations

Use variables in Answers

Previous

Manage variables

Next
Built with

Variables can be injected into any message or action block available in your Ada dashboard.

When you click into any message or action block, a list of available Variables populates under the text field.

Example: To insert a Variable within a Text block, click the spot within the text entry field where you want the Variable to appear. Then click the Variable you want to inject into the message.

Variables are not limited to Text and Shuffle messages, so be creative! Here are some other use cases to be mindful of when building out personalized Answers:

  1. You can collect chatter information and inject it into an API request URL through a Variable.

  2. You can pull images/graphics from an API and inject them into a picture message as a Variable.

  3. You can inject personal information into a URL to customize the page they land on.

Example:

Fallback text should be set for any Variable you inject into an HTTP Request URL or Link message, in case there is an error with the Variable.

Click the Variable in the Text Message, then fill out the fallback text in the pop-up that appears.

Putting it all together

Use these features together to create a customized bot that goes beyond static FAQ-based content. By collecting and using chatter information, you can provide a richer, more helpful experience.

Collect information three different ways

  • Capture blocks to ask chatters for information

  • Request blocks for pulling information from an API

  • setMetaField for passing stored chatter information from your backend to the bot

  • List Option Block to save the item(s) chatters select from a list of provided options

Collect this information to create Variables that represent stored data and inject it into Messages and Actions.

Variables and HTTP Requests are the basics of Personalization. You can create even more personalized conversations with additional features. Read about the possibilities with Personalization here.


Have any questions? Contact your Ada team, or email us at help@ada.cx.