Show Modal
Show Modal
Pop up a form for the user to fill in
Note: Must be the first step (index 0) in its branch/trigger.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
title | string | yes | Modal title. |
fields | array of {customId, label, style?, required?, saveAs?}, non-empty | yes | customId must be unique within the step. style is 'SHORT' or 'PARAGRAPH'. Fields without saveAs are shown but their value is discarded. |
timeoutMs | number | no | Defaults to 600,000ms. |
Example
{
"id": "01H8XGJVBWX7Y5Z3K9M2N4P6Q1",
"type": "show_modal",
"title": "Feedback",
"fields": [
{
"customId": "comment",
"label": "Your comment",
"style": "PARAGRAPH",
"required": true,
"saveAs": {
"scope": "run",
"name": "comment"
}
}
]
}Updated about 14 hours ago
Did this page help you?
