> For the complete documentation index, see [llms.txt](https://docs.chatlayer.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chatlayer.ai/chatlayer-documentation-pt-br/voz/send-bot-response-as-audio.md).

# Enviar resposta do bot como áudio

Você pode transformar qualquer campo de texto que seu bot lê em uma resposta em áudio.

<figure><img src="https://181262846-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2F28x1VlI8XKfuj8IffA2H%2FScreenshot%202024-12-10%20at%2015.01.13.png?alt=media&amp;token=1e47b02d-dd59-4d9c-bd66-8ec000e14a50" alt="" width="375"><figcaption><p>Enviar resposta do bot como áudio.</p></figcaption></figure>

{% hint style="warning" %}
A **Enviar como áudio** O recurso está atualmente atrás de uma feature flag. Se você quiser que ele seja habilitado no seu bot, por favor [entre em contato conosco](/chatlayer-documentation-pt-br/support/get-in-touch.md).
{% endhint %}

Para enviar uma resposta do bot como áudio:

{% stepper %}
{% step %}
Do seu [**Construtor**](/chatlayer-documentation-pt-br/navegacao/bot-builder.md), abra um bloco com uma etapa de texto nele.
{% endstep %}

{% step %}
Escreva o texto dentro do campo de texto.
{% endstep %}

{% step %}
Clique no ícone de alternância na parte inferior do campo de texto.

<img src="https://181262846-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2F7yPtNY71AVhUAxiNmxSR%2FScreenshot%202024-12-10%20at%2015.07.34.png?alt=media&amp;token=16c9dd13-ac62-4998-af0d-89aa8ae0a104" alt="" data-size="original">
{% endstep %}

{% step %}
**Alternar** em Enviar como resposta de áudio.
{% endstep %}

{% step %}
**Salvar** seu bloco.
{% endstep %}
{% endstepper %}

Seu bot agora responderá como uma mensagem de voz:

<figure><img src="https://181262846-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FPb35fqMXEth8ZMBBixvl%2FScreenshot%202024-12-10%20at%2015.10.51.png?alt=media&amp;token=59c2564d-5c04-417f-bda6-14345a007c1d" alt="" width="375"><figcaption><p>O bot responde como uma mensagem de voz.</p></figcaption></figure>

{% hint style="info" %}
Para alterar suas configurações de voz, vá para o seu **Configurações**, depois em **Voice** e [escolha uma voz para o seu bot](/chatlayer-documentation-pt-br/voz/phone-and-voice.md#choose-a-voice-for-your-bot).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.chatlayer.ai/chatlayer-documentation-pt-br/voz/send-bot-response-as-audio.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
