> 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/phone-and-voice/create-a-voicebot.md).

# Criar um voicebot

{% hint style="info" %}
Não tem certeza de quais são as diferenças entre bots de chat e de voz? [Este artigo](/chatlayer-documentation-pt-br/voz/phone-and-voice/from-chat-to-voice.md) vai ajudar você.
{% endhint %}

## Configure um canal de voz

{% stepper %}
{% step %}
[Adicione um **Voice** canal](broken://pages/42ea9b30bb90ce3d9b9fcce87bc11a1dd2a72c41#add-a-channel-to-your-bot) de sua **Canais** guia.

![](/files/d10bfc59ee5f0f109ee13f6590179e144bd30c86)
{% endstep %}

{% step %}
Clique em **Criar**.

<div align="left"><figure><img src="/files/8be6ada7e4254e82d42699f1420d102e9e5ac422" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Clique em **Configure o Sinch Voice**.

<div align="left"><figure><img src="/files/bf990b8ae279328e58174ab0ea9a21acbe519a5d" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Cole sua **Chave Sinch** e **Segredo do app** no Chatlayer.

<div align="left"><figure><img src="/files/351fedf8ecb689bd4141b0f99fd9aaa4a9bb267d" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Clique em **Salvar**.

Quando as etapas anteriores forem concluídas, você poderá ver o mesmo número do seu app de voz no Sinch Dashboard em seus números para o canal de voz da Sinch no Chatlayer. A URL de callback do Sinch Dashboard será preenchida automaticamente para você.
{% endstep %}
{% endstepper %}

## Escolha uma voz para o seu bot

{% stepper %}
{% step %}
Em sua **Configurações** aba, vá para **Voice**.

<div align="left"><figure><img src="/files/c57609eaaa84793413861054d6e8943dd94fc9cd" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
Há vários dialetos sugeridos para seus idiomas. Selecione aquele que você gostaria de definir como padrão clicando no botão Tornar padrão depois de passar o mouse sobre ele.

<figure><img src="/files/bbb12c2d373ac0e5c26907f7d28e21d94d1146a8" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## Personalize a voz do seu bot com SSML

Para aprimorar as respostas do seu bot usando a Speech Synthesis Markup Language (SSML) e melhorar a experiência de conversa. Isso precisará ser usado dentro **Texto** em [blocos](/chatlayer-documentation-pt-br/buildabot/flow-logic/dialog-state.md).

<figure><img src="/files/122ec928ceae6988ddd5631101ab6fce6de5b31a" alt="" width="375"><figcaption><p>Exemplo de texto com SSML.</p></figcaption></figure>

{% hint style="info" %}
Para habilitar o SSML, você precisa colocar `<speak>` … `</speak>` ao redor de todo o texto do bot.
{% endhint %}

Por exemplo:

* **Ajustando a taxa de fala**: Use `<prosody rate="slow">` para fazer o bot falar mais devagar para maior clareza.
* **Alterando a tonalidade**: Utilize `<prosody pitch="high">` para deixar o tom mais animado.
* **Dando ênfase às palavras**: Aplique `<emphasis level="strong">` para dar ênfase especial a palavras cruciais.
* **Fazendo pausas para efeito**: Insira `<break time="500ms"/>` para criar uma pausa.
* E muito mais!

Há muito mais coisas legais para fazer com SSML!

{% hint style="success" %}
Confira tudo o que você pode fazer com SSML em [a documentação do Google](https://cloud.google.com/text-to-speech/docs/ssml?hl=fr).
{% endhint %}

{% hint style="warning" %}
As diretrizes do Google para SSML só funcionarão nas vozes sem a tag "no\_ssml":

![](/files/f8654e0694f5f7d4008d22c8d9086115e50facca)<br>
{% 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.chatlayer.ai/chatlayer-documentation-pt-br/voz/phone-and-voice/create-a-voicebot.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
