1. Home
  2. Docs
  3. Tutorials
  4. Building Your First Conversational App

Building Your First Conversational App

In this example, you’ll build a basic “what happened today” conversational application that provides simple, built- in responses to user’s requests. A conversational app is essentially the container or project and it contains intents, entities, and the responses you want to deliver to your user. Intents are the mechanisms that pick up what your user is requesting (using entities) and direct the app to respond accordingly.

Conversation.one is a build-once-deploy-anywhere platform, where your app can be deployed as an Alexa skill, Google Home action, Facebook Messenger bot, or a chatbot on your website

For simple replies that don’t include information gathered outside of the conversation, you can define textual hard-coded responses. More advanced responses can be made using your own logic and integrations. In later sections, you’ll add responses gathered from an external API call. For now, you’ll cover the basics.

Create a conversational app

A Conversation.one application represents your conversational interface through Amazon Alexa, Google Home or Facebook Messenger bot. To create an app:

  1. If you don’t already have a Conversation.one account, sign up. If you have an account, log in.
  2. Click on Create New App in the navigation. If it’s your first application, you will be redirected to the Create New App wizard automatically.
  3. Select your industry and enter your company name. For the purpose of this tutorial, select “Other” for the industry, and enter “What Happened Today” as your company name. Uncheck “Add demo data” to start with an empty application. Click Next to continue.
  4. Select the devices you want to support with your app. For this demo select Messenger, Amazon Alexa, Google Home, and Chatbot. Click Next to continue.
  5. Your new application is ready. Click Customize to start developing your app.

Create an intent

An intent maps what a user says with what your app does. This intent we will create now, will be invoked when the user asks for information on what happened today.

To create an intent:

  1. Create a new intent named “whatHappenedToday”
  2. In the User Says section, enter examples of what you might expect a user to ask for. The more examples you provide, the more ways a user can ask a question and the conversational app will understand. Enter these examples:
    • What happened today in history
    • What happened on this day in the past
    • What took place today
    • What occurred today
  3. Click Save to apply your changes

Add response

  1. In the Response section, select “Text” and enter “You created my first conversational app”
  2. Click Save to apply your changes

Try it out

Now that your app can understand basic requests from the user, try out what you have so far.

In the chat console on the right, type in a request. The request can be a little different than the examples you provided in the User Says section. This can be something like “what popped up today”. After you type the request, hit “Send”.

The chatbot will answer “You created my first conversational app”

What’s next?

In the next part, you’ll get relevant historical information via an API call.


Was this article helpful to you? Yes 3 No

How can we help?