# 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/developer-documentation/chat-variables.md).
* **Description** — the ticket's internal description.
* **Full name** — the name of the recipient. Accepts [chat variables](/docs/developer-documentation/chat-variables.md).
* **Email** — the valid email address of the recipient. Accepts [chat variables](/docs/developer-documentation/chat-variables.md).
* **Phone number** — the phone number of the recipient. Accepts [chat variables](/docs/developer-documentation/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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
