{
  "id": "172e53ee-114d-46d1-b05a-67104163cdb5",
  "name": "Email Enquiry",
  "auto": true,
  "contexts": [
    "loggedIn"
  ],
  "responses": [
    {
      "resetContexts": false,
      "action": "",
      "affectedContexts": [
        {
          "name": "loggedIn",
          "lifespan": 1
        }
      ],
      "parameters": [
        {
          "id": "07765a4d-3867-4f23-b50d-3d1012a52e87",
          "name": "name",
          "required": true,
          "dataType": "@sys.any",
          "value": "$name",
          "defaultValue": "",
          "isList": false,
          "prompts": [
            {
              "lang": "en",
              "value": "How may I address you?"
            }
          ],
          "promptMessages": [],
          "noMatchPromptMessages": [],
          "noInputPromptMessages": [],
          "outputDialogContexts": []
        },
        {
          "id": "1c28f144-be54-4822-99fb-fa559c1869a2",
          "name": "cls",
          "required": true,
          "dataType": "@sys.any",
          "value": "$cls",
          "defaultValue": "",
          "isList": false,
          "prompts": [
            {
              "lang": "en",
              "value": "What\u0027s your class? (E.g. TE01)"
            }
          ],
          "promptMessages": [],
          "noMatchPromptMessages": [],
          "noInputPromptMessages": [],
          "outputDialogContexts": []
        },
        {
          "id": "b47e32c5-7757-4749-8b11-49e6a5187ef6",
          "name": "email",
          "required": true,
          "dataType": "@sys.email",
          "value": "$email",
          "defaultValue": "",
          "isList": false,
          "prompts": [
            {
              "lang": "en",
              "value": "What\u0027s your email address?"
            }
          ],
          "promptMessages": [],
          "noMatchPromptMessages": [],
          "noInputPromptMessages": [],
          "outputDialogContexts": []
        },
        {
          "id": "0fc19bbe-026c-4ceb-93ef-e2d5eeb43b37",
          "name": "message",
          "required": true,
          "dataType": "@sys.any",
          "value": "$message",
          "defaultValue": "",
          "isList": false,
          "prompts": [
            {
              "lang": "en",
              "value": "💬 Please type in your enquiry for tutor:"
            }
          ],
          "promptMessages": [],
          "noMatchPromptMessages": [],
          "noInputPromptMessages": [],
          "outputDialogContexts": []
        }
      ],
      "messages": [
        {
          "type": "0",
          "title": "",
          "textToSpeech": "",
          "lang": "en",
          "speech": [
            "📧 Email enquiry sent, we will get back to you soon!\n\nMeanwhile please continue to explore the topics or ask me anything! 🤗"
          ],
          "condition": ""
        },
        {
          "type": "4",
          "title": "",
          "payload": {
            "richContent": [
              [
                {
                  "options": [
                    {
                      "text": "See Topics"
                    }
                  ],
                  "type": "chips"
                }
              ]
            ]
          },
          "textToSpeech": "",
          "lang": "en",
          "condition": ""
        }
      ],
      "speech": []
    }
  ],
  "priority": 500000,
  "webhookUsed": true,
  "webhookForSlotFilling": false,
  "fallbackIntent": false,
  "events": [
    {
      "name": "emailEnquiry"
    }
  ],
  "conditionalResponses": [],
  "condition": "",
  "conditionalFollowupEvents": []
}