Skip to content

How tickets work ​

This page walks through a ticket's full lifecycle, from both the user's and the staff's point of view.

Opening a ticket ​

  1. Users go to the ticket start channel you configured.
  2. They click a button for a ticket type (or choose from a dropdown when you have more than four types).
  3. If pre-open intake is enabled, they fill in a subject and/or description first.
  4. Ogma creates a private text channel visible only to the user, your staff roles, and your management roles.

The channel opens with a welcome message that names the opener, shows any intake answers, and carries a Close ticket button — plus a Request human button if you have turned it on in Settings → Tickets (it is off by default). If the user filled in intake, Ogma replies to it straight away.

By default a user can have only one open ticket per type. Raise the limit, or set it to 0 for unlimited, per type in Settings → Tickets. You can also require or block Discord roles — server-wide or per type — and limit a type to specific handling roles, so only those staff roles see its channels and get its escalation pings.

Each ticket channel is created inside the category (or one of the categories) linked to that type. Channels are named ticket-username-id, where id is a random reference. Enable Sequential ticket names in Settings → Channels to use a per-server counter instead (ticket-alice-1, ticket-bob-2, …), and set a Channel name prefix per category in the channel mapping to replace ticket.

Optional extras in Settings → Tickets:

  • Create staff-only thread — a private thread under each ticket where staff can talk without the customer seeing, optionally pinging your staff roles.
  • AI recategorization (with intake on) — when intake answers clearly describe a different ticket type, Ogma moves the ticket to that type's category.

Moving a ticket channel into another type's category by hand also changes the ticket's type.

Business hours ​

If you enable business hours in Settings → Business hours, Ogma can:

  • Reply to customer messages outside your hours with your away message instead of an AI reply (on by default once business hours are enabled)
  • Add your hours, typical response time, and next opening time to the away message
  • Stop new tickets being opened outside hours — the panel shows the away message instead. Ticket creation outside hours is allowed by default.

Tickets opened outside hours include the away message in their welcome message.

AI replies and the knowledge base ​

When a user sends a message in a ticket:

  • Ogma waits a few seconds (the Reply delay, 3 seconds by default) so several quick messages get a single reply.
  • It searches your knowledge base (uploaded files, pasted text, synced URLs, and tips).
  • If it can answer, it replies.
  • If it cannot answer, or decides the ticket needs a person, it escalates — see Escalation.
  • When the conversation looks finished, Ogma may post a Ready to close? message with a Close ticket button. The ticket owner, anyone added to the ticket, or staff can press it; nothing closes until they do.

You can turn AI replies off server-wide (Settings → AI & voice → Bot replies) or for a single ticket type, which makes that type staff-only.

Once a staff member sends a message, Ogma pauses before replying again. By default it stays silent while the last staff reply is within 30 minutes or among the 5 newest messages. Only members with a configured staff role count as staff here. Change this in Settings → Team & bot handoff → When staff take over — see Staff reply behaviour.

Escalation to staff ​

A ticket escalates when:

  • The user clicks Request human (if enabled)
  • Ogma cannot answer from your content, or your ticket type's escalation policy says a person should handle it
  • Frustration detection decides the customer needs a person
  • Automation rules escalate on keyword, CSAT, or SLA triggers
  • Staff escalate it from the dashboard

Escalated tickets stay in the same private channel, and Ogma pings your escalation roles (Settings → Team & bot handoff) there. Ogma stops replying in an escalated ticket until staff run /deescalate or resume the bot from the dashboard. Staff reply directly in the channel.

Assignment and the staff queue ​

On Plus/Enterprise with auto-assignment enabled, new tickets may be assigned automatically (round robin or load balanced). Otherwise staff claim tickets from the dashboard Command center or with /claim in Discord. You can turn claiming off for the whole server in Settings → Tickets → Allow claiming tickets.

The Command center filters by all open, yours, unclaimed, and awaiting staff. A ticket is awaiting staff after the customer writes, or while it is escalated. See Tickets → Command center.

Adding people ​

The ticket owner or staff can bring someone else into the channel with /add, and take them out with /remove. Editing the channel's permissions in Discord works too — Ogma records the change against the ticket. See Adding and removing people.

Lockdown ​

Management can run /lockdown on sensitive tickets. Regular staff, and anyone added to the ticket, lose Discord access to the channel until /unlock. Closed lockdown tickets remain visible only to management in the dashboard.

Configure Management roles in Settings → Team & bot handoff first.

Inactivity auto-close ​

When Auto-close inactive tickets is on in Settings → Tickets, Ogma closes tickets after a set number of days without messages:

  • An optional warning is posted a set number of days before close. Any reply cancels it.
  • An optional longer timeout applies to escalated tickets.
  • Staff can run /keepalive to exempt an individual ticket from inactivity warnings and auto-close — permanently, for that ticket.

Defaults when enabled: warning after 2 days, close at 3 days, 7 days for escalated tickets.

Customer messages only is on by default. In this mode the clock only runs while the ticket is waiting on the customer — after staff or Ogma replied. While the customer has the last word, the ticket stays open, unless nobody posts anything at all for twice the close period. Turn on Always close after the time has passed to close on elapsed time alone, even when the ticket is waiting on your team.

Auto-close posts your close message, archives the transcript, sends the user a rating DM, and deletes the channel.

Closing a ticket ​

There are two ways to close a ticket:

  • /close — needs a configured staff role, Manage Channels, or Manage Server. It requires a reason (Resolved, Duplicate, User unresponsive, User left server, Out of scope, Spam / abuse, or Other), takes an optional note (500 characters), and can delay deleting the channel. See Commands → Closing a ticket.
  • The Close ticket button — staff who press it pick a reason and can add a note. Anyone else in the channel, such as the customer, closes the ticket straight away as resolved.

If the ticket owner leaves your Discord server, Ogma closes their open tickets automatically with the reason User left server.

On close:

  1. The transcript is archived and the channel is deleted (immediately, unless /close was given a timeout).
  2. The user receives a CSAT DM: Helpful (👍), Not helpful (👎), or Skip, with an optional comment.
  3. A transcript posts to #ticket-transcripts (unless the ticket was under lockdown — see below).
  4. The user is DMed a copy of the transcript when Send transcript to customer on close is on. It is always on for Free and Basic.
  5. If auto-learn is enabled, staff participated, and the ticket was not under lockdown, Ogma extracts tips and posts them to #learned-tips.

Optional post-close follow-up DMs check whether the issue was truly resolved. They are skipped for inactivity closes, lockdown closes, and tickets closed because the owner left.

Transcripts are also in dashboard Tickets. Retention is controlled under Data & retention.

Tips and learning ​

If Auto-learn is on, tips are added to the knowledge base on close and summarised in #learned-tips. Staff can remove unwanted tips from Discord or the dashboard Tips page.

Lockdown closes skip tip extraction, the #ticket-transcripts post, and the customer transcript DM.

See Auto-learn and Tips.

Proactive follow-ups (Plus/Enterprise) ​

Proactive follow-ups (Settings → Notifications) post a one-off nudge in the ticket channel when an open ticket is older than the number of hours you set (48 by default).

A 👎 rating after close always records a quality flag on Plus/Enterprise and runs any CSAT automation rules. With Reopen on negative CSAT on, Ogma also posts an apology in the ticket channel — but the channel is normally deleted on close, so this only reaches the customer if the channel still exists (for example, closed with a /close timeout). It does not reopen the ticket.

Related: Commands, Escalation, Support ops, Settings.

Ogma — answer once, reuse forever. · FiniAC · Blog · llm.txt (full docs for LLMs)