---
title: Write a persona that works
description: Structure your bot's persona with Role, Tone, Rules and Examples, write rules that work and avoid the ones that backfire.
---

[Skip to content](https://customer.ebbot.ai/knowledge/write-a-persona-that-works#main-content)

[Customer portal](https://customer.ebbot.ai/support?hsLang=en)

[![](https://customer.ebbot.ai/hs-fs/hubfs/logo-ebbot-darker-green-rgb-Sep-30-2025-07-46-45-0435-AM-2.png?width=1032&height=309&name=logo-ebbot-darker-green-rgb-Sep-30-2025-07-46-45-0435-AM-2.png)](https://customer.ebbot.ai/?hsLang=en)

- [Status](https://status.ebbot.ai/)
- [Developer docs](https://docs.ebbot.ai/)

Open main navigation

Close main navigation

- [Status](https://status.ebbot.ai/)
- [Developer docs](https://docs.ebbot.ai/)
- [Customer portal](https://customer.ebbot.ai/support)
- [Ask our support](https://customer.ebbot.ai/knowledge#ask-our-support)

[Ask our support](https://customer.ebbot.ai/knowledge?hsLang=en#ask-our-support)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Ebbot Knowledge Base](https://customer.ebbot.ai/knowledge?hsLang=en)
2. [EbbotGPT: knowledge and AI answers](https://customer.ebbot.ai/knowledge/ebbotgpt-knowledge-and-ai-answers?hsLang=en)
3. [Persona and configurations](https://customer.ebbot.ai/knowledge/ebbotgpt-knowledge-and-ai-answers?hsLang=en#persona-and-configurations)

# Write a persona that works

## Structure your bot's instructions so it follows them, and avoid the rules that backfire.

## Understand what the persona does

The persona is your instructions to the bot: who it is, who it helps, how it writes and what it must and must not do. It is part of a larger set of instructions that Ebbot maintains. Basic behaviour, such as answering only from your sources and answering in the user's language, is already handled there. Your persona can focus on what is specific to your organisation.

The models follow the persona strictly and literally. A short, clear persona works better than a long one.

## Open the persona

1. Go to **EbbotGPT → Configurations** and open the configuration your bot uses.
2. Open **GPT Persona** in the **Prompt** section.
3. Use **Mode** to switch between **Write** and **Preview**.
4. Click **Save** when you are done.

## Structure the persona

✏️ Write it step by step:

1. Use headings to structure the persona like a manual. A heading is a line that starts with two hash signs and a space. The hash signs and the stars for bold text are formatting the bot reads, not errors.
2. Start with these four headings:
     - **Role:** who the bot is, who it helps and what it is for, in one or two sentences.
     - **Tone:** concrete writing instructions, not vague words.
     - **Rules:** what the bot must and must not do. Most instructions belong here.
     - **Examples:** one or two questions with the perfect answer. An example teaches the bot more than a paragraph of description.
3. Start small, and add a rule only when you need it.

The bot reads the whole persona every time, so no rule counts more because of where it is. Keep a rule and its exceptions next to each other, so contradictions are easy to see.

## Write rules that work

- **Be concrete.** "Helpful and friendly" can make the bot try to sound helpful instead of being correct, and invent answers. Write "accurate, objective and polite", and describe the behaviour you want.
- **Avoid numbers for length.** Limits like "max 5 sentences" push the bot to give short guesses instead of saying it doesn't know. Write "keep it concise" instead.
- **Write in the bot's main language.** A persona in another language, or fixed phrases in quotation marks, can make the bot switch language.
- **Avoid contradictions.** When two rules pull in different directions, you can't predict which one wins.
- **Keep changing facts out.** Opening hours and prices belong in the sources, where updates reach the bot by themselves.
- **Tell the bot what to do instead.** When you write what the bot must not do, also write what it should do.
- **Be careful with prompts from other AI tools.** They are written for other systems and often don't fit how your bot works with sources.

## Give the bot a priority order

If your bot can create tickets or hand over to an agent, tell it what to prefer: first answer from the sources, then offer the action. Without a priority order, the bot picks what is easiest in its material, for example an email address. See "Make the bot act instead of giving out contact details".

## Make the bot ask before it answers

To make the bot ask a question first, for example which system a password question is about, write the rule and add an example where the perfect answer is the question. A rule alone is not always enough.

## Make the bot refuse a topic

1. Write the refusal as a rule: what the bot must not help with, what it should say instead, and what it should still answer. For example: "Never help with writing or fixing program code. Say that you can't help with code. Questions about how to use our services are normal questions and should be answered."
2. Add an example where the user asks about the topic and the perfect answer is the refusal.
3. Test one question the bot must refuse and one it must still answer.

A rule that is too broad also blocks normal questions that only sound similar. Don't use the guards for this: they protect against manipulation, not against ordinary topics.

## Fix links that come out wrong

If the bot writes the full address instead of a link, adds a word to the end of a link or puts strange characters in it:

1. Put every address in the persona on its own line, in quotation marks, with nothing directly after it.
2. Look for competing rules. A rule with a raw address often wins over a general rule about how to write links.

## Test one change at a time

Change one thing, save, and test in a new chat. If you change five rules at once, you won't know which one made the difference. Keep a copy of the last persona that worked before you make bigger changes.

If a rule seems to be ignored, open the conversation in **Chat history** and check the reasoning and **Show sources**. See "Find out why your bot gave a wrong answer".

### 💡 Pro-Tip

Test persona changes on a copy of your configuration connected to a test bot before you change the live bot. Then you can try a fix without affecting your users. See "Test changes safely with a test bot and configuration copies".

- [Getting started](https://customer.ebbot.ai/knowledge/getting-started#main-content)
- [EbbotGPT: knowledge and AI answers](https://customer.ebbot.ai/knowledge/ebbotgpt-knowledge-and-ai-answers#main-content)

    - [Knowledge and sources](https://customer.ebbot.ai/knowledge/ebbotgpt-knowledge-and-ai-answers#knowledge-and-sources)
    - [Persona and configurations](https://customer.ebbot.ai/knowledge/ebbotgpt-knowledge-and-ai-answers#persona-and-configurations)
    - [Troubleshoot answers](https://customer.ebbot.ai/knowledge/ebbotgpt-knowledge-and-ai-answers#troubleshoot-answers)
- [Live chat](https://customer.ebbot.ai/knowledge/live-chat#main-content)
- [Chat widget](https://customer.ebbot.ai/knowledge/chat-widget#main-content)
- [TOPdesk](https://customer.ebbot.ai/knowledge/topdesk#main-content)
- [Account, login and security](https://customer.ebbot.ai/knowledge/account-login-and-security#main-content)
- [Ebbot Automations](https://customer.ebbot.ai/knowledge/ebbot-automations#main-content)
- [Scenarios and bot builder](https://customer.ebbot.ai/knowledge/scenarios-and-bot-builder#main-content)
- [Dashboards and chat history](https://customer.ebbot.ai/knowledge/dashboards-and-chat-history#main-content)
- [Channels and integrations](https://customer.ebbot.ai/knowledge/channels-and-integrations#main-content)

    - [Channels](https://customer.ebbot.ai/knowledge/channels-and-integrations#channels)
    - [Developer resources](https://customer.ebbot.ai/knowledge/channels-and-integrations#developer-resources)

- [ebbot.com](https://www.ebbot.com/)
- [Status](https://status.ebbot.ai/)
- [Developer docs](https://docs.ebbot.ai/)
- [Trust center](https://trust.ebbot.com/)
- [LinkedIn](https://www.linkedin.com/company/ebbot/)

[![](https://customer.ebbot.ai/hs-fs/hubfs/logo-ebbot-darker-green-rgb-Sep-30-2025-07-46-45-0435-AM-2.png?width=1032&height=309&name=logo-ebbot-darker-green-rgb-Sep-30-2025-07-46-45-0435-AM-2.png)](http://ebbot.com)

© 2026 Hello Ebbot AB