> For the complete documentation index, see [llms.txt](https://ajuda.livechat360.com.br/crm/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajuda.livechat360.com.br/crm/administracao/chat-ao-vivo-atendente/encerramento-de-atendimento-usando-nps.md). Agents can also search and read this documentation through its [MCP server](https://ajuda.livechat360.com.br/crm/~gitbook/mcp).

# Encerramento de Atendimento usando NPS

{% hint style="info" %}
Para utilizar o NPS é necessário que ele esteja [configurado](https://ajuda.livechat360.com.br/crm/administracao/respostas-nps.md).
{% endhint %}

<figure><img src="https://920770335-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGYj93MEsVgt6SU5U8KFq%2Fuploads%2FEvOqSZM01uZAEqkCZQz2%2Fimage.png?alt=media&amp;token=6fc19ea3-3fd2-494f-8116-49fa92cd9f27" alt=""><figcaption></figcaption></figure>

Ao encerrar o atendimento é possível enviar um NPS para o contato. Para isso, selecione o botão "Enviar NPS e Encerrar".

A pesquisa de satisfação será enviada para o contato e a conversa será encerrada.

{% hint style="info" %}
Quando o NPS é respondido após o encerramento do atendimento, a resposta não reabre o atendimento. No entanto, caso o contato envie uma nova mensagem em vez de responder ao NPS, o fluxo será retomado normalmente. O contato também pode responder ao NPS enviado a qualquer momento.
{% endhint %}

### Configurações de Encerramento

#### Tempo de encerramento:

Se houver um tempo de encerramento configurado, ao clicar no botão '*Enviar NPS e Encerrar*', o envio do NPS ocorrerá somente após o tempo definido.

#### Mensagem de encerramento:

Se houver uma mensagem de encerramento configurada, ao clicar no botão '*Enviar NPS e Encerrar*', o NPS será disparado ante da mensagem de encerramento.

#### Fluxo de encerramento:

Se houver um fluxo de encerramento configurado, ao clicar no botão '*Enviar NPS e Encerrar*', o NPS será disparado antes do fluxo de encerramento.

{% hint style="info" %}
Obs.: Quando a *Mensagem de Encerramento* e o *Fluxo de Encerramento* estiverem configurados ao mesmo tempo, a ordem de execução será a seguinte:

1. Se o botão **Enviar NPS** tiver sido selecionado, o NPS será disparado primeiro.
2. Em seguida, é enviada a *Mensagem de Encerramento*.
3. Por fim, é iniciado o *Fluxo de Encerramento*.
   {% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://ajuda.livechat360.com.br/crm/administracao/chat-ao-vivo-atendente/encerramento-de-atendimento-usando-nps.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 `automate deployments from our CI pipeline` 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.
