Enydea
Documentation menu

Playbooks and AI learning: teach the assistant your rules

Last updated:

What this covers

A playbook is a piece of plain text that says how your company works: how you answer an enquiry, build a quote or book a supplier bill. The AI assistant and the AI agents follow it when they prepare work. AI learning shows how people in your company rated the assistant's answers.

Enydea does not retrain a model. A playbook is text the agents read, and everything the assistant learns reaches it as a proposal that a company admin accepts. What is learned belongs to your company only.

Before you start

  • Everyone in the company can read the playbooks and rate answers. Only a company admin can change a playbook, install a template, change Your details, accept or dismiss a suggestion, or open AI learning.
  • Playbooks do not send anything. The built-in house rules tell agents to prepare drafts for a person to read and send. See AI Assistant and AI Agents.

Write a playbook

  1. Open Agent playbooks in the left menu.
  2. Click New playbook.
  3. Fill in Title, and under When should an agent use it? one sentence.
  4. Write the Instructions as you would brief a colleague. Use a name between double curly brackets, such as {{payment_terms}}, for a detail that differs per company. It is filled in from Your details.
  5. Under Used for these kinds of sales case, tick the cases it is for. Leave them all unticked to use it for any case.
  6. Switch on House rule: put it in front of every agent run only for rules that must always apply. An agent reads the house rules in every run and a short list of the other playbooks, and opens the one that fits the task.
  7. Click Save.

Each playbook has an on and off switch, an Edit button and a remove icon. A playbook can hold 20,000 characters, a company can have 60, and every save keeps the earlier versions (the last ten).

Start from a template

  1. On Agent playbooks, find Start from a template.
  2. Choose Use this template on Used equipment dealer: enquiries, quotes and freight or Bookkeeping: supplier bills, suspense accounts and onward billing.
  3. Fill in your details. You can leave any blank and fill it in later; agents say when something is missing instead of guessing.
  4. Click Install. You can change every word afterwards.

Your details lists the details the playbooks use, such as the mailbox for drafts, the quote system, payment terms and quote currency. Email signatures are not set here. They live under Settings -> Email Integration -> Signatures.

To move playbooks to another company, use Export or Export with my details, and Import a pack in the other company.

Teach it by saying what should be better

There are three ways to say that something should be better.

  • On a prepared case. In the sales inbox, choose Should be better on a case an agent prepared, and write what was wrong.
  • In chat. Click Remember this as a guideline on an answer and write the guideline. Just for me (my AI uses it in my chats) goes to your own AI memory, see below. A company admin also sees For the company: becomes a playbook change you approve next. A company admin can also just tell the assistant how the company works.
  • From a rated answer. See AI learning below.

Enydea then drafts a change to one playbook, or to one of your company details, such as the payment terms or the sender name. If the remark is about one customer only, it proposes nothing and says why. It does not write instructions that send anything to a customer.

Open Suggested improvements on Agent playbooks. Each suggestion shows what people said, Now and Becomes. Click Accept and remember to apply it, or Dismiss. Nothing changes until you accept, and once accepted every later agent run follows it.

Rate answers

Every answer in the AI assistant chat has three buttons, Good answer, So-so answer and Bad answer. After you click, a box asks What was wrong or missing? (optional). Your rating, the answer and the steps behind it go to your company's AI learning panel. You can only rate answers in your own chats.

Review rated answers in AI learning

Open Agent playbooks and click Rated answers. Only company admins see the panel; everyone else's own ratings still reach it.

  • The summary covers the last 90 days: the ratings per model and the tools used in so-so and bad answers. It counts the newest 3,000 ratings at most.
  • Filter by rating and status. Each rated answer shows what the person wrote, the question, the answer and What the assistant did, step by step. If the person deleted the chat, only the rating, the model and the tool names remain.
  • Find what to improve has a model read the steps and list what to change. Each point is marked Company rule, or For Enydea to fix when it is not something your playbooks can change. A review is the model's reading, so check it before you act.
  • Propose as playbook rule sends a company rule to Suggested improvements. The answer then says Proposed: approve it on Playbooks.
  • Mark done, Dismiss and Reopen keep track of what you handled. Nothing in this panel changes the assistant until a playbook change is accepted.

Routines your agent runs repeat

Each night Enydea counts, for your company, which chains of tools your agent runs repeated for the same kind of task in the last 90 days. No AI model does the counting, so the result does not depend on which model answered.

A chain is proposed as a playbook when at least three completed runs without a failed step followed it and people approved at least 70% of the actions those runs held (at least three decisions), or when at least five completed runs followed it and nobody judged any action. The proposal shows its sample and appears under Suggested improvements, at most five at a time. Proposals nobody decides on for 30 days stop counting.

Your AI memory

The assistant can suggest lasting facts from your chats, such as "We quote in EUR, excluding VAT". Under Settings -> AI, the card Your AI memory lists what it suggested. Only what you accept is used, only you see it, and every chat uses it whichever model answers. You can also add something yourself, edit it or forget it.

Ask the assistant to look up an earlier chat when you need to find what you decided. It can search your own earlier chats.

How your cases really move

Ask the assistant how your sales cases move. It counts the paths cases take and where they wait from your own records. With fewer than 20 cases it says so and shows counts, not patterns. It also says what the record cannot show yet, for example the time cases spend in each status when status changes are not recorded.

Limits

  • A playbook is text. It cannot make an agent do something the agent has no tool for.
  • A chat remark from someone who is not a company admin does not create a suggestion. Use Should be better on a case, or ask a company admin.
  • Ratings are the opinion of one person. Look at several before you change a rule.