Development
Learn more about action fields that determine how a user can configure your action in Awell Studio
When an action is added by a user in Awell Studio, they can configure the action through the UI. As an extension developer, you can decide what fields a user needs to configure in order to use your action. Every action can have none, one, or many action fields.
id
The unique identifier for your field. Please note that the field key (of the object) should be equal to its id.
label
The title or name for your field. This will be displayed as the label on top of the input field.
type
The type of the field. Read more below ("Field types").
description
A description for your field. This will be displayed as the sublabel on top of the input field.
required
Whether the field is required for a user to configure. Defaults to "false"
stringType
Only applicable if `type` equals `string`. Read more below ("Field types").
Action fields are strongly typed so for every field you need to specify what type of value a user can enter. In Awell Studio, the appropriate fields are rendered in the UI based on the type.
A string field is a single-line input without the ability to insert variables.
We have support for multiple string types:
For all string types, we make sure to render the appropriate inputs in Awell Studio. When no string type is defined, we assume the string will be regular text.
01
A text field is a multi-line input with support for inserting variables.
01
Allows a user to insert a number.
01
Allows a user to toggle a boolean input field on or off.
01
Allows a user to insert a date.
01
Will render a WYSIWYG in Awell Studio so users can enter rich formatted text with support for inserting variables.
01
Will render an input field where the user can enter a JSON object with support for inserting variables.
01
01