# Routing and moves

Every channel has one destination, a customer can have a route, and a ticket reaches whoever takes it.

## Overview

Every connected item (an email address or its alias, a WhatsApp number, a page or account, a phone number, a web chat widget, a web form) has exactly one destination: a space or one member. A customer (email, phone number, email domain, contact or company) can be routed to a space or a member too, and their new tickets go there before the channel’s destination. In a space, a new ticket goes to the member who handled the customer’s last ticket within the returning-customer window if available, otherwise to the available member with the fewest open tickets; members at the organization’s open-ticket limit are skipped. Moving a ticket to a space hands it over: its assignee is cleared and it waits in that space’s queue.

## Do it in the app

1. Open Organization › Team & spaces › Spaces and choose “Channels” to see each item and its destination.
2. Change an item’s destination to a space or a member.
3. To route a customer: open their page and choose “New tickets go to”, or add them under the space’s customers.
4. To move a ticket: open it and assign it to a member, or move it to a space.

## Or let your agent do it

```text
List every connected item with its destination, then route the customer Ahmed (by his phone number) to the VIP space. Tell me how many open tickets would move before you do it.
```

**MCP tools:** `list_routing_items`, `set_routing_destination`, `set_customer_destination`, `move_ticket`, `assign_ticket`

Or through REST:

```bash
curl https://api.rabt.systems/v1/routing/items \
  -H "Authorization: Bearer rbk_test_…"
```

> **Recommendation:** Change a destination knowing its effect: adding a customer route moves their open tickets, while changing a channel’s destination affects new tickets only.

> **Limits:** No per-member limits, no IVR menus, no keyword rules. A route is changed, never cleared, and a destination is never All. The AI agent never moves a ticket.
