> For the complete documentation index, see [llms.txt](https://oodlz-ai-studio.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://oodlz-ai-studio.gitbook.io/docs/inbound-agent/every-channel/voice/dual-output.md).

# Dual Output

Audio for the ears, full markdown for the screen — both from the same agent response, retrievable separately by the voice client.

> **One agent response, two delivery formats — listened to and clicked.**

A single voice turn produces two outputs. The audio goes back as the immediate webhook response. The full markdown version — formatted brand cards, real deeplinks, intact links — is written to Redis under a query ID with a 1-hour TTL. The voice client retrieves the markdown separately when it needs to display the transcript on screen alongside the audio.

## How It Works

When the voice path generates audio, it also writes the full markdown version of the same response into Redis, keyed by the query ID returned with the audio. The TTL is 1 hour — long enough for the voice client to fetch the transcript whenever the user wants to see clickable links, short enough that stale responses don't accumulate.

A second endpoint takes the query ID and returns the cached markdown. The voice client calls this endpoint after playback or when the user taps a "show transcript" control. The response carries the original brand cards, full URLs, and any deeplinks the voice path stripped from the audio narration — so the listener can act on the offer without typing the URL they just heard.

## What You Get

* Spoken response and full markdown transcript from a single agent call — no second LLM run to generate the text version.
* Clickable deeplinks preserved in the markdown even when the audio omits them.
* 1-hour retrieval window — generous for active sessions, automatic cleanup for abandoned ones.
* Same query ID linking the audio and the transcript — no extra session bookkeeping in the voice client.
