{
  "hash": "-1359524629",
  "bot": {
    "id": "68a6ed66-6ecf-4ab4-b37f-fb30a58e9b16",
    "name": "Pre-conversation Survey Example (12-08-2023 02:33)",
    "chatBotType": "CUSTOMER_FACING_BOT",
    "description": "Example of populating pre-chat survey data.",
    "status": "NEW",
    "getStartedButtonPayload": "hi",
    "creationTime": 1702020797155,
    "modificationTime": 1702020797155,
    "demo": false,
    "skipNLP": false,
    "language": "en-US",
    "botAttributes": {
      "ENABLE_AGENT_ANNOTATIONS": "false",
      "ENABLE_DEBUG": "true",
      "PCS_FALLBACK_LIMIT": "3",
      "SMALL_TALK_ENABLED": "false",
      "URL_SHORTENING_ENABLED": "false"
    },
    "sessionLength": 0,
    "passThroughMode": false,
    "transcriptDisabled": false,
    "version": "2",
    "publicBot": false,
    "channel": "MESSAGING",
    "readOnly": false,
    "smallTalkEnabled": false
  },
  "responder": [],
  "requiredContext": [],
  "conversationMessage": [
    {
      "id": "4700ab7a20426147a070e55a3356d2044c7b46f4",
      "chatBotId": "68a6ed66-6ecf-4ab4-b37f-fb30a58e9b16",
      "userInputRequired": false,
      "name": "request first name",
      "type": "BOT_MESSAGE",
      "content": {
        "contentType": "STATIC",
        "results": {
          "type": "TEXT_QUESTION",
          "tile": {
            "tileData": [
              {
                "text": "What is your first name?",
                "buttons": [],
                "quickReplyList": []
              }
            ]
          }
        }
      },
      "group": "9b721863-9bd9-47fc-ae73-0f549c94782c",
      "status": "ACTIVE",
      "required": true,
      "nextMessageId": "eff9dc5ef28170f02d760fc53571183ff7af4cee",
      "prevMessageId": "72603d167d0934ba7664285c2af7cae2bfaffb78",
      "responseMatches": [
        {
          "name": "Validate First Name",
          "conditions": [
            {
              "matchType": "REGEX",
              "regexMatch": {
                "regexText": "^[^0-9]*$",
                "excludeKeywords": []
              }
            }
          ],
          "contextConditions": [],
          "contextMatchConditionType": "ANY",
          "action": {
            "name": "INTERACTION",
            "value": "next"
          },
          "contextDataVariables": [
            {
              "name": "firstName",
              "value": "{$query}",
              "scope": "SESSION"
            }
          ]
        },
        {
          "name": "No first name given",
          "conditions": [
            {
              "matchType": "NO_MATCH",
              "noMatch": {
                "fallbackMessage": "Please enter a valid name."
              }
            }
          ],
          "contextConditions": [],
          "contextMatchConditionType": "ANY",
          "action": {
            "name": "INTERACTION",
            "value": "4700ab7a20426147a070e55a3356d2044c7b46f4"
          },
          "contextDataVariables": []
        }
      ],
      "interactionType": "TEXT_QUESTION",
      "changeResponse": {
        "enabled": true
      },
      "cancelResponse": {
        "enabled": true
      }
    },
    {
      "id": "72603d167d0934ba7664285c2af7cae2bfaffb78",
      "chatBotId": "68a6ed66-6ecf-4ab4-b37f-fb30a58e9b16",
      "userInputRequired": false,
      "name": "dialog_starter",
      "pattern": [
        "hi"
      ],
      "type": "BOT_MESSAGE",
      "content": {
        "contentType": "STATIC",
        "results": {
          "type": "DIALOG_STARTER",
          "tile": {
            "tileData": [
              {
                "buttons": [],
                "quickReplyList": []
              }
            ]
          }
        }
      },
      "group": "9b721863-9bd9-47fc-ae73-0f549c94782c",
      "status": "ACTIVE",
      "required": true,
      "nextMessageId": "4700ab7a20426147a070e55a3356d2044c7b46f4",
      "responseMatches": [
        {
          "conditions": [],
          "contextConditions": [],
          "action": {
            "name": "INTERACTION",
            "value": "next"
          },
          "contextDataVariables": []
        }
      ],
      "interactionType": "DIALOG_STARTER"
    },
    {
      "id": "c1074c53506a563bf572fd4c9f6055baee9906fa",
      "chatBotId": "68a6ed66-6ecf-4ab4-b37f-fb30a58e9b16",
      "userInputRequired": false,
      "name": "fallback_starter",
      "type": "BOT_MESSAGE",
      "content": {
        "contentType": "STATIC",
        "results": {
          "type": "TEXT",
          "tile": {
            "tileData": [
              {
                "text": "Sorry, I am not able to understand.",
                "buttons": [],
                "quickReplyList": []
              }
            ]
          }
        }
      },
      "group": "c161e625-2041-439f-892a-11434f2ff5a7",
      "status": "ACTIVE",
      "required": true,
      "responseMatches": [
        {
          "conditions": [],
          "contextConditions": [],
          "action": {
            "name": "INTERACTION",
            "value": "next"
          },
          "contextDataVariables": []
        }
      ],
      "interactionType": "TEXT"
    },
    {
      "id": "c9862822774119a1ea04f6bafd469fd31493fb09",
      "chatBotId": "68a6ed66-6ecf-4ab4-b37f-fb30a58e9b16",
      "userInputRequired": false,
      "name": "private_message",
      "type": "BOT_MESSAGE",
      "content": {
        "contentType": "STATIC",
        "results": {
          "type": "PRIVATE_MESSAGE",
          "tile": {
            "tileData": [
              {
                "buttons": [],
                "privateMessageWidget": {
                  "privateMessage": "LAD365_PRE_CS_DATA | {\n    \"survey\": [\n        {\n            \"question\": \"What is your first name?\",\n            \"answer\": \"{$botContext.firstName}\",\n            \"type\": \"\"\n        },\n        {\n            \"question\": \"What is your last name?\",\n            \"answer\": \"{$botContext.lastName}\",\n            \"type\": \"\"\n        },\n        {\n            \"question\": \"What is your email?\",\n            \"answer\": \"{$botContext.email}\",\n            \"type\": \"\"\n        },\n        {\n            \"question\": \"What is your phone number?\",\n            \"answer\": \"{$botContext.phone}\",\n            \"type\": \"\"\n        }\n    ],\n    \"cxlvhlp_visitorfirstname\": \"{$botContext.firstName}\",\n    \"cxlvhlp_visitoremail\": \"{$botContext.email}\",\n    \"cxlvhlp_visitorlastname\":\"{$botContext.lastName}\",\n    \"cxlvhlp_visitorphone\":\"{$botContext.phone}\"\n} "
                },
                "quickReplyList": []
              }
            ]
          }
        }
      },
      "group": "9b721863-9bd9-47fc-ae73-0f549c94782c",
      "status": "ACTIVE",
      "required": true,
      "nextMessageId": "d896cecb37c9937197616acc14f66485559a00cf",
      "prevMessageId": "eff9dc5ef28170f02d760fc53571183ff7af4cee",
      "responseMatches": [
        {
          "name": "RULE_1",
          "conditions": [],
          "contextConditions": [],
          "action": {
            "name": "INTERACTION",
            "value": "next"
          },
          "contextDataVariables": []
        }
      ],
      "interactionType": "PRIVATE_MESSAGE",
      "interactionDelay": "1000"
    },
    {
      "id": "d896cecb37c9937197616acc14f66485559a00cf",
      "chatBotId": "68a6ed66-6ecf-4ab4-b37f-fb30a58e9b16",
      "userInputRequired": false,
      "name": "agent transfer",
      "type": "BOT_MESSAGE",
      "content": {
        "contentType": "DYNAMIC",
        "results": {
          "type": "ESCALATION",
          "tile": {
            "tileData": [
              {
                "text": "Transferring to an agent..",
                "buttons": [],
                "quickReplyList": [],
                "escalation": {
                  "tangoContextEnabled": false
                }
              }
            ]
          }
        }
      },
      "group": "9b721863-9bd9-47fc-ae73-0f549c94782c",
      "status": "ACTIVE",
      "required": true,
      "prevMessageId": "c9862822774119a1ea04f6bafd469fd31493fb09",
      "responseMatches": [
        {
          "name": "RULE_1",
          "conditions": [],
          "contextConditions": [],
          "action": {
            "name": "INTERACTION",
            "value": "next"
          },
          "contextDataVariables": []
        }
      ],
      "interactionType": "ESCALATION",
      "changeResponse": {
        "enabled": true
      },
      "cancelResponse": {
        "enabled": true
      },
      "interactionDelay": "2000"
    },
    {
      "id": "eff9dc5ef28170f02d760fc53571183ff7af4cee",
      "chatBotId": "68a6ed66-6ecf-4ab4-b37f-fb30a58e9b16",
      "userInputRequired": false,
      "name": "request last name",
      "type": "BOT_MESSAGE",
      "content": {
        "contentType": "STATIC",
        "results": {
          "type": "TEXT_QUESTION",
          "tile": {
            "tileData": [
              {
                "text": "What is your last name?",
                "buttons": [],
                "quickReplyList": []
              }
            ]
          }
        }
      },
      "preProcessMessage": "botContext.setBotVariable(\"firstName\", botContext.getCurrentUserMessage(), true, false);",
      "group": "9b721863-9bd9-47fc-ae73-0f549c94782c",
      "status": "ACTIVE",
      "required": true,
      "nextMessageId": "c9862822774119a1ea04f6bafd469fd31493fb09",
      "prevMessageId": "4700ab7a20426147a070e55a3356d2044c7b46f4",
      "responseMatches": [
        {
          "name": "Validate Last Name",
          "conditions": [
            {
              "matchType": "REGEX",
              "regexMatch": {
                "regexText": "^[^0-9]*$",
                "excludeKeywords": []
              }
            }
          ],
          "contextConditions": [],
          "contextMatchConditionType": "ANY",
          "action": {
            "name": "INTERACTION",
            "value": "next"
          },
          "contextDataVariables": [
            {
              "name": "lastName",
              "value": "{$query}",
              "scope": "SESSION"
            }
          ]
        },
        {
          "name": "No last name given",
          "conditions": [
            {
              "matchType": "NO_MATCH",
              "noMatch": {
                "fallbackMessage": "Please enter a valid name."
              }
            }
          ],
          "contextConditions": [],
          "contextMatchConditionType": "ANY",
          "action": {
            "name": "INTERACTION",
            "value": "eff9dc5ef28170f02d760fc53571183ff7af4cee"
          },
          "contextDataVariables": []
        }
      ],
      "interactionType": "TEXT_QUESTION",
      "changeResponse": {
        "enabled": true
      },
      "cancelResponse": {
        "enabled": true
      }
    }
  ],
  "menus": [],
  "groups": [
    {
      "chatBotId": "68a6ed66-6ecf-4ab4-b37f-fb30a58e9b16",
      "id": "9b721863-9bd9-47fc-ae73-0f549c94782c",
      "name": "1 Welcome",
      "creationTime": "2023-12-08 02:33:17",
      "modificationTime": "2023-12-08 02:33:17",
      "dialogType": "DIALOG",
      "status": "ENABLED",
      "disambiguteOnlySelectedDomains": false
    },
    {
      "chatBotId": "68a6ed66-6ecf-4ab4-b37f-fb30a58e9b16",
      "id": "c161e625-2041-439f-892a-11434f2ff5a7",
      "name": "2 Fallback",
      "creationTime": "2023-12-08 02:33:17",
      "modificationTime": "2023-12-08 02:33:17",
      "dialogType": "FALLBACK_DIALOG",
      "status": "ENABLED",
      "disambiguteOnlySelectedDomains": false
    }
  ],
  "platforms": [
    {
      "id": "bba31487c0b8a13fca3c98b4bb207dee92affe39",
      "chatbotId": "68a6ed66-6ecf-4ab4-b37f-fb30a58e9b16",
      "integrationType": "HTMLCLIENT",
      "platform": "HTMLCLIENT",
      "status": "NEW"
    }
  ],
  "associatedDomains": [],
  "dialogTemplates": []
}