await
The await: command pauses an automation in the await state and returns a dictionary.
This creates a continuation for resuming the automation at the current point.
Syntax
start:
  await:
    form:
      title: Intro
      elements:
        text/prompt_name:
          label: What is your name?
          required@bool: yes
  return:
    output@text:
      Hello, {{prompt_name}}!The expected dictionary depends on the trigger.
These triggers support the await state:
| Trigger | |
|---|---|
| automation.timer | The dictionary describes the next interval. | 
| interaction.website | The dictionary describes a form for gathering website visitor input. | 
| interaction.worker | The dictionary describes a form for gathering worker input. |