# Organise agents into categories

Agent categories are a nested tree you file each agent under — Accommodation → Hotels → Boutique Hotels, and so on. Each category carries a colour and an icon that colour the agent list, the map pins and the By category panel on the Overview page. Load defaults seeds a ready-made ten-branch tree.

Source: https://help.pigi.io/guides/agents/setup/categories

## Quick answers

**Where do I manage agent categories?**
**Agents → Categories** in the school admin sidebar, at
`/school/admin/agents/categories`. Only company admins have this page — the bookings desk's
Agents section does not include it.

**What is a category for?**
Filing your agents by what kind of business they are, so you can filter the agents list,
colour the map pins, and read the **By category** panel on the Overview page. Categories
nest, so "Accommodation → Hotels → Boutique Hotels" is one path.

**How do I get started quickly?**
Click **Load defaults**. It seeds a ten-branch tree — Accommodation, Tour Operators, Travel
Agencies, Transport Providers, Education, Activity & Experience Partners, Events &
Corporate, Digital & Affiliate, Membership & Clubs, and Tourism Bodies & Media — each with
its own colour and subcategories. It is safe to run more than once: names that already
exist are left alone, and you are told "Default categories already present".

**How do I add a category?**
Click **Category** at the top right. Fill in **Category Name**, optionally choose a
**Parent Category**, then set **Description**, colour, **Icon**, **Sort Order** and
**Active**. To add a child directly under an existing category, use the **Add subcategory**
action on that row instead — it pre-selects the parent.

**How do I move a category under a different parent?**
Drag the row onto the category you want it inside. You get "Moved *name* into *parent*"
when it lands. Everything beneath the row you dragged moves with it.

**What do the four stat cards show?**
**Categories** (how many exist), **Top level** (how many have no parent), **Agents
categorized** (how many agent records are filed under one) and **Inactive**.

**What happens to my agents if I delete a category?**
They stay, without a category, and show as **Uncategorised** on the Overview page. The
delete is not blocked and is not undoable.

**Can I see which agents are in a category?**
Yes — the **View agents** action on a category row opens the Agents list filtered to it.

**Do inactive categories disappear?**
They stay visible on this page, which deliberately includes inactive rows so you can
reactivate them. They are hidden from the category pickers elsewhere.

## Steps

1. Open **Agents → Categories**.
2. If the page is empty, click **Load default categories** to seed the standard tree, or
   **Category** to start your own.
3. To nest, either pick a **Parent Category** on the form or use **Add subcategory** on the
   parent row.
4. Give each top-level branch a colour — its descendants inherit it on the seeded tree.
5. Assign categories to agents on step 4 of the Add agent wizard, or from an agent's
   **Settings** tab.

## Fields

| Field | Required | What to enter |
|---|---|---|
| Category Name | Yes | e.g. "Boutique Hotels" |
| Parent Category | No | Leave as none for a top-level branch |
| Description | No | Free text |
| Colour | No | Drives the map pin and the category pill |
| Icon | No | Shown beside the name |
| Sort Order | No | Lower sorts first within its level |
| Active | No | Inactive categories are hidden from pickers |

## Known limitations

- **Admin only.** The bookings desk sees Agents and Overview but not Categories.
- Deleting a category silently uncategorises its agents.
- A category whose parent is inactive appears at the top level rather than nested, which can
  make the tree look flatter than it is.
- The CSV import creates categories from a path such as `Travel & Tours -> Tour Operators`,
  so a typo there creates a new branch rather than failing.

## Related

- [Find and filter your agents](find-your-agents.md)
- [The agent network dashboard](network-dashboard.md)
- [Add an agent](add-an-agent.md)
