# Wait until

> Holds the lead until something happens (a rep contacts them, a meeting is booked, a contact property changes) or until a time limit passes.

| | |
|---|---|
| Type | `waitUntil` |
| Group | Logic |
| Waits | Yes. The flow stops here until something happens |

## Exits

| Exit | Name |
|---|---|
| `happened` | Happened |
| `timedOut` | Timed out |

## Settings

| Key | Label | Takes | Default | Notes |
|---|---|---|---|---|
| `event` | Wait until | `repContact` A rep contacts the lead, `meetingBooked` A meeting is booked, `property` A contact property changes | `repContact` | Checked every five minutes, and at once when HubSpot tells Signalbox of a change. |
| `property` | Contact property | A string. |  | Only for a property change: the property's name in HubSpot. |
| `value` | Changes to | A string. |  | Only for a property change. Blank: any change. May hold fields in braces. |
| `amount` | Or until this long has passed | A number. | `1` |  |
| `unit` | Unit | `minutes` Minutes, `hours` Hours, `days` Days | `days` |  |

## In a flow document

```json
{
  "id": "waitUntil1",
  "type": "waitUntil",
  "settings": {
    "event": "repContact",
    "amount": 1,
    "unit": "days"
  }
}
```
