> 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/create-ticket.md).

# Create ticket

`Action` — Generates a ticket in Proto and optionally sends an email. See [Tickets](/docs/modules/tickets.md) for how tickets work.

## What it does

Opens a trackable support ticket from a chat and can send an initial email to the person and the assignee.

## When to use it

To log an issue or request that needs follow-up by email after the conversation ends.

## Settings

| Setting                              | Description                                                                                                                               |
| ------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------- |
| **Auto-apply tags**                  | Tags and tag groups assigned to the ticket on creation. Tags must first be created in [Tags settings](/docs/settings/teamspaces/tags.md). |
| **Assignee**                         | The live agent or team the ticket is initially assigned to.                                                                               |
| **Email sender**                     | The sending email domain. Must first be configured in Email domains settings.                                                             |
| **Subject**                          | The email thread subject line. Accepts [chat variables](/docs/developers/chat-variables.md) in curly brackets, e.g. `{full_name}`.        |
| **Description**                      | The ticket's internal description. Accepts chat variables in curly brackets.                                                              |
| **Full name / Email / Phone number** | Recipient details. All accept chat variables in curly brackets.                                                                           |
| **Email template**                   | Sends initial email content from a pre-built template. Configure separately for the person and the assignee. Optional.                    |
| **Custom fields**                    | Any ticket custom fields can be pre-filled here.                                                                                          |

Press **Save** to confirm edits.

## Example

```
Ask survey → {financial_institution}, {date}
LLM processing → {complaint_details}
└─ Create ticket
   • Subject:      "Complaint about {financial_institution}"
   • Description:  {complaint_details}
```

## Related

{% content-ref url="/pages/KpQiIGAmCVTGp5hdcACQ" %}
[Ask survey](/docs/modules/ai-agents/workflows-and-actions/ask-survey.md)
{% endcontent-ref %}

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