...
Login to Experience Manager and Select your project.
Open Experience Designer.
Import the below flow to any Experience Designer tab. Refer How do I export and import flows in Experience Designer
Code Block language json [ { "id": "6add8694.8a85b8", "type": "orbita-bot-provider-v2", "z": "5b628e93.0b248", "name": "", "botInParser": "var _ = global.get('lodash');\n// msg.payload.originalRequest.data = {\n// \"surveyID\":\"10000\"\n// }\nif(msg && msg.req && msg.req.query) {\n \n msg.payload.originalRequest.data.surveyID=msg.req.query.surveyId;\n}\n\nvar socketIOId = _.get(msg, 'req.socketIOId', null);\n\nif (socketIOId) {\n _.set(msg, 'payload.originalRequest.data.socketIOId', socketIOId);\n}\n", "botOutParser": "msg.payload.micInput=true;\nmsg.payload.startAlignmentTop = true;\nmsg.enableArrayResponse = true\n", "transcriptEnabled": false, "ttsconfig": "{\n \"languageCode\": \"en-US\",\n \"ssmlGender\": \"MALE\",\n \"audioEncoding\": \"MP3\"\n}", "providerType": "Google", "skillConfig": "ac17660e.066ee8", "token": "", "noerr": 0, "nlpData": false, "x": 280, "y": 200, "wires": [["ae629d4c.e2f1b"]] }, { "id": "d2b0cf85.5158a", "type": "bot-in", "z": "5b628e93.0b248", "skillConfig": "ac17660e.066ee8", "name": "", "rules": [], "x": 90, "y": 200, "wires": [["6add8694.8a85b8"]] }, { "id": "da9afcc6.1538a", "type": "bot-out", "z": "5b628e93.0b248", "skillConfig": "ac17660e.066ee8", "name": "", "x": 640, "y": 200, "wires": [] }, { "id": "ae629d4c.e2f1b", "type": "function", "z": "5b628e93.0b248", "name": "", "func": "msg.payload.directive = {\n \"type\": \"mainmenu\",\n \"title\":\"Menu options\",\n \"buttons\": []\n }\nreturn msg;", "outputs": 1, "noerr": 0, "x": 450, "y": 200, "wires": [["da9afcc6.1538a"]] }, { "id": "6952bc3b.ec7d04", "type": "template", "z": "5b628e93.0b248", "name": "", "field": "payload", "fieldType": "msg", "format": "handlebars", "syntax": "mustache", "template": "<body>\n <script src=\"/chatbot/v3/chat.js\"></script>\n <script>\n OrbitaChatBotV3.init({\n projectId: ' {{projectId}}',\n serverUrl: ' {{req.headers.x-forwarded-proto}}:// {{req.headers.host}}',\n botContainerId: 'chatWindow',\n botContentId: 'messages',\n botInputMessageId: 'input',\n botSendButtonId: 'orbita-send-button',\n botMicId: 'chatMic',\n botSpeakerId: 'un-mute',\n botMenuId: 'chatMenu',\n botIcon: 'chat-icon',\n botClose: 'menu',\n customData: {\n chooseFlow: \"\"\n },\n botSettings: { \n elementId: 'orbitabot',\n template: 'default' \n }\n });\n </script>\n</body>", "output": "str", "x": 460, "y": 160, "wires": [["2d48a5d5.c4859a"]] }, { "id": "2d48a5d5.c4859a", "type": "http response", "z": "5b628e93.0b248", "name": "", "statusCode": "", "headers": {}, "x": 630, "y": 160, "wires": [] }, { "id": "b2b415ed.a9a7e8", "type": "http in", "z": "5b628e93.0b248", "name": "", "url": "/v3Bot", "method": "get", "upload": false, "swaggerDoc": "", "x": 120, "y": 160, "wires": [["6a5a2a23.743f64"]] }, { "id": "c9814ead.31e13", "type": "comment", "z": "5b628e93.0b248", "name": "v3Bot View", "info": "", "x": 100, "y": 120, "wires": [] }, { "id": "6a5a2a23.743f64", "type": "function", "z": "5b628e93.0b248", "name": "", "func": "const util = global.get('orbitaUtil');\nmsg.projectId = util.getProjectId(node);\nreturn msg;", "outputs": 1, "noerr": 0, "x": 310, "y": 160, "wires": [["6952bc3b.ec7d04"]] }, { "id": "ac17660e.066ee8", "type": "alexa-skill-config", "skillname": "Demo Project", "projectId": "6185191debfd8c0075d6c880", "intents": "[]", "skillstate": "fromsession" }, { "id": "slots", "type": "slots", "z": "", "slots": [] } ]
...