Docs »

Automations »

interaction.worker »

Elements »

Search Query

In interaction web forms, a query element displays a search query prompt with filter autocompletion.



start:
  await:
    form:
      title: Search Tickets
      elements:
        query/prompt_query:
          label: Query:
          record_type: ticket
          default@text:
            status:o


Syntax

label:

The optional label to display above the form element.

record_type:

The record type to use for query autocompletion. For instance, ticket or worker.

required@bool:

If user input is required on this element use a value of yes. Otherwise, omit.