## Overview

The **writing assistant** helps the agent inside the conversation editor. It does four things:

- **Suggest reply** — drafts the next reply from the conversation. On email it adds a greeting and the
  signature; on chat it stays short and direct.
- **Summarize** — summarizes the conversation with the customer's intent, what happened, the action items
  and what is still open, in the account's language.
- **Rewrite** — fixes spelling and grammar, improves the draft using the conversation as context, or applies
  a tone (casual, professional, friendly, confident or straightforward).
- **Suggest labels** — suggests labels for the conversation, chosen **only** among the labels that already
  exist in your account.

After each result you can **refine** it with your own request ("shorter", "ask whether they still need the
invoice").

The assistant **never acts on its own**: it does not send a message, apply a label or change the
conversation. It only returns text (or labels) for you to review and decide.

By default the assistant answers **as before**: with the account's OpenAI integration key (or the
installation's) and the same model as before. Since this version the administrator can also choose, in the
**Writing assistant** card, a model of any supported AI provider (OpenAI, Anthropic, Google, Groq, xAI,
DeepSeek, OpenRouter, Cohere, Alibaba Cloud, Mistral) or the account's **robot defaults**, which run on the
**Maestro**. The buttons, the result and who may use it stay the same.

## Prerequisites

- The writing assistant feature enabled for the account (the same one as before; whoever used it keeps using
  it).
- For the default (**As before**): the account's active OpenAI integration or the installation's OpenAI key.
- To choose a model or use the robot defaults: the Maestro configured on the installation and an API key for
  the provider that will answer (the account key in **Settings → Integrations**, or the installation key when
  the installation administrator allows it).

> **With no choice, nothing changes for those who already used it.** While the account chooses nothing, the
> assistant answers as before: with the account's OpenAI integration key, when it is active, or with the
> installation's OpenAI key, and the same model as before (including the per-feature choice the account had
> already stored). The Maestro is not called. When the provider shuts down an OpenAI model, this path moves to
> the official replacement by itself on that date. Without any of these keys, the assistant shows an error that
> says how to fix it.

## Step by step

### Use it in the editor

1. Open a conversation and click the reply editor.
2. Use the editor's AI button to **Suggest reply**, **Summarize** or, with a draft written, **Improve**,
   **Fix spelling and grammar** or pick a **tone**.
3. Review the result. To adjust it, type your request in the refine field and send it.
4. Send the message only when you agree with it — nothing is sent without you.

**Label suggestions** appear by themselves below the conversation once it has enough content (at least three
customer messages) and the feature is on.

### Choose the account's model (administrator)

1. Go to **Settings → Bots**.
2. In the **Writing assistant** card, read the line that says which key and model the assistant answers with
   today.
3. In **Model**, keep **As before: OpenAI key (default)**, choose **Use the default of my robots**, or choose a
   model from the list.
4. Optionally turn on **Use the default of my robots when the chosen provider has no key**.
5. In **Automatic label suggestions**, choose to follow the OpenAI integration (as before), on or off.
6. Click **Save**.

If the model catalog is unavailable, retry loading it. If a credential is missing, users with permission to manage integrations can follow the provider link to its settings.

## Settings & options

| Option | Default | What it does |
|---|---|---|
| Model | As before: OpenAI key | **As before**: the account's OpenAI integration (else the installation's OpenAI key) and the model of before; the Maestro is not called. **Default of my robots**: each conversation uses the model of the robot of its inbox; without one, the robot chosen for the copilot; without any, the installation's model chain — and, when none of them has a key or the Maestro does not answer, the OpenAI key of before. **A model**: every task uses the chosen model. |
| Use the robot defaults when a key is missing | Off | Off: if the chosen provider has no key, the assistant shows an error naming the provider. On: it answers with the robot defaults. |
| Automatic label suggestions | Follow the OpenAI integration | Follow: the OpenAI integration's "label suggestion" option applies, as before. On/Off: the account decides, without needing the OpenAI integration. |

- Only **current models** are offered for a new choice. A model that was already chosen and is being retired
  keeps working until its date and then runs on the provider's official replacement; the card shows the
  notice.
- Usage appears in **AI usage**, on the copilot surface.

## Use cases

- **Team with OpenAI and Anthropic**: the account picks an Anthropic model for the assistant and keeps the
  robots as they are.
- **Account without an OpenAI integration**: turns label suggestions on in the card, without creating the
  integration.
- **Email support**: the suggestion already comes with a greeting and the agent's signature.

## Tips, limits & best practices

- Very long conversations are read up to about 400,000 characters, from the most recent messages backwards —
  the summary and "Improve" of a huge conversation use its most recent part instead of failing.
- A draft (or a refinement request) longer than the assistant accepts is refused with a clear message, so that
  only part of your text is never rewritten without notice.
- In an account with thousands of labels, the suggestions consider the account's first 2,000 labels.
- Label suggestions do not appear in conversations with more than 100 messages, or with more than 20 messages
  when the last one is from the agent.
- Always review the facts in a draft before sending it.

## Troubleshooting

- **"There is no API key for … in this account"** — add that provider's key in **Settings → Integrations**,
  choose another model in the card, or turn on using the robot defaults when a key is missing. With **Use
  the default of my robots**, this error only appears when there is also no OpenAI key on the installation or
  in the account's OpenAI integration.
- **"There is no OpenAI key for the AI writing assistant…"** — with no choice, the assistant uses the OpenAI
  key of before. Turn on the OpenAI integration in **Settings → Integrations**, ask the installation
  administrator for the OpenAI key, or choose a model or the robot defaults in the card.
- **"The AI writing assistant runs on the Maestro, which is not configured…"** — ask the installation
  administrator to configure the Maestro.
- **"The AI provider refused the request…"** — check the quota and the key with the provider.
- **The AI button does not appear** — the writing assistant feature is not enabled for the account.

## See also

- [Generative copilot: propose, confirm and execute](/hc/ajuda/articles/maestro-brain-copiloto-generativo-en)
- [Where each Robô is used: the account's surfaces](/hc/ajuda/articles/maestro-brain-onde-cada-robo-e-usado-en)
- [AI usage: what your account spent, and where](/hc/ajuda/articles/maestro-brain-consumo-de-ia-por-conta-en)