> ## Documentation Index
> Fetch the complete documentation index at: https://chatbase.co/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Draft ticket replies with AI in the Helpdesk

> Generate AI-powered draft responses for Helpdesk tickets and review them before sending.

AI Draft Replies let your support team generate a suggested reply to a ticket, written by your AI agent, directly in the Chatbase Helpdesk composer. The draft uses your AI agent's instructions, Data Sources and the ticket's recent replies, and a human agent reviews, edits and sends it. The feature is set per AI agent, is off by default, and is included on every plan with the Helpdesk (Basic plan or higher).

This allows your team to benefit from the AI agent’s knowledge while maintaining full control over every response.

![AI compose dropdown menu with formatting, tone, and translation options](https://mintcdn.com/chatbase/DwwulVzuP3bSKFIf/user-guides/images/help-desk/ai-draft-replies.gif?s=5014028a7ff1de4b5aa06da4568f6008)

## How AI Draft Replies work

When a human agent is handling a ticket, they click the **Draft reply with AI** button in the message composer. It's an icon-only button with a sparkles icon, in the composer toolbar after the attachments button; hover over it to see its name.

The draft streams into the composer, and the composer is locked until it finishes. The human agent can then:

* Review the generated response
* Edit or personalize the content
* Add any missing information
* Send the response when ready

### What a draft reads

| Source | Used in drafts? |
| - | - |
| The AI agent's instructions and [Procedures](https://chatbase.co/docs/user-guides/chatbot/procedures/procedures-overview.md) | Yes |
| The AI agent's [Data Sources](https://chatbase.co/docs/user-guides/chatbot/data-sources.md) | Yes |
| The last 10 replies on the ticket | Yes |
| Replies from tickets [merged](https://chatbase.co/docs/user-guides/chatbot/help-desk/merging-tickets.md) into this one | Yes, as part of the last 10 replies |
| Read-only [Actions](https://chatbase.co/docs/user-guides/chatbot/actions/actions-overview.md) that are enabled on the AI agent: Web Search, Stripe subscription, invoice and payment lookups, Shopify product, order and cart lookups, and Cal.com or Calendly available slots | Yes, when the draft calls them |
| Actions that change something, such as creating an order or a ticket | No |
| Internal notes | No, except a note that is the ticket's very first entry |
| [Custom fields](https://chatbase.co/docs/user-guides/chatbot/help-desk/custom-fields.md) | No |

> [!NOTE]
>
> Shopify order details reach a draft only through the **Retrieve and display orders** [Shopify Action](https://chatbase.co/docs/user-guides/chatbot/actions/shopify-actions.md#7-retrieve-and-display-orders). If that Action isn't enabled on the AI agent, the draft doesn't see the customer's orders, even though the **Shopify Orders** panel shows them in the ticket sidebar.

### Example

A customer, Jane Doe, emails: "I was charged twice for my March invoice. Can you refund one?" With the Stripe Action enabled, a draft might look up her invoices and suggest:

> Hi Jane, thanks for flagging this. I can see two charges for your March invoice, so I've passed the duplicate to our billing team for a refund.

The agent checks the details against Stripe, edits anything the draft got wrong, and sends it.

## Credits

Each draft uses message credits, just like a reply generated directly by the AI agent. The settings page says: "Each draft uses message credits, just like the AI agent replies."

* The cost depends on your AI agent's [model](https://chatbase.co/docs/user-guides/chatbot/models-comparison.md), and on whether the draft uses an Action, exactly as for an AI agent reply.
* There's no daily cap on drafts. When the account runs out of message credits, drafts stop working until credits are available again.
* AI Draft Replies are the only Helpdesk AI feature that uses credits. Translation, AI Compose, the takeover summary and the Slack summary on close are free.

## Enable AI Draft Replies

To enable AI Draft Replies:

1. Log in to your Chatbase dashboard.
2. Open your AI agent.
3. Go to **Settings**.
4. Select **Helpdesk**.
5. Open **AI draft replies**.
6. Enable the AI Draft Replies toggle.
7. Click **Save**.

Once enabled, the **Draft reply with AI** button appears in the Helpdesk message composer for your human agents on this AI agent's tickets.

## Generate a draft reply

To generate a response:

1. Open a ticket in the Chatbase Helpdesk.
2. Make sure the composer is on the **Reply** tab.
3. Click **Draft reply with AI** in the composer toolbar.
4. Wait for the draft to finish streaming into the composer.
5. Review and edit the draft as needed.
6. Click **Send** when the response is ready.

If the composer already has text, a **Replace your draft?** dialog warns: "Generating an AI reply will replace the text currently in the composer." Click **Replace** to continue or **Cancel** to keep your text. A draft always replaces the composer's text; it never adds to it.

To get a different draft, click **Draft reply with AI** again and confirm **Replace**.

> [!NOTE]
>
> AI-generated drafts are never sent automatically. A human agent must review and send the response.

### When the button is disabled

| Situation | What you see |
| - | - |
| The composer is on the **Note** tab | "Switch to the Reply tab to draft with AI" |
| The ticket has no customer message yet | "No customer message to reply to yet" |
| A WhatsApp ticket is outside the 24-hour window | The composer is locked behind the template banner. Send a [WhatsApp template](https://chatbase.co/docs/user-guides/integrations/whatsapp-templates.md) instead. |

## Disable AI Draft Replies

To remove the AI draft button from the composer:

1. Go to **Settings** → **Helpdesk** → **AI draft replies**.
2. Disable the toggle.
3. Click **Save**.

Disabling this setting hides the draft button from the message composer but does not affect the AI agent’s other Helpdesk functionality.

## Frequently asked questions

> [accordion] Do AI draft replies use message credits?
>
> Yes. Each draft uses message credits, just like an AI agent reply with the same model. There's no daily cap, but drafts stop when the account runs out of credits.

> [accordion] Why can't I see the AI draft button?
>
> AI Draft Replies are off by default. Turn them on in **Settings → Helpdesk → AI draft replies** for the AI agent. The button is icon-only (a sparkles icon) with the tooltip **Draft reply with AI**.

> [accordion] Does the draft read internal notes and custom fields?
>
> No. Drafts skip internal notes, except a note that opens the ticket, and don't read custom fields. They use the AI agent's instructions, Procedures, Data Sources, read-only Actions, and the last 10 replies on the ticket, including replies from merged tickets.

> [accordion] Is the draft written in the customer's language?
>
> Usually. Drafts follow your AI agent's instructions and the customer's messages, so they tend to match the customer's language, but this isn't guaranteed and the Translation setting isn't used. Check the language before sending.

> [accordion] Can I use AI drafts for internal notes?
>
> No. The button only works on the **Reply** tab. On the **Note** tab it's disabled with "Switch to the Reply tab to draft with AI".


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.