# Find and filter your agents

The Agents list at /school/admin/agents shows every agent your school works with as cards, a table or map pins, with status tabs, a search box, filters and a four-card KPI strip. From here you add an agent, import or export agents as CSV, select rows for bulk actions, and open any agent's record.

Source: https://help.pigi.io/guides/agents/day-to-day/find-your-agents

## Quick answers

**Where is my list of agents?**
**Agents → Agents** in the school admin sidebar, at `/school/admin/agents`. The bookings
desk reaches the same list from its own **Agents** section.

**How do I search for an agent?**
Type in **Search agents…** at the top of the list. It matches the agent's name, their
company name and their email address — for both external records and agents linked to a
PiGi account.

**What do the tabs above the list do?**
They scope the list by relationship status: **All**, **Active**, **Pending** and
**Suspended**. Each tab carries a count. Terminated agents are reachable through the
**All** tab only.

**Can I see my agents on a map?**
Yes — switch the view control at the top right to the map. Only agents whose address has
coordinates get a pin, and the legend lets you show or hide each category. On a phone the
switcher collapses to cards only.

**What do the columns mean?**
**Agent** (name, linked tag and email), **Type** (Individual or Company), **Category**,
**Bookings**, **Pax**, **Commission**, **Owed** and **Status**. Bookings, Pax, Commission
and Owed come from the agent's commission settlements, so an agent with no settlements yet
shows a dash.

**What are the four stat cards at the top?**
**Active agents** (with pending underneath), **Commission · <month>**, **Agent bookings ·
<month>** and **Commission owed** (with the number of agents owing and the number of open
recons). They cover your whole agent network, not the filtered list.

**How do I import agents from a spreadsheet?**
Click **Import** and upload a CSV. The columns it reads are **Name** (required), **Contact
Email**, **entity_type** ("user" or "company", defaults to company) and **category** — a
path such as `Travel & Tours -> Tour Operators`, which is created for you if it does not
exist yet.

**How do I export my agents?**
Click **Export**. You get `agents_export_<date>.csv` with Name, Email, Phone, Type, Status,
Commission Type and Commission Value.

**How do I delete an agent?**
Select the rows and use **Delete** on the bar that appears, or use the row action. The
confirmation tells you how many bookings keep their commission history but lose the agent
they were booked through, and warns that the agent's rate cards, contacts and notes go with
them. This cannot be undone.

**The Merge button fails — why?**
Because merging has not been finished. The **Merge N Agents** dialog appears and lets you
pick a winner, but confirming it always shows an error. Deal
with duplicates by suspending one and keeping the other.

**Why does filtering by Linked or External do nothing?**
That filter does not work yet. It leaves an active-filter chip on the toolbar but shows the
same rows. Use the **Overview** page's Linked / External counts instead, or
read the "Linked" tag in the Agent column.

## Steps

1. Open **Agents** in the school admin sidebar.
2. Pick a status tab, or leave **All**.
3. Search by name, company or email, or open **Filters** for **Category** and **Type**.
4. Switch between cards, table and map with the view control at the top right.
5. Click an agent to open their record.

## Fields

| Filter | What it does |
|---|---|
| Category | Limits to one agent category, including nested paths |
| Agent Status | Linked / External — **does nothing** |
| Type | Individual or Company |

## Known limitations

- **Agent Status (Linked / External) has no effect.**
- **Merge always fails** with an error.
- Merged agents are hidden from this list by default, but nothing in the product can create
  a merge, so you will not see any.
- Commission and Owed are divided by 100 here and on the Overview page, but not on the
  **Agent Recons** screen. Compare the two carefully before quoting a number.
- The map only plots agents whose address carries coordinates. The Add agent wizard collects
  the address as free text and never geocodes it, so new agents have no pin.

## Related

- [The agent network dashboard](network-dashboard.md)
- [Add an agent](add-an-agent.md)
- [Work on one agent's record](agent-details.md)
- [Organise agents into categories](categories.md)
