How routing works
- The AI agent identifies the caller’s issue during the conversation
- It matches the issue to a slot via the
casesfield - The agent tries the Priority 1 target first
- If unavailable, falls back to Priority 2, then Priority 3
- If all targets fail, the agent handles the call based on its configuration
- the name of a transfer tool of the agent,
transfer_to_<name>(lowercase, umlauts asae/oe/ue, everything else as_, e.g.transfer_to_melanie_bender) — the agent transfers the call to that employee if they are available - a plain text the agent reads out instead of transferring, e.g.
Allgemeines PostfachorRückruf vereinbaren -> Allgemeines Postfach— the caller is offered a callback
agent_phone_number) automatically: the API copies it when a slot is written and updates existing slots when a pool number is assigned or released.
Data model
Endpoints
List forwarding slots
forwarding:read | Pagination: no (returns all, ordered by slot number)
Create forwarding slot
forwarding:write
Required fields: slotnummer, cases
Update forwarding slot
forwarding:write
Delete forwarding slot
forwarding:write | Returns 204 No Content
Replace all forwarding slots (bulk)
forwarding:write
Replaces all existing slots with the provided list in a single operation. Existing slots are deleted first. Use this for bulk synchronization from external systems.
Every slot is validated first (slotnummer and cases are required, other fields must be strings or null); invalid rows are rejected with 400 VALIDATION_ERROR (details[].field = slots[i].<field>) and nothing is written. The replacement itself runs in a single database transaction.
replaced_count — the number of previous slots that were removed:
Best practices
- Use
PUTfor full sync from external systems,POST/PATCH/DELETEfor individual changes - Slot numbers should be sequential two-digit strings:
"01","02","03" - Keep
casesdescriptive — the AI uses this text to match caller issues - Use
transfer_to_<name>only for employees that exist on the agent with a matching name (see Tools for transfer tools); anything else is read out as text
Related resources
- Agents — Parent resource
- Employees — People referenced in slot priorities
- Forwarding Slots — Dashboard UI guide