# Await input

A step that pauses a job until you, a teammate or your own system supplies a value the program cannot know in advance, such as a one-time code.

The job pauses, keeping its browser open for a short time, with a separate deadline for the answer. The value can arrive through the API, through an agent, or through a hosted page that Kaabist emails to the address you choose. The job then continues where it stopped.

```
{
  "await_input": {
    "name": "otp",
    "prompt": "Enter the code sent to {{inputs.email}}",
    "ttl": "5m",
    "expires": "24h",
    "collect": "hosted"
  }
}
```

## Related

- [Resumes where it stopped](/product/resume)
- [Automate logins with 2FA](/use-cases/login-with-2fa)
- [Hosted resolve page](/glossary/hosted-resolve-page)
- [Needs attention](/glossary/needs-attention)
