# How a Helpdesk ticket moves from start to finish > What happens to the conversation when a ticket opens, while your team works it, and after it closes When a customer needs a person, a ticket opens and the AI agent stops replying in that conversation. Your team answers from **Tickets**. Closing the ticket ends your team's work on it, but it doesn't switch the AI agent back on: a teammate does that from **Inbox** with **Resume AI**. > [!WARNING] > > Waiting on the customer? Set the ticket to **On customer**, not **Closed**. A customer reply moves an **On customer** ticket back to **On you**, but it doesn't reopen a closed ticket. ## How tickets are created Every ticket starts as **New**. | How it starts | What happens to the conversation | | - | - | | The AI agent runs the [Escalations](/docs/user-guides/chatbot/actions/escalate-to-human) Action | The AI agent stops replying, and the conversation shows **AI paused: ticket TKT-n was created.** | | A Procedure runs the Escalations Action | The Procedure's remaining steps run, then the AI agent stops replying. | | A teammate clicks **Takeover** on a conversation in **Inbox** | The AI agent stops replying, and the ticket goes to that teammate. See [Takeover](/docs/user-guides/chatbot/help-desk/takeover). | | A customer emails your [Helpdesk address](/docs/user-guides/chatbot/help-desk/email-settings) | A ticket opens for the email thread. | | A customer replies to an [Outbound](/docs/user-guides/chatbot/outbound-campaigns) campaign set to **Human takeover** | A ticket goes to your team instead of an AI reply. | | A teammate clicks **New ticket**, or your system uses the [Helpdesk API](/docs/api-reference/v2/helpdesk) | A ticket opens. | With [ticket reuse](/docs/user-guides/chatbot/help-desk/ticket-reuse) turned on, a verified customer who already has an open ticket joins it from a new email thread, or from a new chat when **Include chats** is on, instead of opening another one. When the AI agent joins a conversation to an open ticket this way, it stops replying just as it does for a new ticket. Opening a ticket never puts the customer in a queue. The ticket waits for your team in its views, and the customer's next messages go to the ticket. ![The activity lines on ticket TKT-1: Trigger Route to default team ran, QWRY AI changed status New to On you, QWRY AI changed priority Medium to Urgent, and QWRY AI assigned this ticket.](annotated/01-activity.webp "Every change is recorded on the ticket.") ## Who gets the ticket * A takeover ticket goes to the teammate who took over. * Other tickets get a team from your [triggers](/docs/user-guides/chatbot/help-desk/triggers). The built-in **Route to default team** trigger gives any new ticket without a team your default team. * Once a ticket has a team, the team's [assignment strategy](/docs/user-guides/chatbot/help-desk/assignment-algorithm) picks a teammate: nobody with **Manual**, the next available member with **Round Robin**, or the available member with the fewest open tickets with **Balanced**. If no member is available when the ticket arrives, it stays unassigned and appears in **Unassigned** until someone takes it or assigns it. ## What replies do to the status * A customer reply moves an **On customer** ticket to **On you**. * A customer reply doesn't change a ticket that's **New**, **On you** or **On hold**, and doesn't reopen a closed or cancelled one. * A teammate's reply doesn't change the status. Set it yourself, or use **Send and close**. If the ticket's team has **Unassign on reply** on and the assignee is offline when the customer writes, the ticket is unassigned so an available teammate can pick it up. ## Closing a ticket Use **Closed** when the issue is solved and **Cancelled** for spam, duplicates or mistakes. Close a ticket with the **Close** button in its header, with **Send and close**, from the status menu, in bulk from the list, or with a trigger or automation. ![The ticket header of TKT-5 with its On you status button and the Close button.](annotated/02-close.webp "Close moves the ticket to Closed.") ![The bottom of the reply composer with the Send and close button next to Send.](annotated/03-send-close.webp "Or reply and close in one step.") When a ticket moves to **Closed**: * the customer is emailed that their ticket is resolved, with its number; * your [satisfaction survey](/docs/user-guides/chatbot/help-desk/satisfaction-surveys) is sent, if CSAT surveys are on. **Cancelled** sends neither. ### Bringing the AI agent back Closing or cancelling a ticket doesn't switch the AI agent back on in that conversation. Open the conversation in **Inbox** and click **Resume AI** when you want the AI agent to answer again. ## Locked tickets Some closed tickets lock, so the conversation history stays in one place. The composer is replaced by **This ticket is locked** and the reason. You can still add notes, but you can't reply or change the status, and bulk updates skip the ticket with a message that it is closed and cannot be reopened. | What it says | When | What to do | | - | - | - | | The conversation continues in ticket TKT-n. | A teammate took the conversation over in a new ticket. | Click **Go to ticket TKT-n**. | | This ticket was merged into TKT-n. | The ticket was [merged](/docs/user-guides/chatbot/help-desk/merging-tickets). | Reply in the ticket it was merged into. | | The conversation has ended. | A closed ticket whose chat has ended. | Take the conversation over. | | The conversation is back with the AI agent. | A closed ticket from a customer conversation. | Take the conversation over. | Tickets a teammate opened with **New ticket** don't lock: you can set them back to an open status at any time. To talk to the customer again from a locked ticket: * **Take over in this ticket** reopens the same ticket as **New** and keeps the history together. * **Take over in a new ticket** opens a fresh ticket and leaves this one closed. ## Reopening a ticket Set an unlocked ticket to any open status from its status menu. A locked ticket reopens only with **Take over in this ticket**. A merged ticket can't be reopened. ## Merging Merge duplicate tickets from the same customer into one. The merged ticket closes and its new replies go to the ticket you kept. See [Merging tickets](/docs/user-guides/chatbot/help-desk/merging-tickets).