FAQ
Developer hub
Plugin Input Fields
Static input fields

Static input fields


Actions and Triggers in plugins require input fields so users can send data to your API—like creating, updating, or searching for a record. These fields are defined in JSON format and appear in the viaSocket UI when users build their workflows.


What Are Static Input Fields?

Static input fields are fixed fields that do not change based on user choices. They're predefined and useful when you know exactly what inputs are needed.

These help structure and validate the data users enter—improving accuracy and user experience.


Types of Static Input Fields

String

Collects plain text like names, email addresses, or labels.
Example: "Name" with a default like "John Doe"


Number

Accepts numeric values such as price, quantity, or age.
You can apply limits (min/max) to ensure valid input.


Boolean

Captures true/false or yes/no choices using toggles or checkboxes.
Ideal for things like "Subscribe?" or "Agree to Terms"


Static Dropdown

Shows a fixed list of options for users to pick from.
Great for fields like "Country", "Status", or "Priority"


Input Group

Groups multiple related fields under one label (e.g., address block).
Helps organize complex input like "Shipping Info" or "User Details"


Default Value

Sets a pre-filled value to guide users on expected input.
Helps with clarity and improves usability.


Where to Use This

  • In plugin Actions: Send user-entered data to external APIs

  • In Triggers: Accept filter values or settings for trigger logic

  • In forms: Display clean, user-friendly inputs for workflow setup


📘 For Instructions on Adding Fields via JSON: Click here