Chatbot Flow Configuration

Update the chatbot prompts, branching logic, and completion messages. Always provide valid JSON.
Back
Revision History
Version Saved At
3 08 Nov 2025 06:08
4 08 Nov 2025 06:08
3 08 Nov 2025 06:08
3 08 Nov 2025 02:23
2 06 Nov 2025 02:01
3 06 Nov 2025 02:01
Flow JSON Schema
{
  "$defs": {
    "CategoryRow": {
      "properties": {
        "id": {
          "maxLength": 64,
          "minLength": 2,
          "title": "Id",
          "type": "string"
        },
        "title": {
          "$ref": "#/$defs/LocalizedText"
        },
        "description": {
          "anyOf": [
            {
              "$ref": "#/$defs/LocalizedText"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "id",
        "title"
      ],
      "title": "CategoryRow",
      "type": "object"
    },
    "CategorySection": {
      "properties": {
        "id": {
          "anyOf": [
            {
              "maxLength": 64,
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "title": "Id"
        },
        "title": {
          "$ref": "#/$defs/LocalizedText"
        },
        "rows": {
          "items": {
            "$ref": "#/$defs/CategoryRow"
          },
          "title": "Rows",
          "type": "array"
        }
      },
      "required": [
        "title",
        "rows"
      ],
      "title": "CategorySection",
      "type": "object"
    },
    "LocalizedText": {
      "properties": {
        "en": {
          "title": "En",
          "type": "string"
        },
        "hi": {
          "title": "Hi",
          "type": "string"
        }
      },
      "required": [
        "en",
        "hi"
      ],
      "title": "LocalizedText",
      "type": "object"
    },
    "StaticResponseConfig": {
      "properties": {
        "no_message": {
          "$ref": "#/$defs/LocalizedText"
        },
        "more_info_message": {
          "$ref": "#/$defs/LocalizedText"
        },
        "more_info_url": {
          "title": "More Info Url",
          "type": "string"
        },
        "stop_message": {
          "$ref": "#/$defs/LocalizedText"
        },
        "restart_message": {
          "anyOf": [
            {
              "$ref": "#/$defs/LocalizedText"
            },
            {
              "type": "null"
            }
          ],
          "default": null
        }
      },
      "required": [
        "no_message",
        "more_info_message",
        "more_info_url",
        "stop_message"
      ],
      "title": "StaticResponseConfig",
      "type": "object"
    },
    "YesFlowConfig": {
      "properties": {
        "other_row_id": {
          "default": "CATEGORY_OTHER",
          "maxLength": 64,
          "title": "Other Row Id",
          "type": "string"
        },
        "category_prompt": {
          "$ref": "#/$defs/LocalizedText"
        },
        "category_other_prompt": {
          "$ref": "#/$defs/LocalizedText"
        },
        "category_add_more_prompt": {
          "$ref": "#/$defs/LocalizedText"
        },
        "category_add_more_yes": {
          "$ref": "#/$defs/LocalizedText"
        },
        "category_add_more_no": {
          "$ref": "#/$defs/LocalizedText"
        },
        "location_prompt": {
          "$ref": "#/$defs/LocalizedText"
        },
        "location_invalid": {
          "$ref": "#/$defs/LocalizedText"
        },
        "email_prompt": {
          "$ref": "#/$defs/LocalizedText"
        },
        "email_invalid": {
          "$ref": "#/$defs/LocalizedText"
        },
        "completion_message": {
          "$ref": "#/$defs/LocalizedText"
        }
      },
      "required": [
        "category_prompt",
        "category_other_prompt",
        "category_add_more_prompt",
        "category_add_more_yes",
        "category_add_more_no",
        "location_prompt",
        "location_invalid",
        "email_prompt",
        "email_invalid",
        "completion_message"
      ],
      "title": "YesFlowConfig",
      "type": "object"
    }
  },
  "properties": {
    "version": {
      "minimum": 1,
      "title": "Version",
      "type": "integer"
    },
    "list_button_text": {
      "$ref": "#/$defs/LocalizedText"
    },
    "category_sections": {
      "items": {
        "$ref": "#/$defs/CategorySection"
      },
      "title": "Category Sections",
      "type": "array"
    },
    "yes_flow": {
      "$ref": "#/$defs/YesFlowConfig"
    },
    "responses": {
      "$ref": "#/$defs/StaticResponseConfig"
    },
    "metadata": {
      "additionalProperties": {
        "type": "string"
      },
      "title": "Metadata",
      "type": "object"
    }
  },
  "required": [
    "version",
    "list_button_text",
    "category_sections",
    "yes_flow",
    "responses"
  ],
  "title": "FlowDefinition",
  "type": "object"
}