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

# Generate a chat transcript using the Fetch Chat Metadata block

## Overview\[#UUID-ecd6233d-b936-daf8-1224-1ea7ed35d218_id_4403535895699_id_h_01FBJ88X201KWH5K2DR19Y0CR1]

The **Fetch Chat Metadata Block** retrieves the chat transcript and/or
chatter info from a conversation, and saves them as variables. This is
useful for easily passing that information to your database. It is also
a critical component of the Zendesk Ticketing App handoff process.

This block is a passive block. The chatter doesn't interact directly
with it and won't be aware of its presence when it triggers.

## Configure the Fetch Chat Metadata Block\[#UUID-ecd6233d-b936-daf8-1224-1ea7ed35d218_id_4403535895699_id_h_01FBJ89EFEY5YG2CE92NEMFSZQ]

1. On the Ada dashboard, go to **Build** > **Answers**, then open the Answer you want to fetch metadata
   in.
2. From the block drawer, drag the **Fetch Chat
   Metadata** block into your Answer.
3. Under **Select Variables for Inputs**, beside **Chatter Token**, click inside the field and add the red **chatter_token** metavariable.
4. Under **Save Response as Variables**, click the **Select Optional Variables** drop-down menu, then select
   any optional variables you’d like to capture:
   * **Transcript and Summary**: Select this option to save the
     conversation transcript and summary to a variable.
   * **Transcript Only**: Select this option to save just the
     conversation transcript to a variable.
   * **Summary Only**: Select this option to save just the
     conversation summary to a variable.
   * **Chatter Info**: Select this option to save the chatter’s metadata to a variable. This is the same information available
     about the chatter’s meta variables when you’re viewing a chat
     transcript.
5. For each optional variable you selected, click the **Choose
   a Variable** drop-down menu, then select an existing variable, or
   create a new one, to capture the information.
6. Under **Fallback Answer**, select an Answer to appear as a fallback if an error occurs.
7. Click **Save**.

The Fetch Chat Metadata Block is set up and ready to go.

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

### Related Articles

[Zendesk Ticketing App](/scripted/docs/integrate-ada-with-other-tools/use-ada-with-zendesk/create-customizable-email-tickets-using-the-zendesk-ticketing-app)

[File Upload](/scripted/docs/build-and-maintain-your-bot/work-with-blocks-and-apps/let-chatters-upload-files-using-the-file-upload-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>).