> This page is for version Scripted.
> For other versions, use one of these documentation indexes:
> - Generative (default): https://developers.ada.cx/generative/llms.txt
> - Scripted: https://developers.ada.cx/scripted/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.ada.cx/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.ada.cx/_mcp/server.

# Use variables in Answers

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.*

![](/_fern-files/_img/3f3be7e95c3d5b8c80ddc515c88294f3e21b06538e09a558c5ce565b46e55d35.webp)

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](/scripted/docs/build-and-maintain-your-bot/work-with-blocks-and-apps/make-api-requests-using-the-http-request-block)
   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:**

![](/_fern-files/_img/ae875a57c01d3db979f918a0d4c0d1850bff5d14d53df5ae72fc1a62bf88dd66.webp)

**Fallback text** should be set for any Variable you inject into an
[HTTP Request](/scripted/docs/build-and-maintain-your-bot/work-with-blocks-and-apps/make-api-requests-using-the-http-request-block)
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](/scripted/docs/build-and-maintain-your-bot/work-with-blocks-and-apps/save-chatter-information-using-the-capture-block) to ask chatters for
  information

* [Request](/scripted/docs/build-and-maintain-your-bot/work-with-blocks-and-apps/make-api-requests-using-the-http-request-block)
  blocks for pulling information from an API

* [setMetaField](https://developers.ada.cx/reference/embed2-reference#setmetafields)
  for passing stored chatter information from your backend to the bot

* [List Option Block](/scripted/docs/build-and-maintain-your-bot/work-with-blocks-and-apps/create-selectable-menus-using-the-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](/scripted/docs/build-and-maintain-your-bot/work-with-blocks-and-apps/target-content-to-chatters-using-the-conditional-block).

---

Have any questions? Contact your Ada team, or email us at [](<mailto:help@ada.support%20%E2%80%9CHelp Docs inquiry%E2%80%9D>).