# My Styles

> Teach your agent to write like you: learn a style from your real WhatsApp messages, place it in an agent's prompt, then publish.

Source: https://docs.whatsetter.com/dashboard/styles/

A style is the way you write, learned from messages you really wrote: how
long they are, your capitals, your punctuation, your emojis, your words. You
create a style once under **My Styles** in the menu, then use it on one or
several agents so they write like you.

## What a style is

Open **My Styles** in the menu. Each line is a style: something you make
once, then use on one or several agents, like a knowledge base.

A style decides how your agent writes, not what it does. The agent keeps its
role and its rules, and it still answers in the lead's language. Without a
style, an agent writes with the tone described in its prompt.

A style is learned from written messages. You give them in one of three ways:
a chat exported from your WhatsApp, messages you paste, or the replies you
typed yourself to leads.

In the prompt editor, a style is also called a persona, and this page My
Style. It is the same thing.

## Your agent's number is new: where to find messages

Many teams give their agent a number bought for it. A new number has no chat
history, so there is nothing on it to learn from. You do not need to wait.

Open **My Styles** and click **New style**. Use what you already have:

- **A chat from my WhatsApp**: a chat exported from your usual WhatsApp, the one you write in every day, with any of your numbers. Choose a chat where you write a lot.
- **Paste messages**: a few of your messages, copied and pasted.

**My replies to leads** fills up later, once you have answered leads yourself
from an agent's number, from your phone or from **Conversations**.

The window puts the best option for you first and marks it **Advised**. With
at least 20 hand-typed replies on one number, that option is
**My replies to leads**. Otherwise it is **A chat from my WhatsApp**.

## Create a style from a WhatsApp chat

1. On your phone, open the chat in WhatsApp. Tap the name at the top (iPhone) or the three dots (Android), then "Export chat" and "Without media". Send the file to yourself.
2. In the app, open **My Styles** and click **New style**. If you have no style yet, the button reads **Create my style**.
3. Choose **A chat from my WhatsApp** and drop the file: a .zip from an iPhone, a .txt from Android.
4. Under **Who are you in this chat?**, pick your name. Only your messages are kept.
5. Check the **Style name** and click **Learn this style**.

Two things can stop you. The file is not a WhatsApp export: choose the .zip
or the .txt that WhatsApp created. Or the chat holds more than 8 MB of text:
choose a shorter one.

Lines that WhatsApp wrote itself are ignored, such as an omitted media file,
a deleted message or a missed call.

## Create a style by pasting messages

1. Open **My Styles** and click **New style**.
2. Choose **Paste messages**.
3. In **Your messages**, paste messages you wrote, one message per line.
4. If you pasted a whole chat with its dates and names, pick yourself under **Who are you in these messages?**.
5. Check the **Style name** and click **Learn this style**.

The window counts the messages it keeps while you paste. Use this way when
you have no export at hand, or to type a few messages the way you would send
them: this is how you make a style by hand.

Paste text only. A line that holds one word, or only a link, is not counted.

## Create a style from your replies to leads

This way needs replies that a person of your team typed to leads from an
agent's number.

1. Open **My Styles** and click **New style**.
2. Choose **My replies to leads**.
3. Pick the number the replies were sent from. Each number shows how many replies it holds.
4. Read the sample replies, check the **Style name** and click **Learn this style**.

What counts:

- Replies typed by a person, from the phone or from **Conversations**. Messages written by the agent do not count. Neither do group messages or messages sent through the API.
- Replies are kept apart number by number: two numbers are often two people.
- The 300 most recent replies of the number are used.
- Email addresses, phone numbers and links are hidden before anything is learned.
- A number with fewer than 5 usable replies cannot be picked.

Only your team's 2,000 most recent hand-typed replies are looked at.

## How many messages a style needs

Open **My Styles** and click **New style**: under your choice, a line counts
the messages kept.

| Messages kept | What happens |
|---|---|
| Fewer than 5 | The style cannot be learned. The window says **At least 5 are needed.** and the **Learn this style** button stays disabled. |
| 5 to 19 | The style can be learned. The window notes **From 20 messages on, the style is more faithful.** |
| 20 or more | No note. |
| More than 300 | Only 300 are used. |

A message is kept when it has at least two words and no more than 600
characters. A link alone is dropped, and so is a media placeholder such as
"[Image]". A message repeated word for word counts once.

A style learned from fewer than 20 messages carries this note on its page:
**Learned from few messages: this portrait is approximate.**

## What the style page shows

Open **My Styles** and click a style.

- At the top: its name, its status and where it was learned from, for example "31 messages · an exported chat".
- **How it writes**: **Length** with the average number of words per message, **Capitals**, **Full stop**, **Emojis**, **Their words** and **Never writes**.
- **Learned messages**: real messages kept as models. The agent takes after them without copying them.
- **Full profile**: the exact text the agent receives.
- On the right, **Agents writing with it**.

As soon as you click **Learn this style**, the page fills itself in. Length,
capitals, full stops and emojis are counted on your messages and appear at
once. Your words and the learned messages arrive in less than a minute. If
nothing has arrived after 6 minutes, the style shows **Failed**: delete it
and start again with other messages.

## Use a style on an agent

1. Open **My Styles**, click the style, then **Use on an agent**.
2. Pick the agent and click the button that opens its prompt.
3. The agent's **Prompt** tab opens on the **Conversation** step, with the style placed. The section that changed is marked **Style placed here**.
4. Read that section. To test it before publishing, save a draft, then pick that draft under **Version tested** in the **Test** tab.
5. Click **Publish** and confirm in the **Publish a new version** window.

Once the prompt is published, your agent writes with the style and the style
reads **Live** for that agent. Until then, it reads **To publish**.

You can also start from the agent: open **Agents**, click your agent, then
the **Settings** tab and the **Style** section. Choose a style in the
**Style** list, click **Place in the prompt**, then publish in the same way.

Placing a style changes the section of the prompt that deals with style, or
adds one when there is none. Read it before you publish: you can undo the
change from the mark. See [Your agent's prompt](/dashboard/prompt/).

## My agent does not write with my style yet

Open **My Styles** and click the style. Under **Agents writing with it**,
each agent carries a status.

| Status | Meaning | What to do |
|---|---|---|
| **To publish** | The style is chosen for this agent, but its prompt has not been published with it. | Click the status to open the prompt, then **Publish**. |
| **Earlier version, to publish** | The agent's prompt was published with the style as it was before its profile was corrected. | Open the prompt and click **Publish** again. |
| **Live** | The published prompt carries the style as it is today. | Nothing. |

A style reaches your leads through the agent's published prompt. If that
prompt has never been published with a style, choosing one changes nothing
for your leads until you publish. Saving a draft is not enough.

The agent's **Settings** tab says the same thing in its **Style** section,
with an **Open the prompt** button when something is left to publish.

## Use one style for several agents

Open **My Styles**, click the style and click **Use on an agent** once for
each agent. Every agent has its own prompt, so each one is published
separately.

- The style's page lists every agent under **Agents writing with it**, with its status.
- On the **My Styles** page, the **Agents** column names them, or gives their count above two.
- An agent writes with one style at a time. If you pick an agent that already has another style, the window tells you the new one will replace it when you publish.
- Agents that answer in WhatsApp groups are not offered in this window. Their style is chosen in their own prompt.

A style belongs to your workspace: every member who can edit agents can use
it, on any agent.

## Edit a style

Open **My Styles** and click the style.

- Rename it: click its name at the top, type the new one and press Enter. You can also open **More actions** and choose **Rename**.
- Correct what the agent receives: open **Full profile**, change the text and click **Save**.

After a correction, the agents that already use the style are marked
**Earlier version, to publish**. Open each agent's prompt and click
**Publish**: its status goes back to **Live**, with the corrected style.

You cannot add messages to a style that exists. To learn from other
messages, create a new style, use it on the agent and publish.

## Remove a style from an agent

Open **My Styles**, click the style and, under **Agents writing with it**,
click the **Remove from prompt** icon on the agent's line. Or open
**Agents**, click your agent, then the **Settings** tab and the **Style**
section, choose **No style (the prompt's tone)** and click
**Place in the prompt**.

The agent's **Prompt** tab opens with the style taken out. The section that
changed is marked **Style removed**. Click **Publish** to finish: the agent
then writes with the tone described in its prompt.

As soon as the prompt opens, the agent leaves the style's list of agents. The
removal is complete once the prompt is published, so publish in the same
visit.

## Delete a style

Open **My Styles**, click the style, open **More actions** and choose
**Delete style**, then confirm.

If an agent's published prompt carries the style, the window says
**This style is in use** and names the agents. Remove the style from their
prompt, publish, then delete it.

Agents that only had the style chosen, with a prompt never published with it,
are freed and the style is deleted.

> **This cannot be undone**
A deleted style is erased for good. To get it back, you learn it again from
your messages.

## What the statuses mean in the list

Open **My Styles**: the **Status** column carries one word per style.

| Status | Meaning |
|---|---|
| **Learning** | Your messages are being read. It takes less than a minute as a rule. |
| **Ready** | The style is learned and no agent uses it yet. |
| **To publish** | It is chosen for an agent whose prompt is not published with it, or is published with an earlier version. |
| **In use** | At least one agent that is not a draft writes with it. |
| **Failed** | The style could not be learned. Delete it and start again with other messages. |

Styles used by an agent come first. The others are folded under **No agent**:
click **Show**. **Learned from** gives the number of messages and where they
came from. Above 6 styles, a search field appears.

## Does my agent learn from the replies I type by hand

Not by itself. An agent does not change the way it writes because you
answered a lead by hand.

Your hand-typed replies stay in your conversations, and they can become the
source of a style: open **My Styles**, click **New style** and choose
**My replies to leads**. The style is learned once, from the replies that
exist that day, number by number.

Replies you type later are not added to that style. To take them into
account, create a new style the same way, use it on the agent and publish its
prompt.

For what happens in the conversation itself when you answer by hand, see
[Take over a conversation](/dashboard/human-takeover/).

## Who can create and edit styles

Everyone who has the **See the agents** permission can open **My Styles** and
read a style. Creating, renaming, correcting or deleting a style, and using
it on an agent, need the **Edit agents and their prompts** permission.

- **Owner**, **Admin** and **Editor** can do everything on this page.
- A **Viewer** reads only: the buttons that change something are not shown.
- A **Responder** does not see **My Styles** in the menu.

The replies other people typed to leads are only offered to members who can
edit agents. Your plan does not limit the number of styles. See
[Team & roles](/dashboard/team/).

## Related

- [Your agent's prompt](/dashboard/prompt/)
- [Knowledge bases](/dashboard/knowledge-base/)
- [Test your agent](/dashboard/playground/)
- [Take over a conversation](/dashboard/human-takeover/)
