> 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

See [Tickets](/docs/modules/tickets.md) for details on how they work.

The Create Ticket action generates a ticket for the person in the chat and can send a first email.

***

Select a **Create Ticket** action from the tree to open its settings:

* **Auto-apply tags** — the tags and groups assigned to the ticket.
* **Assignee** — the workspace user (e.g. a live agent) that the ticket will be initially assigned to.
* **Email sender** — an email sender, configured in [Email Domains](/docs/settings/teamspaces/email-domains.md).
* **Subject** — the new email thread's subject line. Accepts [chat variables](/docs/developers/chat-variables.md).
* **Description** — the ticket's internal description.
* **Full name** — the name of the recipient. Accepts [chat variables](/docs/developers/chat-variables.md).
* **Email** — the valid email address of the recipient. Accepts [chat variables](/docs/developers/chat-variables.md).
* **Phone number** — the phone number of the recipient. Accepts [chat variables](/docs/developers/chat-variables.md).
* **Email template** — optionally send initial email content from a template:
  * **Will be sent to the person** — select which template is sent to the person.
  * **Will be sent to the assignee** — select which template is sent to the assignee.
* **Custom fields** — any [custom fields](/docs/settings/teamspaces/custom-fields.md) for tickets can be added and their values filled in.

Press **Save** to confirm edits.


---

# 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 current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://documentation.proto.cx/docs/modules/ai-agents/workflows-and-actions/create-ticket.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
