viaSocket Help

Dictionary

Collect custom key-value pairs.

Common use-cases: Custom fields, metadata, product attributes.

Add Field → Select Dictionary

// Example JSON
  {
    "key": "quick_replies",
    "type": "dictionary",
    "label": "Quick Replies",
    "help": "Quick replies show a set of buttons in-conversation for users to reply with.",
    "required": true,
    "template": {
      "key": { "type": "string", "placeholder": "Title" },
      "value": { "type": "string", "placeholder": "PAYLOAD TEXT" }
    }
  }

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

Property

Description

Example

Template

Defines the structure and placeholders for dictionary keys and values

Key Placeholder: Enter key
Value Placeholder: Enter value

#

Rules

  • template is required.

  • template.key.type should be "string".

  • Do not add additional properties inside template.