> For the complete documentation index, see [llms.txt](https://hscorp.highsoftsistemas.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hscorp.highsoftsistemas.com.br/faq/hsenvia/como-configurar-o-hsenvia-para-enviar-mensagens-de-whatsapp.md).

# Como configurar o HsEnvia para enviar mensagens de WhatsApp?

Escolha o número que será utilizado para as operações de WhatsApp no Sistema e repasse para o nosso setor de Comercial.

Irá ser gerado um token e uma instância repassado à você. Após isso, dar continuidade aos seguintes passos:

### Ativando o Parâmetro Personalizado <a href="#ativando-o-parametro-personalizado" id="ativando-o-parametro-personalizado"></a>

Abrir a tela de parâmetros personalizados no caminho Cadastro > Gerais > Parâmetros Personalizados.

Clique em `Pesquisar` e pesquise por **NUM\_TOKEN\_WHATSAPP**.

Preencha com o token enviado pelo comercial.

<figure><img src="/files/xF6OBMTsadilDcnw3xkD" alt=""><figcaption></figcaption></figure>

Abrir a tela de parâmetros personalizados no caminho Cadastro > Gerais > Parâmetros Personalizados.

Clique em `Pesquisar` e pesquise por **NUM\_INSTANCIA\_WHATSAPP**.

Preencha com a instância enviada pelo comercial.

<figure><img src="/files/nY8lLYx7vfqYtOTR5cnP" alt=""><figcaption></figcaption></figure>

Abrir a tela de parâmetros personalizados no caminho Cadastro > Gerais > Parâmetros Personalizados.

Clique em `Pesquisar` e pesquise por **DIR\_SERVIDOR\_WHAT**.

Preencha com o número 1 para ativar.

<figure><img src="/files/n7C5hFNJsw113mWmJ7P2" alt=""><figcaption></figcaption></figure>

### Configurando o número por empresa

Abrir a tela de parâmetros personalizados no caminho Cadastro > Gerais > Empresa.

Pesquisar pela empresa logada e selecionar.

Após isso, abra os seguintes menus Parâmetros > Vendas > Web Service > WhatsApp

<figure><img src="/files/H44lwY6wFfmBLql8sV3x" alt=""><figcaption></figcaption></figure>

Informar os códigos de Id Instância e Token.

Clicar em Status WhatsApp e fazer a leitura QR CODE com aparelho celular que esteja usando o número do token informado.

### Configurando número por setor <a href="#configurando-numero-por-setor" id="configurando-numero-por-setor"></a>

Caso opte por trabalhar com mais de um número de WhatsApp, a configuração do HsEnvia deve ser feita por setor.

Abrir a tela de setores no caminho Cadastro > Comercial > Clientes > Setores.

<figure><img src="/files/5evGibg8czGqkKfd6Qod" alt=""><figcaption></figcaption></figure>

Pesquisar pelo setor desejado e selecionar.

Marcar a opção Terminal WhatsApp

Clicar em `Status WhatsApp` e fazer a leitura QR CODE com aparelho Celular que esteja usando o número do token informado.


---

# 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://hscorp.highsoftsistemas.com.br/faq/hsenvia/como-configurar-o-hsenvia-para-enviar-mensagens-de-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.
