Form Action
Overview
The Form Action Component allows users to create web-based forms, collect form entries, and process submitted data dynamically. It provides a web link to the form and sends submitted data to an output port.
Usage
This component is used to create forms with customizable fields and retrieve user responses for further processing in workflows.
Properties
generateEntryOutPortOptions
boolean
Enables dynamic generation of form entry output port options.
Input Ports
in
Accepts form configurations such as title, fields, and CTA (Call-To-Action).
Output Ports
form
Emits a web link to the generated form.
entry
Emits submitted form data.
Processing Logic
Receives Form Configuration:
Accepts form metadata including title, description, fields, and CTA button text.
Generates Web Form:
Creates a publicly accessible web link for the form.
Handles Form Submissions:
When a user submits the form, the entries are sent to the
entry
output port.If JavaScript or CSS customization is included, it is applied to the form.
Sends Response:
Upon successful submission, the user is redirected to a thank-you message.
Output Data Schema
weblink
string
The URL of the generated web form.
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 customization.
Ideal for Data Collection: Useful for surveys, feedback, and automation workflows.
This component is essential for workflows requiring automated form generation and user input processing.
Last updated