# Criar um voicebot

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

## Configure um canal de Voz

{% stepper %}
{% step %}
[Adicione um **Voz** canal](broken://pages/42ea9b30bb90ce3d9b9fcce87bc11a1dd2a72c41#add-a-channel-to-your-bot) do seu **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 **Salvar**.

Quando os passos anteriores estiverem concluídos, você poderá ver o mesmo número do seu App de Voz do Painel Sinch nos seus números para o canal Sinch Voice no Chatlayer. A URL de Callback do Painel Sinch será preenchida automaticamente para você.
{% endstep %}
{% endstepper %}

## Escolha uma voz para seu bot

{% stepper %}
{% step %}
Em **Configurações** guia, vá para **Voz**.

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

{% step %}
Várias variações dialetais são sugeridas para seus idiomas. Selecione aquela que você gostaria como padrão clicando no botão Tornar padrão depois de passar o mouse sobre ela.

<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 Speech Synthesis Markup Language (SSML) e melhorar a experiência de conversa. Isso precisa ser usado dentro de **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 ativar o SSML, você precisa colocar `<speak>` …  `</speak>` ao redor de todo o texto do bot.&#x20;
{% endhint %}

Por exemplo:

* **Ajustando a Velocidade de Fala**: Use `<prosody rate="slow">` para fazer o bot falar mais devagar para maior clareza.
* **Alterando o Tom**: Utilize `<prosody pitch="high">` para fazer o tom soar mais animado.
* **Enfatizando Palavras**: Aplique `<emphasis level="strong">` para dar ênfase particular a palavras cruciais.
* **Pausando para Efeito**: Insira `<break time="500ms"/>` para criar uma pausa.
* E muito mais!

Há muito mais coisas legais para fazer com SSML!&#x20;

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

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

![](/files/f8654e0694f5f7d4008d22c8d9086115e50facca)<br>
{% endhint %}

##


---

# Agent Instructions: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
