# Ticket System

#### Q: How do users create tickets?

A: Users can create tickets by:

* Clicking the "Open Ticket" button in the support channel
* Using custom buttons (if configured)
* The bot automatically creates a private ticket channel

#### Q: How many tickets can a user have open at once?

A: By default, users can have 1 open ticket. Admins can change this using /set-ticket-limits \<number> to allow multiple open tickets per user.

#### Q: What happens when a ticket is created?

A: When a ticket is created:

* A private channel is created in the "Tickets" category
* Only the ticket creator and staff can see it
* A welcome message is sent with ticket information
* Configured ping roles are notified (if set up)
* An AI session is created for automatic responses

#### Q: How do I close a ticket?

A: Tickets can be closed by:

* Clicking the "Close Ticket" button in the ticket channel
* Both the ticket creator and staff can close tickets

#### Q: What happens when a ticket is closed?

A: When closed:

* A transcript is automatically generated
* The transcript is sent via DM to the ticket creator
* The transcript is posted to the logs channel
* The ticket channel is deleted

#### Q: What are custom buttons?

A: Custom buttons allow you to add additional buttons to your ticket panel (e.g., FAQ, Rules, Apply). Use /add button \<button\_id> to add them. Maximum 4 custom buttons (plus the default "Open Ticket" button).

#### Q: How do I customize the ticket panel?

A: Use /edit to customize:

* Panel title and description
* Footer text
* Embed color
* Button label

#### Q: How do I customize the welcome message inside tickets?

A: Use /edit-inside-panel to customize:

* Description (supports {user\_mention} placeholder)
* Embed color
* Commands field name and value
* Footer text


---

# 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://ansari-labs.gitbook.io/ansari-labs/products/ai-powered-ticket-tool/faqs/ticket-system.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.
