Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This document explains how to create a bot manager flow in the Experience Designer.

Instructions

  1. Login to Experience Manager.

  2. Create/select a project.

  3. Enter the project by clicking on it.

  4. Navigate to Project Side navigation bar > Develop > Experience Designer (opens in a new tab).

  5. Import the bot manager flow.

    1. Click on the Hamburger menu > Import > Clipboard.

    2. Copy the below code and paste it into the pop-up window.

      [
          {
              "id": "252ead02.2d8d12",
              "type": "tab",
              "label": "Bot Manager",
              "disabled": false,
              "info": ""
          },
          {
              "id": "baf80b38.4f4fb8",
              "type": "alexa-flow-config reff",
              "z": "252ead02.2d8d12",
              "skillConfig": "a6543489.a0c308",
              "x": 100,
              "y": 50,
              "wires": []
          },
          {
              "id": "429069bb.4a7018",
              "type": "http in",
              "z": "252ead02.2d8d12",
              "name": "GET",
              "url": "/bot/yourbot",
              "method": "get",
              "upload": false,
              "swaggerDoc": "",
              "x": 170,
              "y": 120,
              "wires": [
                  [
                      "33be7b27.6dd684"
                  ]
              ]
          },
          {
              "id": "25f8d9bb.fb9556",
              "type": "http in",
              "z": "252ead02.2d8d12",
              "name": "POST",
              "url": "/bot/yourbot",
              "method": "post",
              "upload": false,
              "swaggerDoc": "",
              "x": 170,
              "y": 200,
              "wires": [
                  [
                      "75f9d49b.79494c"
                  ]
              ]
          },
          {
              "id": "1d76b0f5.1eefdf",
              "type": "http in",
              "z": "252ead02.2d8d12",
              "name": "GET: Default Settings",
              "url": "/bot/yourbot/settings",
              "method": "get",
              "upload": false,
              "swaggerDoc": "",
              "x": 120,
              "y": 280,
              "wires": [
                  [
                      "8f101cd3.e3338"
                  ]
              ]
          },
          {
              "id": "75f9d49b.79494c",
              "type": "orbita-bot-provider-v2",
              "z": "252ead02.2d8d12",
              "name": "Bot Provider V2",
              "botInParser": "",
              "botOutParser": "",
              "ttsconfig": "{\n              \"languageCode\": \"en-US\",\n              \"ssmlGender\": \"FEMALE\",\n              \"name\": \"en-US-Standard-C\",\n              \"audioEncoding\": \"MP3\"\n              }",
              "providerType": "Google",
              "skillConfig": "a6543489.a0c308",
              "token": "",
              "noerr": 0,
              "nlpData": false,
              "x": 380,
              "y": 200,
              "wires": [
                  [
                      "d517357b.5bb358"
                  ]
              ]
          },
          {
              "id": "d517357b.5bb358",
              "type": "http response",
              "z": "252ead02.2d8d12",
              "name": "Response",
              "statusCode": "",
              "headers": {},
              "x": 640,
              "y": 200,
              "wires": []
          },
          {
              "id": "33be7b27.6dd684",
              "type": "orbita-bot-view-template",
              "z": "252ead02.2d8d12",
              "name": "Bot View Template",
              "skillConfig": "a6543489.a0c308",
              "endpoint": "/bot/yourbot",
              "chatbotVersion": "v2",
              "customcss": "",
              "customjs": "",
              "customheader": "",
              "chatbotsetting": "",
              "chatjsurl": "",
              "x": 390,
              "y": 120,
              "wires": [
                  [
                      "d517357b.5bb358"
                  ]
              ]
          },
          {
              "id": "8f101cd3.e3338",
              "type": "function",
              "z": "252ead02.2d8d12",
              "name": "App Settings",
              "func": "msg.payload = { \n    speechToText: \"Google\", \n    headerLogo: \"\",\n    waitTime: \"250\",\n    micMode: 'push'\n};\nreturn msg;",
              "outputs": 1,
              "noerr": 0,
              "x": 370,
              "y": 280,
              "wires": [
                  [
                      "d517357b.5bb358"
                  ]
              ]
          },
          {
              "id": "a6543489.a0c308",
              "type": "alexa-skill-config",
              "skillname": "Test",
              "projectId": "610bd20e0a9066006e106f87",
              "intents": "[]",
              "skillstate": ",fromsession"
          },
          {
              "id": "slots",
              "type": "slots",
              "z": "",
              "slots": []
          }
      ]

    3. Select current flow/new flow as you prefer and click on Import.

Refer to this document for detailed configuration steps. How do I configure Chatbot

  • No labels