<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Flow.ai on Medium]]></title>
        <description><![CDATA[Stories by Flow.ai on Medium]]></description>
        <link>https://medium.com/@flowai?source=rss-d7dcb539886a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*7FnKo6T1vA9mDrTdWgHETw.png</url>
            <title>Stories by Flow.ai on Medium</title>
            <link>https://medium.com/@flowai?source=rss-d7dcb539886a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 16:47:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@flowai/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Linking Flows Using Events]]></title>
            <link>https://medium.com/chat-bots/linking-flows-using-events-6ed1ce112c28?source=rss-d7dcb539886a------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ed1ce112c28</guid>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[conversational-ui]]></category>
            <dc:creator><![CDATA[Flow.ai]]></dc:creator>
            <pubDate>Sat, 10 Mar 2018 13:54:49 GMT</pubDate>
            <atom:updated>2018-03-23T02:07:29.796Z</atom:updated>
            <content:encoded><![CDATA[<h4>In this tutorial, we are going to learn how to trigger flow from other flows. We will also learn how to use parameters to trigger flows from a cloud code action.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nk6uVxELw-DaRq09tY7llQ.jpeg" /></figure><p><strong>What will we learn:</strong><br>* How to use events<br>* Trigger flows from other flows<br>* Use parameters to trigger flow in code</p><p><strong>No Flow.ai account?</strong><br>Go to <a href="https://app.flow.ai/signup">here</a> to create an account.</p><h4>What are we going to create?</h4><p>We are going to create a conversation where the user can ask for browser error messages. To make it easy we are going to focus on only the 404 and 500 error message. Depending on the error we are going to trigger a flow for 404 and 500 errors.</p><h4>Let’s start</h4><p>Login to Flow.ai and create a new project. After logging in, create a new flow and name this (Error Messages). Drag and drop the user trigger text and type in (What does 404 mean?). This text trigger, also known as an intent, will be trained to understand the question of the user about error messages. Before we continue, click on save.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xFizKTUjIrcgb2kTDmMBMw.jpeg" /><figcaption>Create a new flow and name this (Error Messages). Drag and drop the user trigger text and type in (What does 404 mean?)</figcaption></figure><p>Now, let’s train the intent. For the natural language processing, NLP, the work we have to train with at least five examples. The recommended number of examples is around 10. Click on the button train to enter the intent and rename the intent to (Intent Error Messages).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R_ZtPujUTRFQ6q1iODmYxQ.jpeg" /><figcaption>Train the intent with around 10 examples as shown above.</figcaption></figure><blockquote>Tip: always name your intents. This way you can find them back easier in your library. Every intent is saved to your library so you can reuse them in other places as well.</blockquote><p>Great! After you’ve trained the intent, save the intent and return to flows. Now, we will create a flow of the 404 error message and name this (Error 404). This flow will not be triggered by text but by an event.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jYbEMz4ehx2RDabKfRpmEg.jpeg" /><figcaption>Drag and drop an event trigger from the right pane.</figcaption></figure><p>Drag and drop the event trigger from the right pane and name this (Error_404). Underneath the event card, drag and drop a text reply and type in (404 means: Page not found). Save this flow and go to the (Error messages) flow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CrY77gnJlfFnN6jc5ebfAg.jpeg" /></figure><p>In the (Error messages) flow, drag and drop an event reply. Select the event reply and in the right pane, select the event (Error_404) from the drop-down menu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-JzX0oKm-GBfaJdRI-iAGA.jpeg" /></figure><blockquote>Tip: Events can be triggered from within other flows, but is also possible to trigger events from your back-end services.</blockquote><h4>Let’s try it out</h4><p>In tryout type in, error message 404&quot;. We can see that this question is trigging the event which opens the flow (Error 404).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AEngCHKwN5LUwrHBieUdrA.jpeg" /></figure><h4>Let’s make it more intelligent</h4><p>What we learned so far, is how you can trigger a flow from within another flow. This method is great if you want to reuse flows.</p><p>Let see how we can make this more dynamic and trigger an event using code. Create a flow and name this (Error 500). Drag and drop an event trigger and name this (Error_500). Beneath the event place a text reply and type in the message (500 means: Internal Server Error).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y9m64l_7vyI24bK9S-dwgg.jpeg" /></figure><h4>Make a list of errors</h4><p>What we want that the bot can respond to something it knows. Like we said we are going to focus on the 404 and 500 errors. Let’s make a list type. Go to entities from the left menu. Create a “list type” and name this (Errors). Add these two errors. We can also add some synonyms to understand the errors in other ways. Click on save and continue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7VElwF1PiQXP3B1gI4QtZw.jpeg" /><figcaption>Create a list type with the 404 and 500 errors.</figcaption></figure><blockquote>Tip: List type work great for a finite list, for example for products the products you sell or the services you provide.</blockquote><h4>Annotate entities</h4><p>Go to the (Error Messages) flow and open the intent by clicking on the train button. What we are going to do is annotate the error numbers so they can be interchangeable. So someone can ask about a 404 error as well as a 500 error. To annotate, just double-click on the error number and select (Errors) from the popup list. Do this with all the numbers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kj4AKaPg0WkN3jtEXfDKwQ.jpeg" /></figure><h4>Required and valid entities</h4><p>Because we have finite answers, we want to make sure that a user gives an error message that we have in our list. The given error should also be a valid entity, meaning that it’s part of the list type (Errors). Select the text card and select “Is required and valid entity” from the drop-down list in the right pane. After doing this, you’ll see a new option appearing on your canvas, an exclamation mark with the text (ERRORS). Click on this, and you’ll see two options, missing and invalid.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*28P3ui1SLdRslC-4AiO1kQ.jpeg" /></figure><h4>Change the message</h4><p>When a user asks a question that is understood but when the required parameters are missing, then the AI will reply with the text for missing entities. Change the missing text to (What is the error message?) and change the invalid text to (Sorry, I don’t know that one).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H8Me14liiF836XKYnNCQZQ.jpeg" /></figure><h4>Let’s try it out</h4><p>Go to tryout and type in: error message. You’ll see that the intent will be understood and that you’ll need to provide an error number. Now type in: 400. You see that it understood the entity, but it’s not a valid one. Type in 500, and you see that the entity is valid, but it’s triggering the (Error 404) flow. What we want to do is depending on the number trigger the correct flow. We can easily do this with code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Jljmem18uztb8842i0KcPg.jpeg" /></figure><h4>Cloud code action</h4><p>Go to the code app and create a new cloud code and name this (Go to trigger). Let’s create the code to trigger the correct flow depending on the error. First, we are going to collect the parameter from the intent. Create a variable to get the data from the intent. Type in the code: var error_num = payload.params.errors[0].value</p><p>What we will do next is trigger an event depending on the error number. Type in “trigger(“Error_”+error_num) This code will combine the beginning of the event name with the error number. So it will become dynamic. Click on save.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JC87AX8ceICzH2e1fLG6Rg.jpeg" /></figure><h4>From static to dynamic</h4><p>Go to the (Error messages) flow. We are going to replace the static event trigger with the code action with dynamic triggers. Delete the event trigger and drag and drop action reply from the right pane. Select the action card and then select the (Go to trigger) action from the drop-down menu in the right pane.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kY7VNQzyz8XUDpnEehehtQ.jpeg" /></figure><h4>Let’s try it out</h4><p>Let’s see if our new way of triggering events work. Go to tryout and type in: error message. Comparable to the pervious method you can answer with 400, with is not a valid entity. The errors 404 and 500 are part of our list try them out to see if it works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nk6uVxELw-DaRq09tY7llQ.jpeg" /></figure><h4>What have we learned?</h4><p>* How to use events<br>* Trigger flows from other flows<br>* Use parameters to trigger flow in code</p><h4>Source project</h4><p>Download the complete source project <a href="https://github.com/flow-ai/example-projects/blob/master/projects/flowai_Tutorial_Events.json">here</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2F58521e%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2F58521e%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/c90883b0516ddbe5c59960c12a04bc64/href">https://medium.com/media/c90883b0516ddbe5c59960c12a04bc64/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*mToBIVQSczojw0mSn2h5Sw.gif" /><figcaption>👏👏Clap below to recommend this article to others👏👏</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ed1ce112c28" width="1" height="1" alt=""><hr><p><a href="https://medium.com/chat-bots/linking-flows-using-events-6ed1ce112c28">Linking Flows Using Events</a> was originally published in <a href="https://medium.com/chat-bots">Chatbots Magazine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating an Alexa Skill with Flow.ai in 5 minutes]]></title>
            <link>https://medium.com/chat-bots/creating-an-alexa-skill-with-flow-ai-in-5-minutes-c6a38e2815ef?source=rss-d7dcb539886a------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6a38e2815ef</guid>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[amazon-echo]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[conversational-ui]]></category>
            <dc:creator><![CDATA[Flow.ai]]></dc:creator>
            <pubDate>Tue, 27 Feb 2018 10:15:51 GMT</pubDate>
            <atom:updated>2018-03-17T15:27:54.126Z</atom:updated>
            <content:encoded><![CDATA[<h4>Creating Alexa skills is easy and fast with Flow.ai. In this article you will learn the steps needed to integrate Alexa with Flow.ai and deploy a skill.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vjwFEpIV1HHGPl6Hf7SJPg.png" /></figure><h4>What you will need:</h4><ul><li>A <a href="http://app.flow.ai/">Flow.ai</a> account</li><li>An <a href="https://developer.amazon.com/">Amazon Developer</a> account</li><li>A voice</li></ul><h3>Creating the Flow.ai Skill</h3><p>For this article we will create a new project to hook up to Alexa, but you can of course follow these steps for any Flow.ai project you have. So, let’s dig right in! Create a new project and call it ‘<strong>Weather Report</strong>’. Make sure the name you choose is unique and you don’t already have an Alexa skill with that name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8bbe9WgP7Vg6aWUkRcVTWQ.png" /><figcaption>Press the <strong>+</strong>, create a new project and press ‘save’.</figcaption></figure><p>Now, we’re going to add some prebuilt content. For this case we’re going to work with a skill that tells you the weather in the city you provide. Go to the Design app and add a new template. Choose ‘<strong>Weather</strong>’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2y9nACYbeJ99UbW0ynC7kQ.png" /><figcaption>Select the Weather Template and press ‘add’</figcaption></figure><p>Great! We now we have a working Flow.ai skill. In order to test it, click Try it out on the top of the screen. You now see a chat interface that lets you type inputs and shows you what the skill is doing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*77wXUYMdiXXxYtIrnxZDsw.png" /></figure><p>Now that we have a working skill, we are going to put it on Amazon Alexa. Note that you can publish the same skill to Google Home, Facebook Messenger, your own website or another channel with Flow.ai.</p><h3>Setting up Alexa</h3><p>Go to Channels and press the + button. Add the Alexa channel. You should now see an Amazon login button. Click it to log in to you Amazon developer account and click create skill and then save .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BxgV3DtGSBsY5ZKVPnk0pw.png" /></figure><p>We are now done with setting up Flow.ai. Next, Now click view skill. This will bring you to your Flow skill on Amazon. You can see that a lot of configuration information has been filled out for you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6tzti8bnoJxh8ayxooV3JQ.png" /></figure><p>If you want to change the way people call your skill, click Invocation Name in the top right. So if your Invocation Name is ‘<em>weather report</em>’, saying “<em>Alexa ask weather report…</em>” would activate the skill. Make sure the Invocation Name follows <a href="https://developer.amazon.com/docs/custom-skills/choose-the-invocation-name-for-a-custom-skill.html#invocation-name-requirements">Amazon’s guidelines</a>. Once you’re done, hit Save Model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x3wv8lmwdkpVBxxDq5du6g.png" /></figure><p>You are now ready to test the integration! Click Test to go to the Amazon Echo simulator. Make sure the slider you see on top is set to `<em>Test is enabled for this skill</em>`. You can now type or say anything you want to say to Alexa. You can also check the Flow.ai platform by going to the Chat app. You should also see the conversation there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DpxRJUSAb_RQZDAc2uqqlw.png" /><figcaption>Testing the skill in the Alexa Simulator</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5g3AAbpN0mNkq4_T6lNnRw.png" /><figcaption>Seeing the conversations on the Flow.ai side</figcaption></figure><p>Once you are sure the skill works, you can click launch and under availability you can click Beta Test . Here you can add email adresses to send the beta invite out to.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fNgenmJPSS4VH3aLeNHqKQ.png" /><figcaption>Inviting beta testers</figcaption></figure><p>Beta invitees will find the skill under DEV skills in their Alexa app or on <a href="https://alexa.amazon.com/">alexa.amazon.com</a>. Once you have added the skill to your Amazon Echo, you can test it by saying to your Amazon Echo: “<em>Alexa ask Weather Report what is the weather in Toronto</em>”.</p><p>Once your skill is thoroughly tested, you can fill out all the required information about the skill and submit it for review to Amazon. And that is all there is to it!</p><p>So now that you know how to create Alexa skills with Flow.ai, it’s time to create your own voice apps! If you want to go further, as your next steps you could check out the <a href="https://docs.flow.ai/">Flow.ai documentation</a> and <a href="https://www.youtube.com/channel/UCnxhI27bNlmPol8EqWKFkng">videos</a> to get more acquainted with the platform.</p><p>If you want to know how to create your own version of the Weather Report bot, check the video below!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FSu2MGCF_Rwg%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DSu2MGCF_Rwg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FSu2MGCF_Rwg%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/67bffd4049120d4af0f6c9e79f7d145a/href">https://medium.com/media/67bffd4049120d4af0f6c9e79f7d145a/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2F58521e%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2F58521e%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/c90883b0516ddbe5c59960c12a04bc64/href">https://medium.com/media/c90883b0516ddbe5c59960c12a04bc64/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*QsdjZrMVeuaIJuyaqvsrWg.gif" /><figcaption>Clap to recommend this article to others!</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6a38e2815ef" width="1" height="1" alt=""><hr><p><a href="https://medium.com/chat-bots/creating-an-alexa-skill-with-flow-ai-in-5-minutes-c6a38e2815ef">Creating an Alexa Skill with Flow.ai in 5 minutes</a> was originally published in <a href="https://medium.com/chat-bots">Chatbots Magazine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating an Alexa Skill with Flow.ai in 5 minutes]]></title>
            <link>https://medium.com/chat-bots/creating-an-alexa-skill-with-flow-ai-in-30-minutes-6f50526807cf?source=rss-d7dcb539886a------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f50526807cf</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[amazon-echo]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[conversational-ui]]></category>
            <dc:creator><![CDATA[Flow.ai]]></dc:creator>
            <pubDate>Mon, 05 Feb 2018 16:06:29 GMT</pubDate>
            <atom:updated>2018-03-04T14:18:28.158Z</atom:updated>
            <content:encoded><![CDATA[<h4>Creating Alexa skills is easy and fast with Flow.ai. In this article you will learn the steps needed to integrate Alexa with Flow.ai and deploy a skill.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vjwFEpIV1HHGPl6Hf7SJPg.png" /></figure><h4>What you will need:</h4><ul><li>A <a href="http://app.flow.ai/">Flow.ai</a> account</li><li>An <a href="https://developer.amazon.com/">Amazon Developer</a> account</li><li>A voice</li></ul><h3>Creating the Flow.ai Skill</h3><p>For this article we will create a new project to hook up to Alexa, but you can of course follow these steps for any Flow.ai project you have. So, let’s dig right in! Create a new project and call it ‘<strong>Weather Report</strong>’. Make sure the name you choose is unique and you don’t already have an Alexa skill with that name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8bbe9WgP7Vg6aWUkRcVTWQ.png" /><figcaption>Press the <strong>+</strong>, create a new project and press ‘save’.</figcaption></figure><p>Now, we’re going to add some prebuilt content. For this case we’re going to work with a skill that tells you the weather in the city you provide. Go to the Design app and add a new template. Choose ‘<strong>Weather</strong>’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2y9nACYbeJ99UbW0ynC7kQ.png" /><figcaption>Select the Weather Template and press ‘add’</figcaption></figure><p>Great! We now we have a working Flow.ai skill. In order to test it, click Try it out on the top of the screen. You now see a chat interface that lets you type inputs and shows you what the skill is doing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*77wXUYMdiXXxYtIrnxZDsw.png" /></figure><p>Now that we have a working skill, we are going to put it on Amazon Alexa. Note that you can publish the same skill to Google Home, Facebook Messenger, your own website or another channel with Flow.ai.</p><h3>Setting up Alexa</h3><p>Go to Channels and press the + button. Add the Alexa channel. You should now see an Amazon login button. Click it to log in to you Amazon developer account and click create skill and then save .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BxgV3DtGSBsY5ZKVPnk0pw.png" /></figure><p>We are now done with setting up Flow.ai. Next, click view skill. This will bring you to your Flow skill on Amazon. You can see that a lot of configuration information has been filled out for you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6tzti8bnoJxh8ayxooV3JQ.png" /></figure><p>If you want to change the way people call your skill, click Invocation Name in the top right. So if your Invocation Name is ‘<em>weather report</em>’, saying “<em>Alexa ask weather report…</em>” would activate the skill. Make sure the Invocation Name follows <a href="https://developer.amazon.com/docs/custom-skills/choose-the-invocation-name-for-a-custom-skill.html#invocation-name-requirements">Amazon’s guidelines</a>. Once you’re done, hit Save Model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x3wv8lmwdkpVBxxDq5du6g.png" /></figure><p>You are now ready to test the integration! Click Test to go to the Amazon Echo simulator. Make sure the slider you see on top is set to `<em>Test is enabled for this skill</em>`. You can now type or say anything you want to say to Alexa. You can also check the Flow.ai platform by going to the Chat app. You should also see the conversation there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DpxRJUSAb_RQZDAc2uqqlw.png" /><figcaption>Testing the skill in the Alexa Simulator</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5g3AAbpN0mNkq4_T6lNnRw.png" /><figcaption>Seeing the conversations on the Flow.ai side</figcaption></figure><h3>Beta testing</h3><p>Once you are sure the skill works, you can click launch and under availability you can click Beta Test . Here you can add email adresses to send the beta invite out to.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fNgenmJPSS4VH3aLeNHqKQ.png" /><figcaption>Inviting beta testers</figcaption></figure><p>Beta invitees will find the skill under DEV skills in their Alexa app or on <a href="https://alexa.amazon.com/">alexa.amazon.com</a>. Once you have added the skill to your Amazon Echo, you can test it by saying to your Amazon Echo: “<em>Alexa ask Weather Report what is the weather in Toronto</em>”.</p><p>Once your skill is thoroughly tested, you can fill out all the required information about the skill and submit it for review to Amazon. And that is all there is to it!</p><p>So now that you know how to create Alexa skills with Flow.ai, it’s time to create your own voice apps! If you want to go further, you could check out the <a href="https://docs.flow.ai/">Flow.ai documentation</a> and <a href="https://www.youtube.com/channel/UCnxhI27bNlmPol8EqWKFkng">videos</a> to get more acquainted with the platform.</p><p>If you want to know how to create your own version of the Weather Report bot, check the video below!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FSu2MGCF_Rwg%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DSu2MGCF_Rwg&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FSu2MGCF_Rwg%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/67bffd4049120d4af0f6c9e79f7d145a/href">https://medium.com/media/67bffd4049120d4af0f6c9e79f7d145a/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2F58521e%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2F58521e%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/c90883b0516ddbe5c59960c12a04bc64/href">https://medium.com/media/c90883b0516ddbe5c59960c12a04bc64/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*mToBIVQSczojw0mSn2h5Sw.gif" /><figcaption>👏👏Clap below to recommend this article to others👏👏</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f50526807cf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/chat-bots/creating-an-alexa-skill-with-flow-ai-in-30-minutes-6f50526807cf">Creating an Alexa Skill with Flow.ai in 5 minutes</a> was originally published in <a href="https://medium.com/chat-bots">Chatbots Magazine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flow.ai Design — Branch out a conversation.]]></title>
            <link>https://medium.com/@flowai/flow-ai-design-branching-624d3ecbd139?source=rss-d7dcb539886a------2</link>
            <guid isPermaLink="false">https://medium.com/p/624d3ecbd139</guid>
            <category><![CDATA[chatbot-platforms]]></category>
            <category><![CDATA[amazon-echo]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[conversational-ui]]></category>
            <category><![CDATA[facebook-messenger]]></category>
            <dc:creator><![CDATA[Flow.ai]]></dc:creator>
            <pubDate>Thu, 11 Jan 2018 10:55:33 GMT</pubDate>
            <atom:updated>2018-02-02T18:20:43.235Z</atom:updated>
            <content:encoded><![CDATA[<h3>What we are going to learn?</h3><p>In this tutorial, we will learn how to create a conversation branch. We will also attach quick-reply buttons to a text reply.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*f9aCb_qDx2aIhJoI5HHTiA.jpeg" /><figcaption>We are going to design a simple branched flow with quick reply buttons.</figcaption></figure><h3>Create an account</h3><p>Log in to your account or create a new one at <a href="https://app.flow.ai/">https://app.flow.ai</a></p><h3>Let’s start</h3><p>Create a new flow and drag and drop a text trigger. We will create an intent to understand someone ordering a pizza. Train the intent with at least 5 examples (I want to order a pizza, I would love some pizza, etc.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*7vKZhAhOs2GFKgWJ-U9P2Q.jpeg" /><figcaption>Drag and drop the user-trigger text to your flow.</figcaption></figure><p>In our example we want to know if the customer wants the pizza to be delivered or if it’s a carryout. We will ask this in a <em>text reply</em> and make it easier for the user by presenting two <em>quick replies</em>.</p><h3>Quick replies</h3><p>These type of buttons make it really easy for a user to select an answer instead of typing it. In order to create a quick reply, select the text reply and in the sidebar press the “+” button next to “quick replies”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*urCGEfsd9HBrUv3ssqAUEw.jpeg" /><figcaption>Select the reply-action and add 2 quick replies: Delivery and Carryout.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*csGPyNV0T5bDiNHfdlvA7w.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*MyARqME8PdcNfieKTlMG7A.jpeg" /><figcaption>Drag and drop a new user-trigger “Text” next to the “Delivery” intent.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*9Kq_ibjNs1_O6cD90AvrEQ.jpeg" /><figcaption>You final flow should look like this.</figcaption></figure><h3>Source project</h3><p>You can <a href="https://github.com/flow-ai/example-projects/blob/master/projects/flowai_Tutorial_Branching.json">download the completed project</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FFt9icH6o_TY%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DFt9icH6o_TY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FFt9icH6o_TY%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ea67b07549f4e80cd3b09218cb71a728/href">https://medium.com/media/ea67b07549f4e80cd3b09218cb71a728/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=624d3ecbd139" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flow.ai Design — Collecting data from a conversation]]></title>
            <link>https://blog.chatbotslife.com/flow-ai-design-working-with-entities-360bdc4a0efb?source=rss-d7dcb539886a------2</link>
            <guid isPermaLink="false">https://medium.com/p/360bdc4a0efb</guid>
            <category><![CDATA[bots]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[chatbot-platforms]]></category>
            <category><![CDATA[facebook-messenger]]></category>
            <category><![CDATA[conversational-ui]]></category>
            <dc:creator><![CDATA[Flow.ai]]></dc:creator>
            <pubDate>Thu, 11 Jan 2018 10:49:31 GMT</pubDate>
            <atom:updated>2018-02-02T18:18:57.436Z</atom:updated>
            <content:encoded><![CDATA[<p>Extracting information and creating advanced sub flows</p><h4>What will we learn</h4><p>In this tutorial we will learn how to create a <a href="https://docs.flow.ai/overview/entities.html">custom entity type</a>, mark entities within an intent and make it required for a specific flow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*RHXIHWMzQQ9nsZp-Q296ew.jpeg" /></figure><blockquote>To support this example we will build a simple bot that takes food orders. The food served is either pizza or pasta.</blockquote><h3>Create an account</h3><p>Log in to your account or create a new one at <a href="https://app.flow.ai/">https://app.flow.ai</a></p><h4>Create a custom entity type</h4><p>Open up the design app and select entity types from the left menu. We are going to create an entity type called <em>food</em> with the values <em>pizza</em> and <em>pasta</em>.</p><p>Rename the entity to <em>Food Entity</em> and make sure the exact matching option is turned on.</p><blockquote>When exact matching is turned on, the bot is bound to the list of values you create. If turned off the bot might also match other values it could deem similar, like hamburgers or fries.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*P4_m5uIutpuJu2ywH792Iw.jpeg" /></figure><h4>Training the intent</h4><p>Go to the food ordering flow and add training examples to the intent. Add at least 10 examples. For example; I want to order food, I am hungry, Bring me some pasta etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*3LO63bXUBMFU1VjOWeVUGw.jpeg" /></figure><h4>Marking entities</h4><p>There are two ways to mark entities within your training examples:</p><ul><li>Double clicking a word</li><li>Selecting text from left to right</li></ul><p>Mark the first occurrence of the word <strong>pizza</strong> or <strong>pasta</strong><em>. </em>Once the word is highlighted select the entity <strong>Food Entity</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*KuNF_wYmgT0razRQwYbLpQ.jpeg" /></figure><h4>Naming the entity</h4><p>For this example we will call the entity <strong>food</strong>. You can rename entities using the sidebar.</p><blockquote>You can have multiple entities with the same entity type that have different roles. For example a City entity type that is used to mark a departure and destination city. Always give your entities meaningful names like departure_city and destination_city</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*T_IF9UoGDNb3PcMAu24j_w.jpeg" /></figure><p>Now mark the remaining words in the intent. Make sure you mark all the <em>pizza</em> and <em>pasta</em> words and select the correct <strong>food</strong> entity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*kj5yC4-8DCpfn7WfWEUPmA.jpeg" /></figure><h4>Required entities</h4><p>Making entities required allows you to prompt a user if the bot could not detect an entity. In this example we will need to know what someone likes to order: pizza or pasta, otherwise we will prompt with a question “what would you like to eat?”</p><p>To make an entity required go back to the flow and select the text trigger. Within the sidebar select <strong>required and valid </strong>from the dropdown beneath the entity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*S6AQU_g5ncQbCCUwvlrY7g.jpeg" /></figure><p>After making the entity <em>food</em> required and valid. A new sub-flow will appear. Click this to see the required and valid messages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*tdFhqqAjgc2cAAa8mtwE2Q.jpeg" /></figure><h4>Required prompt</h4><p>The difference between <em>required</em> and <em>required and valid</em> is subtle. It basically allows you to differentiate the prompt for a user based on the information the bot detects.</p><p>The required prompt is triggered when the bot understands the intent but couldn’t match any entity. In our example “Hi, I want to place an order” would present the required prompt since no entity is matched.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*JrSVF3Z0Bje6e9hG1et_2Q.jpeg" /></figure><h4>Invalid prompt</h4><p>If your bot does find an entity, but it’s not present in the list of values of your entity type, the invalid prompt is reached.</p><p>This bot only serves pizza and pasta, so if a user says “Hi, I want to order a hamburger”, the bot would know <em>hamburger</em> is not a valid entity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*_W-GxLxQiLSEqV15MUbOJg.jpeg" /></figure><h4>Finish the flow</h4><p>Select the main flow and add a text reply</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*5_a2VAFv5e0n4dDIMfZfCg.jpeg" /></figure><h4>Recap</h4><p>With this tutorial we learned how to create a simple bot that only takes food orders for pizza and pasta. We’ve learned how to create a custom entity type and mark entities within an intent. By making an entity <em>required and valid</em> we learned to create sub-flows for missing and invalid entities.</p><h4><strong>Source code</strong></h4><p><a href="https://github.com/flow-ai/example-projects/blob/master/projects/flowai_Tutorial_Required_Entities.json">Download the completed project</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2F3e59ef%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2F3e59ef&amp;image=http%3A%2F%2Fapi.screenshotlayer.com%2Fapi%2Fcapture%3Faccess_key%3Dfe59908dad3baab69ffab249a2224b03%26viewport%3D1024x612%26width%3D1000%26url%3Dhttps%253A%252F%252Fupscri.be%252F3e59ef%253Fscreenshot&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/7078d8ad19192c4c53d3bf199468e4ab/href">https://medium.com/media/7078d8ad19192c4c53d3bf199468e4ab/href</a></iframe><figure><a href="https://chatbotslife.com/bot-communities-mastermind-group-d2dae9876709#.53x0py6ou"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*6XUspT9JOSq0w0Fi35HIaA.png" /></a></figure><figure><a href="https://m.me/ChatbotsLife"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*c1LDMH5vbnIz9rmAka8Hwg.png" /></a></figure><figure><a href="https://chatbotslife.com/how-to-get-a-free-chatbot-b1fb9dfe109#.z9dtp2sy0"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*D0Jf3dI6ZThtqcfwDYY7mg.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=360bdc4a0efb" width="1" height="1" alt=""><hr><p><a href="https://blog.chatbotslife.com/flow-ai-design-working-with-entities-360bdc4a0efb">Flow.ai Design — Collecting data from a conversation</a> was originally published in <a href="https://blog.chatbotslife.com/">Chatbots Life</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flow.ai Settings — Exporting and importing projects]]></title>
            <link>https://medium.com/@flowai/flow-ai-settings-exporting-and-importing-projects-a66e77b4e76c?source=rss-d7dcb539886a------2</link>
            <guid isPermaLink="false">https://medium.com/p/a66e77b4e76c</guid>
            <category><![CDATA[amazon-echo]]></category>
            <category><![CDATA[conversational-ui]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[facebook-messenger]]></category>
            <category><![CDATA[chatbot-platforms]]></category>
            <dc:creator><![CDATA[Flow.ai]]></dc:creator>
            <pubDate>Thu, 11 Jan 2018 10:47:25 GMT</pubDate>
            <atom:updated>2018-01-27T01:06:55.013Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>What we will learn</strong><br>In this tutorial, we are going to show how to export and import projects. This is an easy way to backup your bot and import previous versions from other sources.</p><h3>Create an account</h3><p>Log in to your account or create a new one at <a href="https://app.flow.ai/">https://app.flow.ai</a></p><h3>Let’s start</h3><p>Open the settings app and select <em>Backup</em> from the menu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*lj9RH9p9zwmE6ufWdeJJmg.jpeg" /><figcaption>Click on your profile and select “Manage projects” from the drop down.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*z8b3sIc2z67_6FaCs3gDIA.jpeg" /><figcaption>Click on “Backup” in the left menu.</figcaption></figure><h3>Export</h3><p>If you want to make a backup of a project click on “Export” to save your project to your computer. All flows, training data and code will be exported as well as all the brain settings.</p><h3>Import</h3><p>Choose <em>import</em> and choose the project file. Note that existing data might be replaced by importing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*Q5kkPiOxyoYTtBNeYffs0Q.jpeg" /><figcaption>Import a project by clicking on “Upload” under import.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a66e77b4e76c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flow.ai Brains — Setting up the brains for your bot]]></title>
            <link>https://blog.chatbotslife.com/flow-ai-brains-setting-up-the-brains-for-your-bot-e270d1ca730f?source=rss-d7dcb539886a------2</link>
            <guid isPermaLink="false">https://medium.com/p/e270d1ca730f</guid>
            <category><![CDATA[bots]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[chatbot-platforms]]></category>
            <category><![CDATA[amazon-echo]]></category>
            <category><![CDATA[conversational-ui]]></category>
            <dc:creator><![CDATA[Flow.ai]]></dc:creator>
            <pubDate>Thu, 11 Jan 2018 10:45:45 GMT</pubDate>
            <atom:updated>2018-01-27T01:10:23.604Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>What we will learn</strong></h3><p>In this tutorial we will explain how to add a <em>brain</em>. A brain is the AI engine that powers your bot and is configured in it’s own language.</p><p>The Flow.ai platform has automatic language detection and adding multiple brains allows you to create multilingual solutions that can run on a single channel like Facebook Messenger.</p><h3>Create an account</h3><p>Log in to your account or create a new one at <a href="https://app.flow.ai/">https://app.flow.ai</a></p><h3>Let’s start</h3><p>After logging in to your account select the Brains app from the dashboard. When you sign up or create a new project, a brain is automatically created in your default language. Within the Brain app you can add additional brains.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*QK9fuwthXUFcUhJelCZc2A.jpeg" /><figcaption>Select the Brain App from the start screen.</figcaption></figure><p><strong>Rename the brain<br></strong>Rename the brain for your bot to anything you like, for example; brain tutorial.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*KtDGBF-1Ty301uJN58Bh7g.jpeg" /><figcaption>Rename the brain to anything you like.</figcaption></figure><p><strong>Select a language</strong><br>Choose one of the supported languages; Dutch, English, French, German, Spanish, and Italian. Additional languages are added in the near future.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*goEFpyXObpoF2z4_Ld2EBw.jpeg" /><figcaption>Select the language for your bot.</figcaption></figure><h3>Confidence level</h3><p>Whenever your bot receives a text message, the AI will try to determine the intention of a user. If it finds a match, it will rank it by giving the result a score ranging between 1% and 100%.</p><p>Use the confidence threshold to determine when your bot should reply. For example, if you use a 70% confidence threshold, all messages with a score less than that will not be answered, or will trigger an “<em>unknown”</em> step if present.</p><blockquote>Use a high confidence level when working in a customer service appliance, or a medium level when creating a standalone bot</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*YjaACaR3NZcUNhtd3sp-9w.jpeg" /><figcaption>Set you confidence level for the intents.</figcaption></figure><h3>Auto Pause</h3><p>There are a number of situations a bot will automatically pause and stop responding to a specific interaction.</p><p><strong>Chat app<br></strong>Any interaction with a bot can be viewed using the Chat app. If you talk back to a user a bot will be automatically paused. The <em>minutes to auto pause</em> setting determines how long it will be paused.</p><blockquote>Manually pause and resume bots using the Chat app</blockquote><p><strong>Moderator</strong><br>Another situation that a bot will auto pause is when a moderator message is received. This can for example happen if a bot is active on Facebook Messenger and social media tooling is used manage and respond to customer service questions.</p><p><strong>Take over</strong><br>The system allows complex workflows and customisations using Cloud code. Within cloud code it’s also possible to pause a bot. By default a bot would be paused using the minutes to auto pause</p><blockquote>When creating a customer service implementation, it’s best to use a duration between 15 to 30 minutes</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*Qk3TLYy_5xJrHDbbKGzxyQ.jpeg" /><figcaption>Select how many minutes the bot should be pause after a conversation take over.</figcaption></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2F3e59ef%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2F3e59ef&amp;image=http%3A%2F%2Fapi.screenshotlayer.com%2Fapi%2Fcapture%3Faccess_key%3Dfe59908dad3baab69ffab249a2224b03%26viewport%3D1024x612%26width%3D1000%26url%3Dhttps%253A%252F%252Fupscri.be%252F3e59ef%253Fscreenshot&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/7078d8ad19192c4c53d3bf199468e4ab/href">https://medium.com/media/7078d8ad19192c4c53d3bf199468e4ab/href</a></iframe><figure><a href="https://chatbotslife.com/bot-communities-mastermind-group-d2dae9876709#.53x0py6ou"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*6XUspT9JOSq0w0Fi35HIaA.png" /></a></figure><figure><a href="https://m.me/ChatbotsLife"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*c1LDMH5vbnIz9rmAka8Hwg.png" /></a></figure><figure><a href="https://chatbotslife.com/how-to-get-a-free-chatbot-b1fb9dfe109#.z9dtp2sy0"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*D0Jf3dI6ZThtqcfwDYY7mg.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e270d1ca730f" width="1" height="1" alt=""><hr><p><a href="https://blog.chatbotslife.com/flow-ai-brains-setting-up-the-brains-for-your-bot-e270d1ca730f">Flow.ai Brains — Setting up the brains for your bot</a> was originally published in <a href="https://blog.chatbotslife.com/">Chatbots Life</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flow.ai Design — Create a simple Hello World conversation.]]></title>
            <link>https://blog.chatbotslife.com/flow-ai-design-hello-world-d93f7b09624d?source=rss-d7dcb539886a------2</link>
            <guid isPermaLink="false">https://medium.com/p/d93f7b09624d</guid>
            <category><![CDATA[amazon-echo]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[chatbot-design]]></category>
            <category><![CDATA[chatbot-platforms]]></category>
            <category><![CDATA[bots]]></category>
            <dc:creator><![CDATA[Flow.ai]]></dc:creator>
            <pubDate>Thu, 11 Jan 2018 09:54:09 GMT</pubDate>
            <atom:updated>2018-02-02T18:19:45.014Z</atom:updated>
            <content:encoded><![CDATA[<p>Learn how to create a simple hello world bot</p><h3>What we are going to learn</h3><p>In this tutorial, we are going to build a simple “hello world” flow.<br>We are going to train an intent to understand a greeting and reply with the text “hello world”. This tutorial will also touch on reusable intents.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*OIh7aRoh5VlJrz1qoidiNg.jpeg" /><figcaption>We are going to design a simple “Hello World” bot.</figcaption></figure><h3>Let’s start</h3><p>Once you have logged in, select the <a href="https://app.flow.ai/design">Design</a> app from the dashboard and press the add button to create a new <a href="https://docs.flow.ai/overview/design.html">flow</a>.</p><h3>Create an account</h3><p>Log in to your account or create a new one at <a href="https://app.flow.ai/">https://app.flow.ai</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*WtC4Vw1CYyAnver0GwWFTQ.jpeg" /><figcaption>Add a flow by clicking on the plus icon.</figcaption></figure><h3>Design the conversation</h3><p>After creating a new flow rename it to “Hello World”, drag and drop a <a href="https://docs.flow.ai/overview/flows/triggers.html">user trigger</a> called <em>text</em> from the sidebar and press save.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*7hqNhR38ImnU_nUdu2ADgQ.jpeg" /><figcaption>Rename your flow to “Hello World”</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*av8Ikxuqo3MiIVbcTYtHXg.jpeg" /><figcaption>Drag and drop the user-trigger “Text”</figcaption></figure><h3>Training</h3><p>After dragging and dropping the <em>text trigger</em>, type in <em>hello</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*acjMJIPJ0bW1dnoJDzTrlQ.jpeg" /><figcaption>Type in “Hello”</figcaption></figure><p>Press the train button to add training examples to the intent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*0-fhsoLM2-T5sNPYC5qOWA.jpeg" /><figcaption>Click on train to train the intent.</figcaption></figure><p>Rename the intent to “Intent Greeting”</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*xs0lEDTrUf3aOBmxWvlR3A.jpeg" /><figcaption>Rename your intent to “Intent Greeting”</figcaption></figure><p>In order to give the bot the ability to respond to a variety of inputs, we need to add additional examples. The AI engine will start using NLP (Natural Language Processing) when it has at least 5 examples.</p><blockquote>The more examples, the better the AI engine will work. We advice to add at least 10 examples for an intent to work well</blockquote><p>After adding the examples press save and return to the flow.</p><h3>Reply</h3><p>The bot is now trained to understand a greeting, let’s drag and drop a <a href="https://docs.flow.ai/overview/flows/reply-actions.html">text reply</a> to the flow. Type in “Hello World” as the text.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*O9b69_5OfE63G-wd1kJa_A.jpeg" /><figcaption>Drag and drop a reply-action text.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*MxZ6ydB3_sRWKbdGOELk6g.jpeg" /><figcaption>Reply with the text “Hello World”.</figcaption></figure><h3>Hello again</h3><p>The bot understands a greeting and will reply with “Hello World”. We can now reuse our trained intent to respond differently when a user has already greeted the bot.</p><p>Select the library tab within the sidebar and drag and drop the “Intent Greeting” below the reply.</p><p>And again place a<em> text reply </em>after that with a text like: “Hello Again!”</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*LoINlXRmN7PAhTEpVqaPpQ.jpeg" /><figcaption>Drag and drop the “Intent Greeting from your library to the flow.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*q_tiCF8-EetrVI5cODM5Fw.jpeg" /><figcaption>This is what your final flow should look like.</figcaption></figure><p><strong>What we’ve learned</strong><br>We learned how to create a simple “Hello World” flow and how to train an intent. We also learned how to reuse an intent in the same flow to give a different answer.</p><p><strong>Source code</strong><br>You can <a href="https://github.com/flow-ai/example-projects/blob/master/projects/flowai_Tutorial_Hello_World.json">download the completed project</a></p><p><strong>Video<br></strong>Watch the video tutorial <a href="https://youtu.be/2d1jo7FxChM">here</a>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2F3e59ef%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2F3e59ef&amp;image=http%3A%2F%2Fapi.screenshotlayer.com%2Fapi%2Fcapture%3Faccess_key%3Dfe59908dad3baab69ffab249a2224b03%26viewport%3D1024x612%26width%3D1000%26url%3Dhttps%253A%252F%252Fupscri.be%252F3e59ef%253Fscreenshot&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/7078d8ad19192c4c53d3bf199468e4ab/href">https://medium.com/media/7078d8ad19192c4c53d3bf199468e4ab/href</a></iframe><figure><a href="https://chatbotslife.com/bot-communities-mastermind-group-d2dae9876709#.53x0py6ou"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*6XUspT9JOSq0w0Fi35HIaA.png" /></a></figure><figure><a href="https://m.me/ChatbotsLife"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*c1LDMH5vbnIz9rmAka8Hwg.png" /></a></figure><figure><a href="https://chatbotslife.com/how-to-get-a-free-chatbot-b1fb9dfe109#.z9dtp2sy0"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*D0Jf3dI6ZThtqcfwDYY7mg.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d93f7b09624d" width="1" height="1" alt=""><hr><p><a href="https://blog.chatbotslife.com/flow-ai-design-hello-world-d93f7b09624d">Flow.ai Design — Create a simple Hello World conversation.</a> was originally published in <a href="https://blog.chatbotslife.com/">Chatbots Life</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>