---
title: "Procedures"
description: "Instructions for one situation, such as a refund, that an agent follows only when a message fits."
source: https://hiy.ai/docs/procedures
---

# Procedures

A procedure is a set of instructions for one situation, such as a refund. Your agent reads a one-line **Use this when** for each procedure and opens the one that fits the message.

Procedures are kept in your workspace. Each agent uses the ones you pick for it. An Expert Twin that someone else owns can't be picked by you, or have a procedure it uses edited by you, even as an Admin or Owner, and it only follows procedures its owner wrote.

## Add a procedure

1. **Open Procedures** — Open an agent, then **Behaviour › Procedures**. Press **Add procedure**.

2. **Fill it in** — Give it a **Name**, say in one sentence **Use this when** it applies, and write the **Instructions**. Choose the **Channels** it applies to: **Chat**, **Email**, or both.

3. **Pick the agents** — The agent you opened uses it from now on. Under **Used by**, choose any other agents. You can also switch it on or off for one agent from the list.

**Good to know:**

- Instructions shape what your agent says and does. They never override your rules: it still answers only from your material, declines blocked topics, and confirms before an action.
- An agent opens one procedure at most per answer, and none when no line fits.
- A workspace holds up to 50 procedures. An agent reads the first 30 it uses.
- **Use this when** takes 3 to 300 characters. **Instructions** take up to 8,000.
- A test can check that an answer followed a procedure. Add **Follows a procedure** under a test's **Checks**.

## Related

- [Skills](/docs/skills) — What your agents can do in a conversation, and where each built-in skill is set.

- [Tests](/docs/saved-questions) — Keep the questions that matter and re-run them after every change.
