Widgets

Form Widget

Display interactive forms in the chat to collect user information. Supports text inputs, textareas, dropdowns, checkboxes, and radio buttons.

Category: Widgets · Plans: Trial, Starter, Pro, Premium, Enterprise · Type: FormWidget

Inputs#

FieldTypeRequiredDefaultWhat it does
FormformNo—Visual Form Builder - Configure form fields including text inputs, dropdowns, checkboxes, etc.
Form TitleTextNo(empty)Optional title displayed at the top of the form.
Submit Button TextTextNoSubmitText displayed on the submit button.
Success MessageTextNoThank you! Your information has been submitted successfully.Message displayed to the user after the form is successfully submitted.
Form ThemeTextNodefaultVisual theme for the form appearance. Options: default, minimal, bordered, card, dark
Custom CSSTextNo(empty)Custom CSS to style the form. Use .flowform-container as the root selector.

Outputs#

OutputType
MessageAny
Form TitleAny
Submit Button TextAny
Form ThemeAny
Widget TypeAny

Use as an agent tool#

Tool name: display_form

Display a form to collect information from the user. Use this when you need to gather structured data like contact info, preferences, or feedback. You can define the form fields dynamically based on what information you need to collect. Supported field types: ’text’ (single line), ’textarea’ (multi-line), ‘dropdown’ (select one), ‘checkbox’ (select multiple), ‘radio’ (select one from options). Each field needs: field_type, field_id (snake_case), label. For dropdown/checkbox/radio, provide ‘options’ as a list of strings. You can customize the form appearance with form_theme: ‘default’, ‘minimal’, ‘bordered’, ‘card’, or ‘dark’.