Step: Show Form
- Key:
show-form - Category: User Interaction
- Description: Attach a form widget to the assistant response message. The form can come from the form library or be defined inline in the step.
Inputs
formId(select, optional): Existing form to display. Leave empty when usinginlineForm.inlineForm(object, optional): Flow-specific form definition withtitle,description,fields, optionalsubmitButtonText,successMessage, theme, and webhooks.title(text, optional): Override title for a predefined form.description(text, optional): Override description for a predefined form.waitForSubmission(boolean, optional): Whether the created form widget should be marked as waiting for submission. Defaults totrue.
Either formId or inlineForm is required.
Outputs
messageWidgetId(string): ID of the created form widget instance.formId(string | null): Existing form ID, ornullfor inline forms.formTitle(string): Title of the displayed form.waitingForSubmission(boolean): Whether the form widget is waiting for user submission.
Notes
- This step creates a message widget on the current assistant response. It requires conversation/message context, so it is intended for peer/chat executions.
- The step returns widget metadata. It does not directly return a
submissionobject as the next step output. - Inline forms support conditional field visibility through
showWhenrules. - Use this step when the user needs to fill a structured form in the chat UI.
Example Use Case
- A user asks to submit a support ticket.
- The Flow reaches
show-formand attaches a support form widget to the response message. - The user fills in the widget in the chat UI.
- Downstream handling can use the form submission system or webhooks configured on the form.

