> For the complete documentation index, see [llms.txt](https://documentation.proto.cx/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.proto.cx/docs/modules/ai-agents/workflows-and-actions/chat-closed.md).

# Chat closed

`Trigger` — Permanent and top-level. Fires when a live agent closes a chat. Cannot be deleted or disabled.

## Fires when

A live agent marks a chat as Closed.

## When to use it

To run automated actions immediately after a conversation ends — collecting feedback, creating a follow-up ticket, or logging data via an API call.

## Available actions

Because the chat is already closed when this trigger fires, conversational actions (Send message, Show carousel, etc.) are not available. The following actions can be added beneath Chat closed:

Collect feedback · Create ticket · Jump · Branch · Set variable · Switch language · Send API · LLM processing · Auto fill field · Auto team match · SQL query · Send graph · Close chat

## Example

```
Chat closed
└─ Collect feedback
   • Rating enabled
   • Webchat rating title: "Please rate the conversation"
```

## Related

{% content-ref url="/pages/zHnrwl1RiWBAK4n2lNdJ" %}
[Collect feedback](/docs/modules/ai-agents/workflows-and-actions/collect-feedback.md)
{% endcontent-ref %}

{% content-ref url="/pages/aLlL00SsNeVzsBT6G7gY" %}
[Live agent handoff](/docs/modules/ai-agents/workflows-and-actions/live-agent-handoff.md)
{% endcontent-ref %}
