---
title: "RoutingRule"
description: "a predicate over leads with a person or a team attached; its dry run is the preview"
section: concepts
address: /concepts/routingrule
contract: 0476e35e6e275db5
---

# RoutingRule

a predicate over leads with a person or a team attached; its dry run is the preview

[figure: RoutingRule is a definition at brand scope. The drawing shows its fields and the objects that they point at.]

| property | value |
|---|---|
| kind | definition |
| scope | brand |
| key | its name and version |
| store | postgres |
| family | leads |



## Fields


| field | type | required | note |
|---|---|---|---|
| `name` | `text` | yes |  |
| `predicate` | `hash` | yes |  |
| `to` | [GrantHolder](/concepts/grantholder) | yes | a user or a team |
| `armed` | `bool` | yes |  |



## Routes that use it
No route takes or returns RoutingRule directly. The record holds it, and the objects that point at it reach it.
