Actions22
Chat → Encerrar
AI-generatedSummary
Close an active chat by its ID, optionally sending a final message to the client and a customer feedback request upon closure.
Inputs
- ID do Chat (required) — ID of the chat to be closed.
- Enviar Avaliação ao Cliente — Whether to send a customer feedback evaluation when closing the chat (default: false).
- Enviar Mensagem Final — Whether to send the company's configured closing message to the client upon chat closure (default: false).
Output shape
a single JSON object representing the chat closure response
Returns the response from the POST /api/chat/{chatId}/close API endpoint. No pagination or additional fields are indicated.
Examples
Example 1: Close a chat with ID "12345" sending both the final message and the customer feedback request.
Set 'ID do Chat' to '12345', enable 'Enviar Mensagem Final' and 'Enviar Avaliação ao Cliente' checkboxes.
