# Conexão com um botão

## **Exibir como um botão**

<div data-with-frame="true"><figure><img src="/files/05a53e0f134d09bc974e7ee0169bfc4dd758087d" alt=""><figcaption></figcaption></figure></div>

Por padrão, o **"Exibir como botão"** alternador nas configurações da conexão está **desativado**.

Para criar botões usando a conexão, ative este alternador e insira o texto que você quer que apareça no botão em **Gatilho da conexão** .

Isso funciona apenas em mensageiros que suportam botões.

{% hint style="info" %}
Somente **botões do teclado** podem ser criados usando a conexão
{% endhint %}

Passo 1. Vá para as configurações da conexão e especifique o gatilho:

<div data-with-frame="true"><figure><img src="/files/79184bfa313cc16f58044148aa0e5fc70b594122" alt=""><figcaption></figcaption></figure></div>

Passo 2. Ative a configuração "Exibir como botão":

<div data-with-frame="true"><figure><img src="/files/f9c8269d4a1cc7eada65e53d7b2b19c7ead92ae8" alt=""><figcaption></figcaption></figure></div>

Passo 3. Repita os Passos 1 e 2 se quiser exibir outras conexões como botões:

<div data-with-frame="true"><figure><img src="/files/6c1bfc1082f33e0147d7aabda2b7e3370ba9f8f2" alt=""><figcaption></figcaption></figure></div>

Passo 4. Teste o bot:

<div data-with-frame="true"><figure><img src="/files/93dbe18b6aa766048b69bddcdb9641b94ea2c92e" alt=""><figcaption></figcaption></figure></div>

Pronto!\
As conexões nos blocos agora são exibidas como botões!

<div data-with-frame="true"><figure><img src="/files/dd64ea292d3eac459067b7043bbf217f19c86c30" alt="" width="563"><figcaption></figcaption></figure></div>

**Número da linha e posição na linha:**\
Os botões criados usando conectores são, por padrão, exibidos verticalmente um abaixo do outro.\
Usando este campo, você pode alterar o número da linha para exibir o botão criado pela seta.\
A numeração começa em 0:

<div data-with-frame="true"><figure><img src="/files/ee72e54965aaefe46678c06ca8c133644f797ad3" alt=""><figcaption></figcaption></figure></div>

**Cor do botão:** Se necessário, você pode definir a cor do botão — isso funciona no Viber. Você pode selecionar qualquer cor de botão — clique no **"Conta-gotas"** ícone para abrir a paleta de cores.


---

# 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.mavibot.ai/doc/pt/chatbot/builder/conexoes/buttons.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.
