> For the complete documentation index, see [llms.txt](https://assertchat.gitbook.io/manual-assertchat/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://assertchat.gitbook.io/manual-assertchat/pagina-inicial/relatorios/acoes-em-massa/abrir-via-csv-xlsx-vai-manter.md).

# Abrir via CSV/XLSX(vai manter?)

A opção **Abrir via CSV/XLSX** permite iniciar várias conversas a partir de uma planilha importada para o AssertChat.

Para preparar o arquivo, utilize o modelo disponibilizado pela plataforma e mantenha os nomes das colunas conforme apresentados:

* `telefone`: número do contato;
* `nome`: nome utilizado para identificar o contato;
* `connectionId`: identificação da conexão utilizada para iniciar a conversa;
* `departmentId`: identificação do departamento ao qual a conversa será vinculada;
* `attendantId`: identificação do atendente responsável;
* `mensagemInicial`: conteúdo da primeira mensagem enviada ao contato.

> Não altere os nomes das colunas do modelo, pois eles são utilizados pela plataforma para identificar as informações da planilha.

### Importar a planilha

Para realizar a abertura em massa:

1. Selecione a opção **Abrir via CSV/XLSX**;
2. Em **Origem**, mantenha a opção **Arquivo**;
3. Clique em **Escolher ficheiro**;
4. Selecione a planilha preenchida;
5. Aguarde a validação do arquivo;
6. Clique em **Pré-visualizar ação**.

<figure><img src="https://3085621881-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVVHN1dURTl9HbzaB2XEv%2Fuploads%2FqLS8VZ9PmYtjWlIsbQHk%2Fimage.png?alt=media&amp;token=ad674808-649c-451b-a51c-57fc0a6c6af8" alt=""><figcaption></figcaption></figure>

### Pré-visualização da importação

Após o carregamento, a plataforma apresenta uma prévia dos registros encontrados na planilha.

Essa etapa permite verificar os contatos e as configurações que serão utilizadas antes da abertura das conversas.

Caso algum dado precise ser corrigido, ajuste a planilha e realize uma nova importação.

> Confira principalmente o telefone, a conexão, o departamento, o atendente e a mensagem inicial antes de continuar.

### Confirmar a execução

Após validar as informações apresentadas, clique em **Confirmar execução**.

O AssertChat realizará a abertura das conversas presentes na planilha, utilizando a conexão, o departamento, o atendente e a mensagem inicial informados em cada registro.


---

# 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 following URL with the `ask` and `goal` query parameters:

```
GET https://assertchat.gitbook.io/manual-assertchat/pagina-inicial/relatorios/acoes-em-massa/abrir-via-csv-xlsx-vai-manter.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

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.
