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  
interaction.worker The dictionary describes a form for gathering user input.