viaSocket Help

Input Group

Group related fields together or generate fields dynamically at runtime.

Static and Dynamic Input group

Common use-cases : Address, schema-driven field sets (e.g. Notion properties, Google Sheet columns), AI agent variable maps.

Add field → Input Group → Configure options type Static or Dynamic

#

Static

Fields are defined manually.

Uses fields

// Example JSON
{
  "key": "customer",
  "type": "input groups",
  "label": "Customer Details",
  "fields": [
    {
      "key": "name",
      "type": "string",
      "label": "Name",
      "required": true
    },
    {
      "key": "email",
      "type": "string",
      "label": "Email"
    }
  ]
}
#

Dynamic

Fields are generated using JavaScript code.

Uses fieldsGenerator

// Example JSON
{
  "key": "properties",
  "type": "input groups",
  "label": "Properties",
  "fieldsGenerator": "// JS Code that returns array of supported fields"
}
#

Field Properties

Property

Description

fields

Fields inside a static group

fieldsGenerator

Generates fields dynamically

whereClause

Displays fields in a sentence-style layout

Common Properties: key, label, help, visibilityCondition and required. Read

Note: We recommend using the whereClause only for the first Input Group in an action.

Supported field types : Text/Number, Dropdown/ Multi Select / Boolean, Date, HTML/Markdown, Help, Input Group(for nesting), Dictionary, AI Field