> For the complete documentation index, see [llms.txt](https://zaiadocs.gitbook.io/recursos/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zaiadocs.gitbook.io/recursos/agentes/integracoes-e-canais/whatsapp.md).

# WhatsApp

### Como funciona a integração dos meus agentes com o WhatsApp?

Na Zaia existem duas principais formas de você conectar o seu agente para interações via WhatsApp. A integração Oficial via WhatsApp Cloud e a integração não oficial.<br>

### Quais as principais diferenças entre elas:<br>

Para poder tomar a melhor decisão na hora de escolher entre a integração oficial e a não oficial, é importante você levar em consideração o estágio de implementação que o seu agente se encontra. E o que isso significa?<br>

A integração oficial te permite colocar um agente em pleno funcionamento com segurança, permitindo um alto volume de interações, estabilidade e escalabilidade. Ou seja, para quem já está utilizando o agente no dia a dia, como parte de uma operação real, com alta exigência de performance, utilize sempre a integração oficial. <br>

Já a integração não oficial é super simples de conectar, porém não te dá toda a estabilidade e confiança necessária para uma operação do dia a dia com um volume maior de interações. A integração não oficial é indicada principalmente para testes e operações de baixo risco. Levando em consideração que podem ocorrer desconexões do número utilizado.<br>

Veja nos tutoriais a seguir como realizar as integrações nos dois cenários


---

# 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://zaiadocs.gitbook.io/recursos/agentes/integracoes-e-canais/whatsapp.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.
