{"__v":0,"_id":"5845a4a99f6fbb1b00430803","category":{"version":"5845a4a89f6fbb1b004307b7","project":"54d3007669578e0d002730c9","_id":"5845a4a89f6fbb1b004307bd","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-07-08T18:48:02.369Z","from_sync":false,"order":5,"slug":"integrations","title":"Integrations"},"parentDoc":null,"project":"54d3007669578e0d002730c9","user":"55a04a395730f40d001104d2","version":{"__v":1,"_id":"5845a4a89f6fbb1b004307b7","project":"54d3007669578e0d002730c9","createdAt":"2016-12-05T17:32:24.708Z","releaseDate":"2016-12-05T17:32:24.708Z","categories":["5845a4a89f6fbb1b004307b8","5845a4a89f6fbb1b004307b9","5845a4a89f6fbb1b004307ba","5845a4a89f6fbb1b004307bb","5845a4a89f6fbb1b004307bc","5845a4a89f6fbb1b004307bd","5845a4a89f6fbb1b004307be","5845a4a89f6fbb1b004307bf","5845a4a89f6fbb1b004307c0"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"25.0.0","version":"25"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-06-10T17:00:11.753Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":8,"body":"* [Overview](#overview)\n* [Integrate API.AI Agent with Tropo](#integrate-apiai-agent-with-tropo)\n* [Create a Messaging Service in Tropo](#create-a-messaging-service-in-tropo)\n* [Test Your Bot](#test-your-bot)\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Overview\"\n}\n[/block]\n**API.AI Tropo Integration** for SMS allows you to easily create Tropo bots with natural language understanding based on the API.AI technology.\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Integrate API.AI Agent with Tropo\"\n}\n[/block]\n[Create an API.AI agent](https://console.api.ai/api-client/#/newAgent) with the help of the [API.AI NLU technology tools](https://docs.api.ai/docs/key-concepts).\n\nIn your API.AI agent go to Integrations menu, enable Tropo integration.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/VnxN6tdSQC3TcoGUeGfz_image02.png\",\n        \"image02.png\",\n        \"1596\",\n        \"1288\",\n        \"\",\n        \"\"\n      ],\n      \"sizing\": \"full\"\n    }\n  ]\n}\n[/block]\nThen click ‘Start’ and copy the Web (HTTP) API.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/8IraELCCQeeZ41wG4Ost_image00.png\",\n        \"image00.png\",\n        \"1588\",\n        \"1320\",\n        \"#5c5e94\",\n        \"\"\n      ],\n      \"sizing\": \"full\"\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Create a Messaging Service in Tropo\"\n}\n[/block]\nIn your [Tropo account](https://www.tropo.com/applications) go to Applications and click 'Create New App'.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/C7TMeSsjRWaMoi9gMqO3_image04.png\",\n        \"image04.png\",\n        \"1946\",\n        \"948\",\n        \"#0473a3\",\n        \"\"\n      ],\n      \"sizing\": \"full\"\n    }\n  ]\n}\n[/block]\nFill in the following fields: \n\n  * Name.\n  * Choose “Web (HTTP) API” in Type of Application part, then paste http link from API.AI.\n  * Choose Country and City for generate of phone number.\n  * Click “Create app”. \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/6sKTgSW1TRNnyDPBbFFQ_image03.png\",\n        \"image03.png\",\n        \"1310\",\n        \"1330\",\n        \"#09a1e1\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n  * Use by default “Development” checkbox.\n  * Clear the field “Voice Script”.\n  * Click “Save settings”. \n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/TxsHlL6oRvqlHdMgBk6G_image01.png\",\n        \"image01.png\",\n        \"1314\",\n        \"1192\",\n        \"#1a97cb\",\n        \"\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Test Your Bot\"\n}\n[/block]\nTest your bot sending text messages to the messaging service number.\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/V6VoanbuSsChG8n4rSnz_image05.png\",\n        \"image05.png\",\n        \"1125\",\n        \"1999\",\n        \"#e69310\",\n        \"\"\n      ],\n      \"sizing\": \"smart\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"tropo-integration","type":"basic","title":"Tropo Integration"}
* [Overview](#overview) * [Integrate API.AI Agent with Tropo](#integrate-apiai-agent-with-tropo) * [Create a Messaging Service in Tropo](#create-a-messaging-service-in-tropo) * [Test Your Bot](#test-your-bot) [block:api-header] { "type": "basic", "title": "Overview" } [/block] **API.AI Tropo Integration** for SMS allows you to easily create Tropo bots with natural language understanding based on the API.AI technology. [block:api-header] { "type": "basic", "title": "Integrate API.AI Agent with Tropo" } [/block] [Create an API.AI agent](https://console.api.ai/api-client/#/newAgent) with the help of the [API.AI NLU technology tools](https://docs.api.ai/docs/key-concepts). In your API.AI agent go to Integrations menu, enable Tropo integration. [block:image] { "images": [ { "image": [ "https://files.readme.io/VnxN6tdSQC3TcoGUeGfz_image02.png", "image02.png", "1596", "1288", "", "" ], "sizing": "full" } ] } [/block] Then click ‘Start’ and copy the Web (HTTP) API. [block:image] { "images": [ { "image": [ "https://files.readme.io/8IraELCCQeeZ41wG4Ost_image00.png", "image00.png", "1588", "1320", "#5c5e94", "" ], "sizing": "full" } ] } [/block] [block:api-header] { "type": "basic", "title": "Create a Messaging Service in Tropo" } [/block] In your [Tropo account](https://www.tropo.com/applications) go to Applications and click 'Create New App'. [block:image] { "images": [ { "image": [ "https://files.readme.io/C7TMeSsjRWaMoi9gMqO3_image04.png", "image04.png", "1946", "948", "#0473a3", "" ], "sizing": "full" } ] } [/block] Fill in the following fields: * Name. * Choose “Web (HTTP) API” in Type of Application part, then paste http link from API.AI. * Choose Country and City for generate of phone number. * Click “Create app”. [block:image] { "images": [ { "image": [ "https://files.readme.io/6sKTgSW1TRNnyDPBbFFQ_image03.png", "image03.png", "1310", "1330", "#09a1e1", "" ] } ] } [/block] * Use by default “Development” checkbox. * Clear the field “Voice Script”. * Click “Save settings”. [block:image] { "images": [ { "image": [ "https://files.readme.io/TxsHlL6oRvqlHdMgBk6G_image01.png", "image01.png", "1314", "1192", "#1a97cb", "" ] } ] } [/block] [block:api-header] { "type": "basic", "title": "Test Your Bot" } [/block] Test your bot sending text messages to the messaging service number. [block:image] { "images": [ { "image": [ "https://files.readme.io/V6VoanbuSsChG8n4rSnz_image05.png", "image05.png", "1125", "1999", "#e69310", "" ], "sizing": "smart" } ] } [/block]