Form Trigger

Overview

The Form Trigger Component creates web-based forms, collects entries, and processes submitted data dynamically. It provides a unique form URL and sends submitted form data to an output port.

Usage

This component is used to generate forms with configurable fields and receive responses for further processing in workflows.

Properties

Property
Type
Description

generateInspector

boolean

Enables the dynamic generation of an inspector for form configuration.

generateEntryOutPortOptions

boolean

Enables dynamic generation of form entry output port options.

url

string

The unique URL for accessing the generated form.

Input Ports

Port
Description

in

Accepts form configurations such as title, fields, and CTA (Call-To-Action).

Output Ports

Port
Description

entry

Emits submitted form data.

Processing Logic

  1. Generates Web Form:

    • Creates a publicly accessible web link for the form.

    • Displays the form with configured fields and call-to-action text.

  2. Handles Form Submissions:

    • When a user submits the form, the entries are sent to the entry output port.

    • Supports custom JavaScript and CSS for styling and tracking.

  3. Sends Response:

    • Upon submission, the user is redirected to a thank-you message or page.

Output Data Schema

Property
Type
Description

title

string

The title of the form.

description

string

The description of the form.

fields

object

The defined input fields of the form.

cta

string

The label of the submit button.

thanksMessage

string

The thank-you message displayed after submission.

entries

object

The form submission data.

Notes

  • Webhook-Based Execution: Captures and processes form submissions in real-time.

  • Customizable Design: Supports JavaScript and CSS for styling and tracking.

  • Ideal for Data Collection: Useful for surveys, feedback, and automation workflows.

This component is essential for workflows requiring automated form generation, structured data collection, and real-time response processing.

Last updated