<?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 Matty Mariansky on Medium]]></title>
        <description><![CDATA[Stories by Matty Mariansky on Medium]]></description>
        <link>https://medium.com/@mmatty?source=rss-770214e496bd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*5ToV0cqOMbqzbjEZmjORjw.png</url>
            <title>Stories by Matty Mariansky on Medium</title>
            <link>https://medium.com/@mmatty?source=rss-770214e496bd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 22:45:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mmatty/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[Good intentions, short attentions and message menus]]></title>
            <link>https://medium.com/chat-bots/good-intentions-short-attentions-and-message-menus-ca204120244d?source=rss-770214e496bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca204120244d</guid>
            <category><![CDATA[product-design]]></category>
            <category><![CDATA[slack]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[conversational-ui]]></category>
            <category><![CDATA[habit-building]]></category>
            <dc:creator><![CDATA[Matty Mariansky]]></dc:creator>
            <pubDate>Mon, 03 Jul 2017 11:01:00 GMT</pubDate>
            <atom:updated>2017-07-07T19:28:51.283Z</atom:updated>
            <content:encoded><![CDATA[<h3>Slack’s Message Menus: Good Intentions And Short Attentions</h3><h4>How Slack’s message menus help Meekan’s users stay in context.</h4><p>We’ve just added a brand new drop-down to Meekan, our Slack scheduling assistant bot. On first glance it might look kinda ordinary, so let me explain why we’re so thrilled about it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/582/1*In0boE4NDgMG6dx-OXtVoA.gif" /></figure><h4><strong>What Does It Do?</strong></h4><p>When you use Meekan to schedule new meetings inside Slack, you can easily invite more people to your meetings. Just say “invite,” type <strong>@ </strong>and let Slack help you with auto-completing one of your teammates’ names.</p><p>What if you want to add someone who’s not on your team? Well, you have to type their email address. Slack doesn’t know anything about outsiders, so you either have to remember their email address, or <strong>jump out </strong>to your email app to get it, copy, and paste back into Slack. This is a huge distraction — you don’t always come back to the meeting you were organizing. <strong>You</strong> <strong>get distracted</strong> (maybe an important mail just showed up?), and the task doesn’t get done.</p><p>Our new Message Menu (as they are called in Slack) lets you quickly import your entire address book into Slack. Now when you type someone’s name (or last name, or any piece of their email address) they just show up in the list, and you get to pick right there. No need to leave Slack, memorize email addresses, or lose your context in any way.</p><h4>Why Shouldn’t I Just Use My Plain Old Calendar?</h4><p>Seriously, my calendar already has auto-complete for inviting new people, what’s the big deal here?</p><p>Okay, can you tell you calendar something like:</p><blockquote>Find some time for the whole sales team to meet for breakfast next week</blockquote><p>No. Your calendar doesn’t care about your intent, and you always have to micro-manage it to find a time, to click on one of the empty squares. It won’t get “Next week” or “ASAP” or “Breakfast sometime”.<br>It takes a <strong>conversational interface</strong>, language, to tell your assistant “Sometime next week I guess. Okay?” and have him head out and find the best time for you.</p><h4>Slack Is About Convergence</h4><p>Probably my #1 reason to love Slack is that everything comes to me. I mean, it used to be the other way around: check the analytics panel for any surprises. Check the press dashboard to see if we were mentioned somewhere. Go to the status monitor to make sure servers are up. Check the calendar to see what I have next.</p><p>If you have a Slack app, that might be the main theme you should follow — try to have everything, every small task, happen inside Slack. Have everything use the same interface (words, mainly), the same rules, the same universe. Because every time I have to switch context I lose time and attention.</p><h4><strong>You Auto-Complete Me, Baby</strong></h4><p>Still, while using words is perfect for some situations (like asking for a new meeting), it’s not too efficient for other tasks. When I ask Meekan “what do I have next week?”, a list of my meetings is nice, but a quick at over my weekly calendar board is so much better. And indeed, Meekan will generate a screenshot of my calendar right inside Slack for a quick look-see.</p><p>And of course:</p><blockquote>Invite Jane to the meeting</blockquote><p>Did you mean Jane Ay, Jane Bee or Jane See? Letting you type “Jane” and giving you a list of all known Janes to choose from with a finger tap is a million times better.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/398/1*nq6XOEf8l_k4FGIFkgj6FQ.png" /></figure><h4>Win!</h4><p>Every time we manage to check off another calendar-related task and move it into Slack, it’s a win for our users and a win for us.</p><p>This is a part of Meekan’s journey to create the digital office manager. Read <a href="https://medium.com/building-the-robot-assistant">more stories here</a>, or check out <a href="https://meekan.com/">meekan.com</a></p><p><em>Written with </em><a href="https://medium.com/u/758b460d87a1"><em>Eyal Yavor</em></a><em>, Meekan’s CTO and co-founder. </em>Message Menu code by the talented Noa Barmatz</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca204120244d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/chat-bots/good-intentions-short-attentions-and-message-menus-ca204120244d">Good intentions, short attentions and message menus</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[Meekan by Doodle now supports Slack’s new Custom Status Updates!]]></title>
            <link>https://medium.com/building-the-robot-assistant/meekan-by-doodle-now-supports-slacks-new-custom-status-updates-772603070f52?source=rss-770214e496bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/772603070f52</guid>
            <category><![CDATA[bots]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[slack]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[scheduling]]></category>
            <dc:creator><![CDATA[Matty Mariansky]]></dc:creator>
            <pubDate>Thu, 13 Apr 2017 16:04:46 GMT</pubDate>
            <atom:updated>2017-04-13T16:04:46.823Z</atom:updated>
            <content:encoded><![CDATA[<p>Slack has a way of giving us small gifts every few weeks, and we were thrilled to hear about the latest one, as we were getting tons of requests to have Meekan automatically update your Slack status when your calendar says that you’re away.</p><h3>How does it work?</h3><p>The basic idea is quite simple, really. When your calendar shows you’re on a meeting, Meekan will update your Slack status. When the meeting is over, your status switches back to its former state.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EjPjTTn9UVrzP2iu_zLOuA.png" /></figure><h3>Turning status update on</h3><p>From now on, when Meekan reminds you about an upcoming meeting, the reminder will also have an Update my status button showing:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f5hIcwpmsZHX16swF10JbA.png" /><figcaption>Reminders can now also update your Slack status</figcaption></figure><p>Clicking that, Meekan will update your status when the meeting starts. You can also ask Meekan to “Always do that”, and he’ll change your status automatically every time your calendar indicates you’re in a meeting (You can always tell Meekan stop status updates to turn this off).</p><p><em>BTW, if you turned off your reminders, you can turn them back on by telling Meekan “reminders on”.</em></p><h3>Fine tuning</h3><p>You can customize Meekan’s status updates to suit your needs. Go to your settings page (tell Meekan meekan settings for your link), and you can make changes under the “Status Update” section:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dfetfqyHnnbC7ARi2-0Ygw.png" /></figure><p>Our favorite is, of course, the custom message that lets you get creative and also pick the perfect Emoji for the occasion.</p><p>You can also ask Meekan to set your Slack presence to “Away” or “Do not disturb” to keep your meeting distraction-free.</p><h3>More coming soon</h3><p>Thanks for reading through, enjoy Meekan’s automatic status updates, and stay tuned: We have some major upgrades to AI that’s running inside Meekan’s scheduling brain. It’s already in advanced beta, and we can’t wait to get it out into the world.</p><p>If you have any questions or feature requests, as usual shoot us an email to <a href="/service/mailto:support@meekan.com">support@meekan.com</a></p><p>—<br><em>Meekan is the world’s smartest AI scheduling assistant, and can match everyone’s calendars in seconds. Read more on our website: </em><a href="http://meekan.com/"><em>meekan.com</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=772603070f52" width="1" height="1" alt=""><hr><p><a href="https://medium.com/building-the-robot-assistant/meekan-by-doodle-now-supports-slacks-new-custom-status-updates-772603070f52">Meekan by Doodle now supports Slack’s new Custom Status Updates!</a> was originally published in <a href="https://medium.com/building-the-robot-assistant">Building the robot assistant</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Retention Hero: Habit forming with conversation design]]></title>
            <link>https://medium.com/building-the-robot-assistant/retention-hero-bb236f055462?source=rss-770214e496bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb236f055462</guid>
            <category><![CDATA[conversational-ui]]></category>
            <category><![CDATA[habit-building]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[product-design]]></category>
            <dc:creator><![CDATA[Matty Mariansky]]></dc:creator>
            <pubDate>Mon, 06 Feb 2017 07:42:29 GMT</pubDate>
            <atom:updated>2017-02-06T08:13:17.188Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YKgEdX-D8UhSpTmm-MBhuQ.png" /></figure><h3>Retention Hero</h3><h4>Habit forming with conversation design: How we got from 0.5% to 60% retention</h4><p>When we launched our Slack Chatbot, <a href="https://meekan.com/">Meekan</a>, in June 2015, we saw all our metrics going sharply up. New user registrations surpassed all of our other products (iOS, Android and Outlook apps) very quickly, and the incoming support requests were looking like fan mail.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QjoUC6FcMOL0SITLIirUjw.png" /><figcaption>Signed up users</figcaption></figure><p>Our decision to try a conversational interface seemed very risky at first, but was looking much better with every passing day. Users were coming in through the door to try talking to this new bot thing, and they were loving it. There was only one tiny problem.</p><blockquote>Users were trying it once or twice, and then forgetting about it.</blockquote><p>You see, our bot, our product, is very good at scheduling new meetings. But how often do you need to start a new meeting? Once a week? The frequency of our main use case was <strong>too low</strong>. After trying it once, people would forget about it, and go back to doing things the old way (switching tabs to peek in their good old Google Calendars). We needed to <strong>form a new habit</strong>, and it was time to go back to basics.</p><p>If you haven’t already, I really recommend reading <a href="http://www.nirandfar.com/hooked"><em>Hooked: How to Build Habit-Forming Products</em></a><em> </em>by Nir Eyal (or even better, attend one of his fantastic workshops). Nir Eyal’s research says that every habit-forming loop begins with a <strong>Trigger</strong>: the actuator for a new behavior.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eHoeEs-NLo65p0YUZtNiVQ.png" /><figcaption>The Hook Model</figcaption></figure><p>Looking at our own product, we could quickly see that the loop was broken. We were not creating any triggers, but rather waiting for our users to initiate the conversation on their own. No trigger, no action, no habit.</p><h3>Reminder triggers</h3><p>We stared out by the most simple of triggers, the reminder.</p><blockquote>Find a good excuse to remind your user that you exist</blockquote><p>In our case, it was quite simple. 10 minutes before a meeting, Meekan sends a quick alert:</p><pre>Reminder (10 minutes from now)<br><strong>10:00AM <em>Sales team meeting</em></strong></pre><p>This was working really nice. The vast majority of our users chose to keep receiving these reminders (with only ~5% of users asking to unsubscribe). And actually, some of the users would go so far as to answering “Thank you, Meekan”. Notice also that in an Instant Messaging environment, initiating a conversation can push you to the top of the threads list, and mark your bot with the red badge of unread messages (This could be too much, but more on that later).</p><p>But a trigger alone is not enough. It has to be followed by an action if we want to crank up the entire habit loop. So we quickly followed up with suggested actions, to complement our reminders:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_qbu0zxWwCK4wShF2JZHZg.png" /></figure><p>So now you could not only Snooze (and get reminded again), but also quickly tell everyone you’re late, or just cancel the meeting, or even have Meekan figure out a new time for everyone. Together, all of these were setting the full habit loop into motion: A trigger eliciting action, followed by a reward and sometimes an investment that loads the next trigger (eg Reschedule).</p><p>And you know what else? By offering these action items, we were also giving a nice incentive to use our way of scheduling over the old way. Meekan — like most of the other bots out there right now really — is not only trying to form a <em>new</em> habit, but also replace an <em>existing</em> habit and a mighty strong one at that (Google Calendar, no less!).</p><h3>The chatbot advantage</h3><p>Context switching is really, really hard. What does that mean? Let’s say you’re chatting with your friend over Slack, and you talk about finding a time for a breakfast next week (I’m obviously giving examples from the scheduling world, but it’s the same for calling an Uber or ordering pizza). You switch apps into your calendar to check how your next week is looking, and eventually come back to the conversation. This whole process might take half a minute, but in terms of cognitive load, you’ve lost much more. The return trip from one app “world” into another and back is a huge distraction. As you leave the conversation for a second, anything could happen: you’re looking at your calendar, oh wow. Your insurance is expiring next week! You really should do something about it. Who was that agent that got you the discount last year? Where is her number? What were we talking about right now? (Okay, you see what I mean)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BGII1d2g94nl7A6PTNsUDQ.png" /><figcaption>Don’t make me switch context!</figcaption></figure><p>But if you’re using a chatbot to accomplish your task, he’s right there with you in the conversation, and your flow is not interrupted. This could appear as a rather small win, but when you’re trying to replace an old habit with a new one, this uninterrupted access results in a shorter path to success and less friction for the new habit you’re trying to install.</p><h3>Other trigger types</h3><p>So far we looked at the <em>reminder</em> trigger, the simplest one to figure out and start with. But how about some other types?</p><h4>Action required</h4><p>This trigger is more effective than your plain reminder. It alerts you to a situation that requires some action to resolve. A good example is an RSVP request:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0D9DANLwGuKKzE6oFbtJwg.png" /><figcaption>“Action required” trigger</figcaption></figure><p>You’re describing the situation (someone is inviting you to a meeting), allow access to information that may assist your decision (“Your calendar shows you’re busy!”) and the ability to take decision right there and then. No context switching required.</p><h4>The Firefighter</h4><p>Now this is the holy grail of triggers. It takes the “Action required” pattern one step forward. It’s a chain of events that can be described like:</p><ul><li>The bot is warning you that the sh*t is going to hit the fan very soon. Maybe you forgot the stove on, and your house is going to be in flames in 20 minutes.</li><li>You’re glad you got the heads-up on this, but now all stressed out — how are you going to fix this? Your won’t make it back to the house on time. Your mind is racing to come up with possible ways out of this.</li><li>The bot immediately offers a good solution (It turns out you can remotely shut off the valve). Shall we do that?</li><li>Easy out. Life saved. Yes! Do it, bot!</li><li>Pheeewww!</li><li>I better keep this bot around.</li></ul><p>If you can come up with disaster+solution pairs like this, you’ll be saving the day every day. Here’s an example from Meekan:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CtSoiAjG402VKyFSnbnrhg.png" /><figcaption>Your house is on fire. Kind of.</figcaption></figure><p>So sure, your house is not on fire, but this is as close as it gets. Once again, you double booked yourself on your home and your work calendars, and you’re going to miss your kid’s soccer game. If not for this warning, you’d have noticed this only when it’s too late. But instead, Meekan is offering to reschedule the sales meeting for you right now.</p><p>Stress is on, stress is off.</p><p>It doesn’t happen too often, and not always easy to resolve with one rescheduling attempt. But when it does, it’s pure magic, and your bot gets a new friend forever.</p><h3>More ways new bots can replace old habits</h3><p>So, we saw that by being inside the conversation, bot are easier to use than other, outside-the-context solutions. We also looked at actionable triggers as a way to form habits. Nir Eyal’s model offers some more ways for your new habit to overcome the old way of doing things:</p><ol><li>Velocity and frequency. Be faster, and more often. If you’re giving the same trigger as your competition (eg, a reminder), make sure that your reminder arrives first to the user’s attention. This way, the user is more likely to act on <em>your</em> trigger, making the other one obsolete on arrival.<br><strong>If your use-case is not frequent enough, come up with sub-modules that appear more often.</strong></li><li>Higher reward. If two notifications arrive at the same time, the user will likely choose to act on the more rewarding one (like mentioned above, if a problem comes with the solution attached, it’s the easy choice).<br>Studies show that you have to be 9 times more rewarding than an old habit if you’re to replace it, so think well about this one.</li><li>Less friction. If it’s a no-install, no storage space needed, no-instructions, (in other words, a bot) VS a download, install, learn process — who do you think will win?</li></ol><h3>There is no spam like chatbot spam</h3><p>People hate bot spam, and they are 100X more sensitive to bot spam. They will block your bot in a second and tell all their friends about it too.</p><p>When you initiate a trigger, you absolutely must make sure you’re sending valuable information (valuable to the user, not to your business goals!), and in the right timing and frequency. Otherwise it’s spam, and it will get blocked, habit or not.</p><h3>Echo, we have a problem</h3><p>I want to leave you with a final thought. If your device has no way to initiate a conversation (Amazon Echo, Google Home?), how are you going to get people into the habit of using it? <a href="http://www.recode.net/2017/1/23/14340966/voicelabs-report-alexa-google-assistant-echo-apps-discovery-problem">It’s difficult</a>. I’ll try to discuss that in a future post — if you have good ideas, by all means share them in the comments below.</p><p>Oh, one last thing, sorry.</p><h3>So, is this stuff working?</h3><p>Since implementing our different actionable triggers, we’re seeing a very steady 60% 3-month retention. Around 50% of our users engage with Meekan 7 times or more in a month.</p><p>These are still not Google-Calendar-level numbers. We still have work to do. We need to be so good at this, that our users will no longer want to ever go back to the old way of doing things.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4zIeidfXArMJYSEObaW2dw.png" /></figure><p>— <br>This is a part of Meekan’s journey to create the digital office manager. Read <a href="https://medium.com/building-the-robot-assistant">more stories here</a>, or check out <a href="https://meekan.com/">meekan.com</a></p><p><em>Written with </em><a href="https://medium.com/u/758b460d87a1"><em>Eyal Yavor</em></a><em>, Meekan’s CTO and co-founder</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb236f055462" width="1" height="1" alt=""><hr><p><a href="https://medium.com/building-the-robot-assistant/retention-hero-bb236f055462">Retention Hero: Habit forming with conversation design</a> was originally published in <a href="https://medium.com/building-the-robot-assistant">Building the robot assistant</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How will your bot know it’s morning?]]></title>
            <link>https://medium.com/building-the-robot-assistant/how-will-your-bot-know-its-morning-f7487c61c93e?source=rss-770214e496bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7487c61c93e</guid>
            <category><![CDATA[conversational-ui]]></category>
            <category><![CDATA[conversational-commerce]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[bots]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Matty Mariansky]]></dc:creator>
            <pubDate>Thu, 20 Oct 2016 18:28:54 GMT</pubDate>
            <atom:updated>2016-11-30T10:10:07.455Z</atom:updated>
            <content:encoded><![CDATA[<h4>Taking your chatbot training to the next level</h4><p>Let’s start with a little example. Check out Siri, Apple’s pride and joy, back in 2012:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/877/1*dm4jfya-PrnVnhYUg_cNJA.png" /><figcaption>Ambulance be thy name</figcaption></figure><p>Not very impressive.<br>But look at her now. This is from 2016:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fhiQH_-5fYjmjiRnso4CIQ.png" /></figure><p>Seriously, this <a href="http://www.independent.co.uk/news/world/australasia/siri-saves-babys-calls-ambulance-stopped-breathing-iphone-apple-a7070641.html">really happened</a> in Australia. Siri saved a baby girl’s life: The baby was in trouble, her mother ran to help, and yelled at Siri from the other side of the room. <em>Call me an ambulance!</em></p><p>And Siri did just that.</p><p>So how did this happen? Was there a major technology breakthrough in language processing between 2012–2016? No. What probably happened is that Tim Cook called up one of his engineers and said “Look! they are making fun of Siri on the Internet!”, and the engineer just made sure that when you ask Siri for an ambulance, she’ll do the right thing.</p><p>And you know what, this is really good news. The technology field for creating chatbots is level. Everyone, including you, has access to almost the exact same technology, and that technology is quite limited. Bots still cannot have a natural, flowing conversation with their users straight out of the box, and a whole new field of <strong>conversation design</strong> has emerged from that need.</p><blockquote>Building a great chatbot is a design challenge</blockquote><p>So let’s talk about squeezing as much as possible from this tech. If you’re following our journey (you should), we’ve written about our <a href="https://medium.com/building-the-robot-assistant">conversation design experience</a> building out scheduling assistant, Meekan. The underlying assumption was that we got the language processing part covered: either the bot understands (or at least, parses correctly) the user’s intent, and proceeds to do his job, or he doesn’t understand, and we try to talk our way out of it, back into the safe zone. But zoom in into the first part, and you discover that this game is about more than just parsing. Let’s see.</p><h3><strong>Basic training</strong></h3><p>The user just said something. Your first step is probably sending his words to a natural language engine (<a href="https://www.luis.ai/">LUIS</a>, <a href="https://wit.ai/">wit.ai</a>, <a href="https://api.ai/">api.ai</a> or maybe even your own home-grown neural network). You feed your engine a sentence on one side:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wdDrHH2Ds6m5483KGFVOTQ.png" /></figure><p>…and if everything works properly, you get an <em>intent</em> and <em>entities</em> coming out from the other side:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jfVap51EK_IriaTYo_dqZA.png" /></figure><p>In this case, the engine would identify the <em>intent</em> as “New meeting”. This is what the user is asking you to do. And the <em>entities</em> identified would be <strong>title</strong>:”team meeting”, <strong>day</strong>:tomorrow, <strong>time</strong>:morning.</p><p>If you’re dealing with something common, like saying “hello” or asking about the weather, you could be in luck and your engine may already be pre-trained for these. This means it’ll recognize them correctly straight out of the box, thanks to the work that was already done for you by the engine’s designers.</p><p>If this is not the case, that’s not so bad. Just come up with some more examples like this:</p><pre>Schedule our Project Launch for early next week<br>I need to meet Jim before next Thursday<br>Quick coffee with the sales team early morning</pre><p>and start training your engine. Feed a sentence, watch the engine’s answer, and give it feedback: This is correct / This is a mistake.<br>After around 100 examples, your engine is going to get much better at doing this (depending on the quality of your engine, and the complexity of your topics). Now it’s time to start putting it in the hands of other people. Prepare to be shocked by the weird commands they’ll give your bot. Things you’ve never thought about. Relax. Just feed everything into your engine, and keep correcting its mistakes.</p><p>Eventually, when your robot is on the air, in front of real users, you can turn this into a daily process of checking what went wrong, and incrementally improving your bot’s language skills. At Meekan, we’re now at over 6,000 start-a-new-meeting sentences and still going. How many do <em>you</em> have?</p><h3>Focus on a narrow domain</h3><p>Really, it can take thousands of examples to train your bot on just one, seemingly simple, subject. So unless you have huge resources, or access to mountains of data, you should really stick to becoming an expert on one narrow subject.<br>As soon as you expand your bot’s mission to cover more types of tasks, you’ll find yourself constantly fine-tuning the engine’s intent parsing, with some of your training sometimes moving things backwards instead of improving.<br>For example, we gave Meekan the ability to find cheap flights. As soon as we started training the engine for this, we’d see the two intents clashing:</p><pre>Meekan, Add a flight to New York to my calendar on Thursday </pre><p>This is obviously a “New meeting” intent — the user is trying to put this on her calendar, to make sure she’s blocked as <em>busy</em> for the flight day. But the engine would constantly insist that this is a “Find Flight” command, and would proceed to look for Cheap flights to New York.<br>If your engine is off-the-shelf, it might limit your ability to tailor it to your exact needs. And as you throw more tasks at it, you could eventually hit a wall.<br>Jack of all trades, master of none applies here. Don’t be Jack.</p><h3>Keep context</h3><p>Memory is a part of any conversation. Some sentences have no meaning, unless they are examined in the context of what was said before. Some bot engines have that capability built-in. In others, you’ll have to implement it yourself:</p><pre><strong>When can I meet Greg next week?</strong></pre><pre>You&#39;re both free on Tuesday. 10 am seems like the perfect time.</pre><pre><strong>Okay, book it</strong></pre><p>Here, “Okay book it” actually means: Add a new meeting for me and Greg next Tuesday at 10 am. If we didn’t remember the time, date and invitees we just discussed, the phrase “book it” alone would have no meaning.</p><pre><strong>What&#39;s the weather tomorrow?</strong></pre><pre>It&#39;s cloudy with a slight chance of rain.</pre><pre><strong>How about Friday?</strong></pre><p>“How about Friday” could possibly mean the user is asking for a new meeting, except the context was just set to the local weather.</p><h3>Watch for local and cultural differences</h3><p>Imagine half of your team is located in San Francisco, and the other half in Berlin. Now someone asks your bot:</p><pre><strong>Meekan, schedule a quick call tomorrow 3pm</strong></pre><p>Who said that? If she’s from San Francisco, it actually means Midnight for the Berlin people. And SF’s “today” is sometimes their “tomorrow”.</p><pre>It&#39;s 20 degrees outside</pre><p>That’s nice. In Berlin this means T-shirt. In the states, 20°F is below freezing!<br>How about some more subtle examples?</p><pre>Next Wednesday</pre><p>If today is Monday, when is next Wednesday? The day after tomorrow? Or the one next week, 9 days from now? It turns out that people from different countries will pick different answers to this question.</p><p>How do you handle these differences? Either you pick a side (eg. Be an American bot), or learn the location of every user you speak to, so you can guess what they mean.<br>Whatever you pick, always repeat what you understood, so the user can correct any confusion before it turns into disaster:</p><pre><strong>Set up a meeting next Wednesday</strong></pre><pre>Okay, new meeting on Wednesday next week, Sep 26</pre><pre><strong>No! Cancel. Set up a meeting on Sep 19</strong></pre><h3>Bot nirvana: personalization</h3><p>A word can mean different things to different people, even if they are from the same place, sitting in the same room together. Ever had an air-condition war at the office? So how should your language engine translate “Set the A/C to a nice, cool temp”? This could mean so many different things, depending on your location inside the office space, your preferences, and of course, your gender.<br>You could have your bot ask the user to specify an actual number for the temperature, or just decide something and inform the user about it.</p><p>Or, you can <strong>guess </strong>what the user meant. Make the best guess possible by collecting any piece of data you’re allowed to access. What’s the user’s gender? In which workgroup, IP address, workstation ID, floor, building. What’s the temperature outside right now? What time is it? Is the sun showing? Gather as many signals as you can, compare to the past decisions you made, and make a good guess. Hire a data scientist, they are particularly good at making guesses like this.</p><p>Look at this heatmap. It’s the average calendar of all the people we know in Rome, Italy. Blue means no meetings at this time (This is why the weekends are colored blue). Red hot means busy:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SUn0zzrR43QFFLksoV3odQ.png" /><figcaption>When in Rome</figcaption></figure><p>By asking Meekan users permission to analyze their calendar stats, we can understand what they mean without asking. If you have the classic Roman calendar, when you say you want to meet someone “<strong>in the morning</strong>”, we know you mean “9 or 10 am, 11 is okay. 8 am if you absolutely must, but never earlier than that please”.</p><p>We can describe groups of people (called “clusters”): People who like to have their meeting as early as possible. People who must have breaks between meetings (and those who like to bunch them together and get it over with). And if you fit into one of these groups, we can guess that you need a break after every meeting, and make sure you get one, without ever asking.</p><p>The perfect assistant knows you better than you know yourself. And this is where bots should aim to go.</p><h3>A word about privacy</h3><p>The data collected by bots should only be used to better serve their users. If you treat your user like they are the product, take the private insights you gathered about them, and sell them to the highest bidder, you are betraying their trust.<br>Bot makers must keep their user’s info private, anonymized and possibly encrypted at all times. By default, the user assumes you’re respecting their privacy, and abusing that trust affects the entire bot builder community.<br>We have this responsibility, let’s keep it clean.</p><p>— <br>This is a part of Meekan’s journey to create the digital office manager. Read <a href="https://medium.com/building-the-robot-assistant">more stories here</a>, or check out <a href="https://meekan.com/">meekan.com</a></p><p><em>Written with </em><a href="https://medium.com/u/758b460d87a1"><em>Eyal Yavor</em></a><em>, Meekan’s CTO and co-founder, and helped by the crazy skills of </em><a href="http://www.nonner.de/"><em>Tim Nonner</em></a><em>, and the Tamedia Data Analytics team. Heatmaps implementation by our own </em><a href="https://medium.com/u/412b46a0e04a"><em>Ela Avrahami</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7487c61c93e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/building-the-robot-assistant/how-will-your-bot-know-its-morning-f7487c61c93e">How will your bot know it’s morning?</a> was originally published in <a href="https://medium.com/building-the-robot-assistant">Building the robot assistant</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Designing the Conversational UI]]></title>
            <link>https://medium.com/building-the-robot-assistant/designing-the-conversational-ui-304f7c7ed14e?source=rss-770214e496bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/304f7c7ed14e</guid>
            <category><![CDATA[convcomm]]></category>
            <category><![CDATA[bots]]></category>
            <category><![CDATA[conversational-ui]]></category>
            <dc:creator><![CDATA[Matty Mariansky]]></dc:creator>
            <pubDate>Mon, 18 Apr 2016 10:32:45 GMT</pubDate>
            <atom:updated>2016-04-18T10:56:03.213Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9yHezDDWzP-CJ0Qd_94yrw.png" /></figure><p>In <a href="https://medium.com/@mmatty/all-talk-and-no-buttons-the-conversational-ui-6c844ef6dd18">the first part of this article</a>, we discussed the basic principles of conversational interfaces, and why you should consider building one for your own product. Here, we’ll dive a little deeper into more specific patterns, and see how you can translate them into a conversational form.</p><p>I want to present a few cases as examples to illustrate the challenges of designing a conversational interface, and go through some of the solutions we came up with at <a href="http://meekan.com/">Meekan</a>.</p><h4>Validating input</h4><p>With a typical GUI, when asking a user to supply more information (usually by filling out a form), you have lots of ways to make sure you’re getting a clean and useful response before moving on to process it. <em>Is this a valid email address? Is this a phone number? Is this username already taken?</em> You can restrict the input to be just numerals, or something that you pick from a predetermined list.</p><p>In a conversation, this privilege doesn’t exist. The person you’re talking to is free to type (or say) anything, so it’s up to you to construct your questions properly and digest the answers in the smartest possible way.</p><p><strong>MINE THE REQUEST FOR INFO<br></strong>Let’s say your robot is giving away t-shirts. He needs to ask the user for the size and color. If the user opens with “I want a medium size red shirt,” you already have everything you need right there.</p><p>But if the robot opens the conversation, or the user just says “Can I have a shirt?,” you’ll need to put the missing pieces together.</p><p><strong>GIVE HINTS<br></strong>Whenever possible, avoid open-ended questions and try to demonstrate the type of answer you’re looking for. If the pool of possible answers is small, just list them.</p><pre>What size t-shirt are you? We have medium, large, and extra-large</pre><p>As a general rule, you should handle every item separately. Ask about the size; when you have the answer, ask about the color. Mixing several details in one sentence will be much more difficult to parse correctly, so ask your questions in a way that encourages a specific answer.</p><p><strong>EXPLAIN WHAT WENT WRONG<br></strong>If the input isn’t valid, explain again what you were expecting (versus what you received). If possible, be smart about distinguishing between answers you don’t understand and answers that make sense, but that you can’t accept.</p><pre>And what color would you like?</pre><pre><strong>purple</strong></pre><pre>I’m sorry, we don’t have purple. We have white, gray, brown, red, orange, pink, and black. What color would you like?</pre><pre><strong>brbrbl</strong></pre><pre>I’m sorry, “brbrbl”? Is that a color? We have white, gray, brown, red, pink and black. What color would you like?</pre><pre><strong>gray</strong></pre><pre>Cool! So a large gray t-shirt!</pre><p><strong>TO FORGIVE IS DIVINE<br></strong>Remember, users are <em>talking</em> with you, not pointing to things on a list. They have more than one way to say what they want. If you’re asking for a shirt size, “extra-large,” “XL,” or even “the largest size you have” can all mean the same thing. “Thursday”, “thu”, “thrusday” (yes, with a typo) and possibly “tomorrow” could all point to the same day.</p><h4>Switching tasks</h4><p>Let’s go back to our good old GUI for a moment. A traditional app can perform different functions, which would usually be separated into discrete windows (or pages, or screens). If I have a calendar, it will perhaps show all of my monthly meetings laid out on the screen; when I want to edit one of them, I’ll switch to a different screen, and return to the previous screen when I’m done.</p><p>But a conversation is just one long string of sentences. How do you switch between different functions? How do you know which task you’re working on right now? Let’s see how this plays out.</p><p>The user starts a new task:</p><pre><strong>Meekan, schedule a team meeting tomorrow</strong></pre><p>The robot goes into his “schedule a new meeting” state and starts gathering the info he needs. But now something happens: the user is no longer interested in scheduling a new meeting, and wants to check her Thursday agenda instead.</p><pre><strong>Meekan, how busy am I on Thursday?</strong></pre><p>This is the equivalent of hitting the “close” button on the New Meeting window, or pressing Escape on the keyboard. We have a few ways to handle it:</p><p><strong>RESIST THE CHANGE<br></strong>When the robot detects that the user wants to switch to a different task, he asks the user to explicitly abort the current task first:</p><pre>We have an active meeting in progress. Say “cancel” if you want to abort the current meeting.</pre><p>You would typically take this route if the current task required a lot of investment to create, and aborting it would cause all this effort to be lost.</p><p><strong>GO WITH THE FLOW<br></strong>Again, the user asks for a task switch. The current task at hand is not too important, so the robot swiftly moves into the new mission. When this happens, it’s important to tell the user what’s happening: you’re aborting the current task and moving to a new one.</p><p>Here, the robot is expecting the user to RSVP for an upcoming meeting, but the user is instead starting a new, unrelated meeting:</p><pre>Chris invited you to the project launch meeting on Friday 10am. Would you like to Accept or Decline?</pre><pre><strong>Arrange a new meeting tomorrow with @jesse</strong></pre><pre>Okay, Skipping the RSVP for now.</pre><pre>Matching your calendars for a meeting tomorrow (…)</pre><h4><strong>Tracking back</strong></h4><p>So we aborted task A in favor of new task B. Now that B is done, should we go back to doing A again?</p><p>At Meekan, we found that going back to the previous task seemed like the correct and smart thing to do, but would often cause confusion (for example, the user didn’t realize that task A had resumed, and tried to start it anew). If you do decide to track back, the key is to communicate properly. That way, the user knows what just happened and expectations on both sides of the conversation are aligned.</p><p>Looking again at our t-shirt example, this would make perfect sense:</p><pre>What size t-shirt are you? We have medium, large, and extra-large</pre><pre><strong>large</strong></pre><pre>Got it. Size large. And what color would you like?</pre><pre><strong>actually make it extra large</strong></pre><pre>Okay, extra-large. And what color would you like?</pre><h4>Timing out</h4><p>This happens frequently in a chat. You’re talking about something, and then you step out to lunch, or get called to a meeting. By the time you’re back, you forget what the conversation was about. Quite frequently, the channel is filled with other people talking about other things, and whatever you were saying has scrolled into oblivion.</p><p>The robot should be aware of this. If the user starts something, disappears for a whole day, comes back, and starts something new, the robot can safely assume that the task from yesterday should be aborted.</p><h4>Awaiting critical input</h4><p>Sometimes you need a piece of information that you absolutely cannot proceed without. Maybe the user’s email address is required for the robot’s basic operation. Maybe you need to delete something first, and you cannot go further unless the user confirms.</p><p>In a GUI environment, you can pop up a modal window. It will block access to everything until the user answers this question: “Are you sure you want to delete everything?” The window will stay there until the user clicks either “Yes” or “Cancel.”</p><p>Replicating this behavior in a conversation requires the robot to refuse to do anything until he gets that vital piece of info from the user. This starts a loop that can get very annoying very quickly. Make sure you explain exactly what you need and why you need it. Prepare a few versions of this explanation, so that if the user tries to avoid it again and again, the robot will not get repetitive (and make the situation even worse).</p><pre>To do my job, I need access to your schedule. Follow this link to connect your calendar.</pre><pre><strong>Schedule a new meeting tomorrow</strong></pre><pre>Seriously, you need to connect your calendar here to enjoy my scheduling superpowers.</pre><pre><strong>Am I busy tomorrow?</strong></pre><pre>I can’t wait to start working on your schedule! Please connect your calendar so I can do my magic.</pre><p>This is not an ideal situation. Think carefully about whether you really cannot proceed until you have this particular information. If at all possible, make an educated guess and proceed, or at least allow some limited functionality, and ask for the information again when you absolutely need it.</p><h4>Picking from a list</h4><p>Depending on your robot’s job, you might eventually reach a point where the user has to choose from a list. Remember: no drop-down menus, combo boxes, radio buttons. If you have a list of items, and you need the user to select one or more, you have to give each item a unique name or number so that users can tell you which option they like.</p><pre><strong>Meekan, cancel that meeting I have tomorrow</strong></pre><pre>You have 3 meetings tomorrow, which one would you like me to cancel?</pre><pre>(1) Project launch at 10 am<br>(2) Team stand-up at 11 am<br>(3) 1-on-1 with Jake at 2:30 pm</pre><pre><strong>Cancel 3</strong></pre><pre>Okay, I’m canceling “1-on-1 with Jake” tomorrow. I’ll notify Jake about this.</pre><p>Numbering the meetings on the list gives users an easy way to reference the item they want to focus on.</p><h4>What’s next?</h4><p>There are still no rules; we have to make up our own. Let’s tell everyone what works and what fails for us. Let’s share, talk, write about it. It’s an amazing time to be a pioneer.</p><p>I hope my examples have stirred up some thoughts. Consider this article a launchpad for your own adventures in robotland. Now go build a robot! (And then tell everyone about it.)</p><p>— <br>This article was originally published in <a href="http://alistapart.com/article/designing-the-conversational-ui">A List Apart</a> on Feb 23, 2016, and is now reposted here as part of Meekan’s journey to create the digital office manager. Read <a href="https://medium.com/building-the-robot-assistant">more stories here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=304f7c7ed14e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/building-the-robot-assistant/designing-the-conversational-ui-304f7c7ed14e">Designing the Conversational UI</a> was originally published in <a href="https://medium.com/building-the-robot-assistant">Building the robot assistant</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[All Talk and No Buttons: The Conversational UI]]></title>
            <link>https://medium.com/building-the-robot-assistant/all-talk-and-no-buttons-the-conversational-ui-6c844ef6dd18?source=rss-770214e496bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c844ef6dd18</guid>
            <category><![CDATA[convcomm]]></category>
            <category><![CDATA[bots]]></category>
            <category><![CDATA[conversational-ui]]></category>
            <dc:creator><![CDATA[Matty Mariansky]]></dc:creator>
            <pubDate>Mon, 18 Apr 2016 10:32:18 GMT</pubDate>
            <atom:updated>2016-04-18T10:35:18.301Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/739/1*fbQ8kfBzf1NbIrksK_ZYyw.png" /><figcaption>WarGames<em>: David Lightman talking with Joshua.</em></figcaption></figure><p><strong>We’re witnessing an explosion of applications that no longer have a graphical user interface (GUI). They’ve actually </strong><a href="https://www.washingtonpost.com/archive/politics/2002/09/06/web-may-hold-the-key-to-achieving-artificial-intelligence/78199be8-8030-4081-9376-d3cd471884c6/"><strong>been around for a while</strong></a><strong>, but they’ve only recently started </strong><a href="https://medium.com/chris-messina/2016-will-be-the-year-of-conversational-commerce-1586e85e3991"><strong>spreading into the mainstream</strong></a><strong>. They are called bots, virtual assistants, </strong><a href="https://www.producthunt.com/@rrhoover/collections/invisible-apps"><strong>invisible apps</strong></a><strong>. They can run on Slack, WeChat, Facebook Messenger, plain SMS, or Amazon Echo. They can be entirely driven by artificial intelligence, or there can be a human behind the curtain.</strong></p><p>My own first encounter with a conversational interface was back in 1983. I was just a kid, and I went with some friends to see <a href="https://en.wikipedia.org/wiki/WarGames">WarGames</a>. Young hacker David Lightman (played by Matthew Broderick) dials every phone number in Sunnyvale, California, until he accidentally bumps into a military supercomputer designed to simulate World War III.</p><p>We immediately realize that this computer is operating at a different level: it engages in conversation with Lightman, asks him how he feels, and offers to play some games. No specific commands to type — you just talk to this computer, and it gets you, and responds to you.</p><p>Fast-forward 30 years. My teammates and I at <a href="https://meekan.com/">Meekan</a> set out to build a new tool for scheduling meetings. We thought, “It’s 2014! Why aren’t calendars working for us?” We wanted simply to be able to tell our calendar, “I need to meet Jan for coffee sometime next week,” and let the calendar worry about finding and booking the best possible time and place.</p><p>First we sketched out a web page; then we built an Android app, then an iOS app, and finally an Outlook add-in. Each one was different from the next; each attacked the problem from a different angle. And, well, none of them was really very good.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/618/1*ZRRBQytLRQPHNZYYV7gZdg.png" /><figcaption><em>Time-of-day options on our iOS App.</em></figcaption></figure><p>After building user interfaces for more than 15 years, for the first time I felt that the interface was seriously limiting what I was trying to do. Almost no one understood what we were attempting, and when they did, it seemed to be more difficult to do it our way than the old-school way. We could go on and crank out more and more versions, but it was time for a different approach. The range of possible actions, the innumerable ways users can describe what they need — it was just too big to depict with a set of buttons and controls. The interface was limiting us. We needed <em>something with no interface</em>. You could tell it about your meeting with Jan, and it would make it happen.</p><p>And then it dawned on us: we’re going to build a robot!</p><p>I’m going to tell you all about it, but before I do, know this. If you’re a designer or developer, you’ll need to adjust your thinking a bit. Some of the most common GUI patterns and flows will not work anymore; others will appear slightly different.<a href="http://www.theguardian.com/technology/2015/nov/05/robot-revolution-rise-machines-could-displace-third-of-uk-jobs">According to Oxford University</a>, robots will replace almost half of the jobs in the US over the next 20 years, so someone is going to have to build these machines (I’m looking at you) <a href="http://alistapart.com/article/do-androids-dream-in-free-verse">and make sure we can communicate properly with them</a>. I hope that sharing some of the hurdles we already jumped over will help create a smoother transition for other designers. After all, a lot about design is telling a good story, and building a robot is an even purer version of that.</p><h4>Photoshop? Where we’re going, we don’t need Photoshop</h4><p>Think about it. You now have almost no control over the appearance of your application. You can’t pick a layout or style, can’t change the typography. You’re usually hitching a ride on someone else’s platform, so you have to respect their rules.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*bEdaCuaFU4t9lKn1TgRPRA.png" /><figcaption><em>The same message in Slack, HipChat, and WhatsApp.</em></figcaption></figure><p>And it gets worse! What if your platform is voice-controlled? It doesn’t even have a visual side; your entire interface has to be perceived with the ears, not the eyes. On top of that, you could be competing for the same space with other conversations happening around you on the same channel.</p><p>It’s not an easy situation, and you’re going to have to talk your way out of it: all of your features need to be reachable solely through words — so picking the right thing to say, and the tone of your dialogue with the user, is crucial. It’s now your only way to convey what your application does, and how it does it. Web standards mandate a separation of content and style. But here, the whole style side gets thrown out the window. Your content <em>is</em> your style now. Stripped of your Photoshop skills, you’ll need to reach down to the essence of the story you’re telling.</p><p>And developers? Rejoice! Your work is going to be pure logic. If you’re the type of developer who hates fiddling with CSS, this might be the happiest day of your life.</p><p>The first tool in your new toolbox is a text editor for writing the robot’s script and behavior. When things get more complicated, you can use tools like <a href="http://twinery.org/">Twine</a> to figure out the twists and turns. Tools and libraries for coding and scaling bots are cropping up by the dozens as we speak — things like <a href="https://wit.ai/">Wit.ai</a> for handling language understanding, <a href="https://beepboophq.com/">Beep Boop</a> for hosting, and <a href="https://github.com/howdyai/botkit">Botkit</a> for integrating with the popular <a href="https://slack.com/">Slack</a> platform. (As I write this, there is still no all-encompassing tool to handle the entire process from beginning to end. Sounds like the voice of opportunity to me.)</p><p>But, let me say it again. The entire field of visual interface design — everything we know about placing controls, handling mouse and touch interaction, even picking colors — will be affected by the switch to conversational form, or will go away altogether. Store that in your brain’s temp folder for a little while, then take a deep breath. Let’s move on.</p><h4>First impression: introduce yourself, and suggest a next step</h4><p>Imagine a new user just installed your iOS app and has launched it for the first time. The home screen appears. It’s probably rather empty, but it already has some familiar controls on it: an options menu, a settings button, a big button for starting something new. It’s like a fruit stand. Everything is laid out in front of you: we got melons, we got some nice apples, take your pick.</p><p>Compared to that, your first encounter with a robot is more like a confession booth. You depend on the voice from the other side of the door to confirm that you’re not alone, and guide you toward what to do next.</p><p>Your first contact with the user should be to introduce yourself. Remember, you’re in a chat. You only get one or two lines, so keep it short and to the point. We’ll talk more about this in a second, but remember that having no visible interface means one of two things to users:</p><ul><li>This thing can do whatever I ask him, so I’m going to ask him to make me a sandwich.</li><li>I have no idea what I’m supposed to do now, so I’m just going to freeze and stare at the screen.</li></ul><p>When we did our first tests, our users did just that. They would either just stare, or type something like “Take me to the moon, Meekan.”</p><p>We were upset. “Why aren’t you asking him to schedule stuff for you, user?”</p><p>“Really? He can do that?”</p><p>It’s not obvious. So use introductions to define some expectations about the new robot’s role on the team. Don’t be afraid to glorify his mission, either. <em>This robot handles your calendar!</em> That way, users will be less disappointed when they find out he doesn’t make sandwiches.</p><p>Immediately follow this intro with a call to action. Avoid the deer-in-headlights part by suggesting something the user can try right now.</p><pre>Hi Matty! I’m Meekan, your team’s new scheduling assistant. I can schedule meetings in seconds, check your schedule, and even find flights! Try it now, say:<strong>Meekan, we want to meet for lunch next week.</strong></pre><p>Try to find something with a short path to victory. Your users just type this one thing, and they immediately get a magical treasure in return. After this, they will never want to return to their old life, where they had to do things without a robot, and they’ll surely want to use the robot again and again! And tell all their friends about it! (And…there you go, you just covered retention and virality in one go. It’s probably not going to be that easy, but I hope you get my point about first impressions.)</p><h4>Revealing more features</h4><p>When designing GUIs, we often talk about <a href="http://alistapart.com/column/shades-of-discoverability">discoverability</a>. If you want the user to know your app is capable of doing something, you just slap it on the screen somewhere. So if I’m new to Twitter, and I see a tweet for the first time, my options are set in front of me like so:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/585/1*3e-ppgHfnd9KtpqHKiplwA.png" /></figure><p>Easy. I’ll just hover my mouse over these little icons. Some of them (like stars or hearts) are pretty obvious, others might require some more investigation, but I know they’re there. I look around the screen, I see my Notifications link, and it has a little red number there. I guess I received some notifications while I was away!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/333/1*v7l8bWtzqxc9DNeSdeDorw.png" /></figure><p>But when talking to a robot, you’re just staring into a void. It’s the robot’s job to seize every opportunity to suggest the next step and highlight less-familiar features.</p><ul><li><strong>Upon introduction:</strong> as we mentioned earlier, use your first contact with users to suggest a task they could ask the robot to perform.</li><li><strong>Upon receiving your first command:</strong> start with a verbose description of what’s happening and what the robot is doing to accomplish his mission. Suggest the next possible steps and/or explain how to get help (e.g., link to a FAQ page or a whole manual).</li><li><strong>Now gradually remove the training wheels.</strong> Once the first interactions are successful, the robot can be less verbose and more efficient.</li><li><strong>Unlock more achievements:</strong> as the relationship progresses, keep revealing more options and advanced tips. Try to base them on the user’s action history. There’s no point explaining something they just did a few moments ago.</li></ul><pre>Meeting synced! Did you know I can also find and book a conference room?</pre><ul><li><strong>Proactively suggest things to do.</strong> For example, users know the robot reminds them about meetings, but don’t know the robot can also order food:</li></ul><pre>Ping! There is a meeting coming up in one hour. Would you like me to order lunch for 3 people?</pre><p>If the robot is initiating conversation, make sure he gives relevant, useful suggestions. Otherwise, you’re just spamming. And of course, <em>always</em> make it easy for users to opt out.</p><h4>Cheat whenever you can</h4><p>It’s easy to assume our robot is operating inside a pure messaging or voice platform, but increasingly this is not the case: Amazon Echo is controlled by voice, but has a companion app. WeChat and Kik have built-in browsers. HipChat allows custom cards and a sidebar iframe. Facebook and Telegram have structured menus. Slackbot inserts deep links into messages (and I suspect this technology will soon be more widely available).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*FnS-F4-K5PmrL6LvB7Yp-A.png" /><figcaption><em>Slackbot uses deep links to facilitate actions.</em></figcaption></figure><p>With all the advantages of a conversational interface, some tasks (like multiple selections, document browsing, and map search) are better performed with a pointing device and buttons to click. There’s no need to insist on a purely conversational interface if your platform gives you a more diverse toolbox. When the flow you present to your user gets narrowed down to a specific action, a simple button can work better than typing a whole line of text.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*gyQCAen8XqwcdmDC4usrjg.png" /><figcaption><em>Telegram uses pop-up buttons for discovery and for shortcuts.</em></figcaption></figure><p>These capabilities are changing rapidly, so be prepared to adapt quickly.</p><h4>And now, we ride</h4><p>As users become more familiar with chat robots, they will form expectations about how these things should work and behave. (By the way, you may have noticed that I’m referring to my robot as a “he”. We deliberately assigned a gender to our robot to make it seem <a href="https://medium.com/building-the-robot-assistant/cheating-on-the-turing-test-bc23a36db10">more human</a>, <a href="http://io9.gizmodo.com/5268217/what-gender-is-your-roomba">easier to relate to</a>. But making our assistant robot male also allowed our team to <a href="http://motherboard.vice.com/read/were-sexist-toward-robots">subvert the common stereotype</a> of giving female names to robots in support roles.)</p><p>The definitive book about conversational design has yet to be written. We’ll see best practices for designing conversations form and break and form again. This is our chance as designers to influence what our relationship to these machines will look like. <a href="https://mcluhangalaxy.wordpress.com/2013/04/01/we-shape-our-tools-and-thereafter-our-tools-shape-us/">We shape our tools and thereafter they shape us.</a></p><p>In <a href="https://medium.com/@mmatty/designing-the-conversational-ui-304f7c7ed14e">the next part of this article</a>, we’ll dive deeper into basic GUI patterns and discuss the best way to replicate them in conversational form.</p><p>— <br>This article was originally published in <a href="http://alistapart.com/article/all-talk-and-no-buttons-the-conversational-ui">A List Apart</a> on Feb 23, 2016, and is now reposted here as part of Meekan’s journey to create the digital office manager. Read <a href="https://medium.com/building-the-robot-assistant">more stories here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c844ef6dd18" width="1" height="1" alt=""><hr><p><a href="https://medium.com/building-the-robot-assistant/all-talk-and-no-buttons-the-conversational-ui-6c844ef6dd18">All Talk and No Buttons: The Conversational UI</a> was originally published in <a href="https://medium.com/building-the-robot-assistant">Building the robot assistant</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[That weird thing Jeff Bezos said 17 years ago]]></title>
            <link>https://medium.com/building-the-robot-assistant/that-weird-thing-jeff-bezos-said-17-years-ago-3d9d3596c888?source=rss-770214e496bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d9d3596c888</guid>
            <category><![CDATA[conversational-ui]]></category>
            <category><![CDATA[convcomm]]></category>
            <category><![CDATA[bots]]></category>
            <dc:creator><![CDATA[Matty Mariansky]]></dc:creator>
            <pubDate>Mon, 21 Mar 2016 08:19:26 GMT</pubDate>
            <atom:updated>2016-03-21T08:20:11.184Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UfzoOxXkyJRxWJucZ4huAw.png" /><figcaption><a href="https://www.flickr.com/photos/systemaabstra/"><em>Benjamin Dobson</em></a><em> / Flickr</em></figcaption></figure><h4>How conversational interfaces are narrowing the gap between “I want it” and “I got it”</h4><p>17 years ago, Wired magazine ran a <a href="http://www.wired.com/1999/03/bezos-3/">story</a> about Jeff Bezos. It was 1999, the year Amazon expanded into selling toys and electronics (and other things besides just books). From all the insights Mr. Bezos shares, one caught my eye in particular. I thought it was weird. Weird enough that I still remember it 17 years later:</p><blockquote>Asked, however, to name the one missing technology that, if it existed, would dramatically improve Amazon.com’s business prospects, he says simply, “Windows instant on” — meaning a personal computer that boots up as quickly as a TV or a PalmPilot. “At home it’s a real pain,” he says, “because in the 90 seconds or two minutes that it takes, I’ve forgotten what I was going to do!”</blockquote><p>He was worried about the time passing between wanting something, and doing something about it. You see, back in the old days of 1999, when you ran out of milk it would take you two minutes to boot up your computer, browse to <a href="https://en.wikipedia.org/wiki/Kozmo.com">kozmo.com</a> (Amazon didn’t have groceries until much later), and stock up on more milk. Jeff was right. By the time your desktop appears, there’s a very good chance that you’d forget why you switched your computer on, and just start checking your emails.</p><p>And today? Well, we all have our instant-on wonders: our laptops and tablets and smartphones, ready to light up in a second. But you’d still need to browse to Amazon.com (or open the Amazon app) find the milk and order it. Unless, well, unless you have an <a href="http://amzn.to/1QKWBiE">Echo</a>. If you own one of these bundles of joy, you’ll just speak into the air:</p><blockquote>Alexa, reorder milk</blockquote><p>Wow. That was, what? 3 seconds? That’s 2.5% of the time it used to take! Well played, Amazon. There is no way I’m going to forget I needed more milk (or laundry detergent, or a new iPhone).</p><p>Why does <em>saying it</em> works so much better than browsing for it?</p><h4>Achieving the shortest path between intent and action</h4><p>So I want my fridge full. Oh, and I want a taxi later. I want to know how busy I am tomorrow. I want to know when I should leave to be on time for my downtown dinner party. Is it going to rain? What wine should I get? Okay, I want that wine too. Have it delivered with the milk today.</p><p>All these good intentions (I just learned that Google calls them <a href="https://www.thinkwithgoogle.com/collections/micromoments.html">micro-moments</a>), need to be translated into actions or be lost forever (or until I open the fridge again). With so many things competing for our attention, what’s the quickest, with least effort, way to handle this translation?</p><p>The quick answer: we need an assistant. <br>Longer answer: well, it actually breaks down into three capabilities.</p><p><strong>Unified context. A conversation<br></strong>Groceries, taxis, weather. There is an app for that, right? Actually, these are three different apps to switch between! It’s too slow and too long.<br>Consider instead, a conversation:</p><pre><strong>Me: What time will I arrive at the hotel on Thursday?</strong></pre><pre>Assistant: Your flight to London lands at 4pm London time. With average traffic, you can expect to arrive at around 5:30pm</pre><pre><strong>Me: What was the name of the nice Greek place we went to last time?</strong></pre><pre>Assistant: 10 Greek street, on Soho. Would you like to make reservations?</pre><pre><strong>Me: I&#39;m not sure. What&#39;s the weather going to be like?</strong></pre><pre>Assistant: Cold and rainy, with a chance of Thunderstorms</pre><pre><strong>Me: In that case, find a place that serves soup, walking distance from the hotel.</strong></pre><p>What just happened? In one go I engaged my flight, weather, traffic and restaurant info. It works, because the conversation unifies all these services under one single interface: <em>words</em>. Moreover, my assistant established that we’re talking about Me, in London, in Thursday, and this information was carried over to all my queries.</p><p>Here lies the power of a conversation as an interface: a context is easily defined and kept. I can then proceed to seamlessly engage multiple services without mentioning the context again or having to switch to a different app.</p><p><strong>Always on<br></strong>You heard Mr. Bezos before. I can’t be bothered to wait for the thing to turn itself on. That’s why the Echo is <em>always on</em>. Always listening. It’s plugged into a wall outlet, so it doesn’t need to be recharged or turned off. And it has enough microphones to be present everywhere in the house (yes, there too).</p><p>That said, communicating by voice has a few disadvantages. First, while it’s okay for me to yell out commands when I’m at home, it can be a little awkward in the office, or on the train. And more important, talking to someone (or something) is a <a href="https://www.aaafoundation.org/sites/default/files/Cog%20Distraction%20Phase%202%20FINAL%20FTS%20FORMAT_0.pdf">huge cognitive load</a>. You need to pay attention and listen to the answers, and you can’t be interrupted mid sentence.</p><p>Enter instant messaging. While not “Always on”, it’s the next best thing: it’s in our pocket and on the desktop, usually already open and running throughout the day. We use it to talk to everyone anyway, so incorporating an assistant into the conversation comes naturally.</p><p>Better than voice, it’s very good for browsing the conversation’s history, and for multitasking. The conversation can pause and restart at any time.</p><p><strong>Prior Knowledge<br></strong>A Good assistant knows you very well. He knows where you are right now, and where you plan to be later. If it’s morning and you’re asking “how is traffic”, you’re actually asking to compare today’s projected commute time to the average time it would usually take. If I want a table at “that Greek place”, he should scan my history for a Greek restaurant around my location.</p><p>He should remember some of my details, so that he won’t bother me with asking for them every time. Things like credit card number and my apartment floor and number. These don’t have to be present on first use. If it’s the first time I’m ordering Pizza, ask for my credit card and home address. Next time, just confirm:</p><blockquote>I will pay for this with your credit card ****3814. Delivery address is 122 Allen street apt 14.<br>Say “Go” to order, or “Edit” to make changes.</blockquote><p>But not just that. If I have loyalty points with Delta, remember that on my next flight search. Don’t book any meetings for me on Wednesday afternoons, that’s my time with the kids.</p><h4>Next, predict the future</h4><p>Here we are with the perfect assistant. Always there, in touch with every service we can think of, knowing everything about us. Takes us 3 seconds to get a tailor-fit solution for all our needs and wants.</p><p>But why settle for 3 seconds? What if my assistant knows what I want before I say it? Before I even realize this is what I want? This is not far-fetched. Armed with all the capabilities we discussed, an assistant is perfectly capable of proactively suggesting ideas:</p><blockquote>I found one of your contacts, Dan Taylor, is going to the convention too. He was just promoted to the position of Purchase Manager at Acme Co. Should I try to reach out and arrange a meeting?</blockquote><p>In fact, at <a href="https://meekan.com/">Meekan</a> we have found that our assistant’s users are <strong>5 times</strong> more likely to engage if approached proactively (as opposed to waiting for them to initiate a request).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*js70kAXj_B75u0H-MvmnOg.png" /></figure><p>Meekan’s assistant robot is alerting you about an upcoming problem in your schedule, and immediately offers 2 possible solutions right there.</p><h4>In Conclusion</h4><ul><li>Bring everything into one, highly-available platform (Slack, Echo, Facebook messenger).</li><li>Use a unified interface (words) to operate everything, and smoothly switch between different services.</li><li>Collect knowledge as you go, so you don’t have to ask for it again next time.</li></ul><p>— <br>This is a part of Meekan’s journey to create the digital office manager. Read <a href="https://medium.com/building-the-robot-assistant">more stories here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d9d3596c888" width="1" height="1" alt=""><hr><p><a href="https://medium.com/building-the-robot-assistant/that-weird-thing-jeff-bezos-said-17-years-ago-3d9d3596c888">That weird thing Jeff Bezos said 17 years ago</a> was originally published in <a href="https://medium.com/building-the-robot-assistant">Building the robot assistant</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cheating on the Turing test]]></title>
            <link>https://medium.com/building-the-robot-assistant/cheating-on-the-turing-test-bc23a36db10?source=rss-770214e496bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/bc23a36db10</guid>
            <category><![CDATA[slack]]></category>
            <category><![CDATA[bots]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Matty Mariansky]]></dc:creator>
            <pubDate>Mon, 04 Jan 2016 16:35:13 GMT</pubDate>
            <atom:updated>2016-01-04T16:37:52.042Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YhtZ-yFsPT6YigKSNBI20w.jpeg" /></figure><h4>8 Dirty tricks to make your chat robot appear more human</h4><p>When we first set out to build our assistant robot at <a href="https://meekan.com/">Meekan</a>, we started by teaching him to carry out some basic scheduling tasks:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/1*Xk1dhRp17oICTffCRW8RbA.png" /></figure><p>We thought, if you’re installing an assistant robot to schedule meetings, this is what you’d expect him to do. Work. But when we let people test him out, conversations soon started looking like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/1*4wVgKl87Zs8ZpED6gSzyww.png" /></figure><p>Conversations would escalate fast, people would call him names and insult him, and generally come out of the experience assured that SkyNet, together with the whole robot overlords thing, is not happening this century.</p><p>We realized that we need to make him smarter. Make our robot appear more human, so you’d feel <em>almost</em> like you’re actually talking to someone on the other side. Now, I say “almost”, because creating a robot that can carry a real conversation is <a href="https://medium.com/@rob_ellis/creating-a-chat-bot-42861e6a2acd">quite difficult</a>, and it’s not really what we’re trying to accomplish with Meekan. We want our robot to perform his assistant tasks well, learn and anticipate his master’s habits and preferences. Delighting his users with witty conversation is just a nice bonus.<br>So we designed and built in a few traits that will allow the robot to appear more intelligent without sacrificing our entire development resources for this. It’s not going to win us the <a href="http://www.loebner.net/Prizef/loebner-prize.html">Loebner Prize</a>, but it’s surprising how well it works.</p><h4>Get the basics right, don’t be an idiot</h4><p>First thing’s first. Before adding the fun stuff, make sure the robot is doing his job. If someone asks “Meekan, arrange a team meeting tomorrow afternoon”, suggesting early 7:00am as a possible afternoon time will not seem very smart.<br>Or when your teammate John is in Beijing, 16 hours away, “Quick phone call with @john” should make sure we’re not going to wake him up at 3am his time.</p><h4>Now you may respond to the unrelated things</h4><p>Behind the scenes, when you’re talking with Meekan, he sends the entire line he got to his natural language understanding (NLU) engine, to figure out what you’re asking him to do. So if we take one of the examples from above, it will go like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*FTVGXTYymA8f16rk4VHoMw.png" /></figure><p>The engine chews up everything, and spits back the request’s main Intent, together with the data entities that came along with it.</p><p>So you got your work-related intents: “New Meeting”, “Find a Flight”, “Reschedule”. But now we can add some extra, less-obvious ones like “Greeting”, “Compliment”, and, well, “Insult”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/462/1*ogs7ny52N972LINoiqM32g.png" /><figcaption>Classic TJLYOM</figcaption></figure><p>That’s so much better than the earlier “I don’t understand” conversation killers. Now let’s take it up a notch.</p><h4>Build a response bank to withdraw from</h4><p>Giving a relevant, on-topic response is not worth it if you keep repeating it over and over again. Having just one response for every situation quickly reveals the mechanism underneath. Really, it takes just one repeat to break the illusion:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/462/1*D6zSsrVyQE4uPaLbIR-qiw.png" /><figcaption>Now you broke it</figcaption></figure><p>So, for every intent the robot identifies, you need to have a whole list of responses, and let the robot choose one at random (or even better, pick the best one based on specific key words inside that intent). It’s not uncommon for us to write 20–30 different possible responses for the more popular intents. It’s a very quick way to appear intelligent in matters that are outside the core functions the robot should do.</p><p>Here, the robot gets two “Out of scope” requests, for things he can’t do, but picks a different response for each of them:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/457/1*SQHM7KOjI7sa296FW87ibQ.png" /></figure><h4>Use ambient information</h4><p>Using a bit of basic information you have about your user, can go a long way in appearing knowledgeable and in context. If you know the user’s name, use it. Use knowledge about the local time or weather, whatever you can get easy access to:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/437/1*UJ8bc2UWmykf9RrPR0VfSg.png" /><figcaption>It’s 5 AM</figcaption></figure><h4>Maintain the illusion of a physical being</h4><p>Wherever possible, pretend there is a real, physical humanoid robot sitting on the other side, and feverously typing away on his little clunky chrome keyboard. Refer to your robot as a robot (not “bot”), and as a “he” (not “it”) [We would rather present our assistant as a he-butler, even if just to avoid the annoying trend of giving virtual assistant a female name. But let’s get back to the topic].</p><p>When you answer back with a long response, don’t just send it all out in one go. Imagine that you’d have to type it line-by-line, and pace your answer to make it look as if it has to obey physical constraints (typing with fingers), and less automatic.</p><p>If it takes a bit of time to come up with an answer, you can also send a temporary “Meekan is typing…” message, the same one you get when a human on the other side is writing a long answer (Credit to <a href="https://medium.com/u/99b3608226b0">Ben Brown</a> for this one)</p><h4>Stay in character</h4><p>Your robot needs to have character, and stick to it. Mixing in multiple personalities will make it seem like you’re talking to a random customer service rep on the other side.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*ApflVql1NseV70aO4IYuXw.png" /><figcaption>Part of the original character draft we wrote</figcaption></figure><p>When you have a good, solid description of the robot’s personality, it’s much easier to pick out which words he might use, and how he will respond to various situations. If you have a whole team that handles that, it’s the only way to make sure they all write for the same robot.</p><h4>Know your limits</h4><p>From time to time, the robot will be asked to perform a critical task. This could be something like</p><ul><li>Buy stuff with the user’s money</li><li>Delete something important</li><li>Communicate with other people on the user’s behalf (and potentially make him look bad)</li></ul><p>You should be 100% sure that you properly interpreted the user’s request. The best way we found, is to mirror the request back to the user, so that it’s clear what the robot is about to do, and wait for a confirmation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*G69gxrx7V8-H-09NQ7C3Qw.png" /><figcaption>Meekan got the right meeting, but still takes the safe side</figcaption></figure><p>If you’re introducing some new capabilities, and your language understanding is not fully trained yet, don’t be afraid to acknowledge that. Saying “Sorry, I’m kinda new at this, did you mean to say that…”.</p><p>This obviously comes with a cost: you’re now being overly verbose, and slower to act, but the trade-off is clear. If we cancel an important meeting because of a misspelled word, or some weird glitch in the language engine, the robot will appear not just plain stupid, but harmful stupid (read: uninstall-him-right-now stupid).</p><h4>Set expectations</h4><p>The nature of instant messaging forces some limitations. For example, since you can’t present a modal dialogue (you can’t put everything on hold until you receive the user input you’re waiting for), you’ll have to explicitly say when you’re expecting some special input (rather than present a plain, annoying “I don’t understand”)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/711/1*z5F3rwr5bA1p_hUl0iF7jQ.png" /></figure><p>This could actually get even worse. This is the nature of the medium. Your user may have went out into a long meeting, and now he comes back ready to start something completely different. Maybe an urgent notification breaks the conversation, needing immediate response.</p><p>We’ll talk about this more of these in the next post on this series, where we’ll discuss how to translate common UI patterns into a conversation.</p><p>Our robot, Meekan, is available for <a href="https://meekan.com/slack/">Slack</a> and <a href="https://meekan.com/hipchat/">HipChat</a>, go ahead and try him out. He’s not going to be our supreme overlord this year, but he’s pretty good at scheduling meetings.</p><p><strong>More reading:</strong></p><ul><li><a href="http://demos.jellyvisionlab.com/downloads/The_Jack_Principles.pdf">The Jack Principles</a>: Outline for an Interactive Conversation Interface</li><li><a href="http://berglondon.com/blog/2010/09/04/b-a-s-a-a-p/">B.A.S.A.A.P</a>: Be As Smart As A Puppy. “Making smart things that don’t try to be too smart and fail, and indeed, by design, make endearing failures in their attempts to learn and improve. Like puppies”</li></ul><p>— <br>This is a part of Meekan’s journey to create the digital office manager. Read <a href="https://medium.com/building-the-robot-assistant">more stories here</a><br>Written with <a href="https://medium.com/u/758b460d87a1">Eyal Yavor</a>, Meekan’s CTO and co-founder</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bc23a36db10" width="1" height="1" alt=""><hr><p><a href="https://medium.com/building-the-robot-assistant/cheating-on-the-turing-test-bc23a36db10">Cheating on the Turing test</a> was originally published in <a href="https://medium.com/building-the-robot-assistant">Building the robot assistant</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Our First week on the Slack Platform]]></title>
            <link>https://medium.com/building-the-robot-assistant/our-first-week-on-the-slack-platform-8d5a996f6bb6?source=rss-770214e496bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d5a996f6bb6</guid>
            <category><![CDATA[bots]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[slack]]></category>
            <dc:creator><![CDATA[Matty Mariansky]]></dc:creator>
            <pubDate>Mon, 21 Dec 2015 15:53:34 GMT</pubDate>
            <atom:updated>2015-12-24T19:41:44.074Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*0bGd0wPR_Z4WyIR9_M_olA.png" /><figcaption>Weekly new team registrations</figcaption></figure><h4>The good, the bad, the ugly</h4><p>A week ago, on Dec. 16th, <a href="http://slack.com/">Slack</a> had some <a href="https://medium.com/slack-developer-blog/launch-platform-114754258b91">really exciting news</a>: They are officially launching the Slack Platform. Their App directory is going live, and it would be easier to build, find, and deploy interesting integrations for active Slack teams.</p><p>Here at <a href="https://meekan.com/">Meekan</a>, we develop a robot assistant that helps running your schedule: He can arrange meetings, re-schedule, warn you about double bookings (and even find you flights).</p><p>Our robot went live on mid-June, when we featured it on Product Hunt, in a very successful campaign. It brought us hundreds of new teams in next couple of days! We were hard at work to retain those teams, keep the servers running, and constantly teaching the robot new capabilities.</p><p>So our retention numbers were awesome, user engagement was great, Twitter response was heart warming. What was wrong?</p><h4>The Ugly: Discoverability</h4><p>Let’s start at the end: Ugly is gone. It was really difficult to install the robot, and it was nearly impossible to find out about him. Slack made these two problems go away.</p><p>Without a proper central repository for integrations, an App Store, our new users were mostly bot enthusiasts, who made lists and recommended bots for each other. We got great feedback and insights from those people.<br>Some blog mentions, and a bit of SEO brought us those interested in managing their calendars through Slack. These guys were a bit less technical than the first group. And the public discussions about our robot in Twitter brought those who were excited to see AI in actions, and were trying to figure out if our robot was already self-aware and about to take over.</p><p>This way we managed to keep a small, steady flow of incoming new teams, without overwhelming ourselves and our servers. This was a good start, but without any marketing budget, we were now hungry for more.</p><p>The second problem we were facing was installation. The users who stumbled upon our web page had to follow a long, complicated list of instructions to install Meekan: Go to Slack’s bot integration page, generate a token, come back, paste it, name the robot, upload a profile pic for him.</p><p>People were giving him weird names. We suggested “meekan”, but people would use other assistant names (Alfred, Friday, Moneypenny), famous robots (Jarvis was very popular, but also HAL, T1000 and even Maximilian), or just plain offensive stuff (“slave”, and even worse, names of competing products).</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FByGycK_Igqk%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DByGycK_Igqk&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FByGycK_Igqk%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/02c270dd7673be971b3420307d29f6ef/href">https://medium.com/media/02c270dd7673be971b3420307d29f6ef/href</a></iframe><p>With users sending us fun conversations with our robot, we had no way to really brand and package the whole thing, with one single profile pic and name everywhere people met him.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/599/1*ZiUNEhAlgQ_nFC9q0tylng.png" /><figcaption>The name is right, but with the default Slack bot avatar!</figcaption></figure><h4>The Good: Slack’s App Directory and one-click installs</h4><p>We were lucky to get a heads-up from the Slack team a few days before the official platform launch. We were asked to use the new APIs to onboard new teams. The improvement to the process are significant.<br>Before, the only way to know who installed us, was to ask for his name (so that we can message him post-install). Now we received the API token and the user’s ID through an OAuth process. It minimized the room for error we had before, with about 10 different error messages we showed (Invalid token, two bots on the same team, unknown user added us, etc).<br>The whole thing is now reduced to just one nice button. In fact you can install Meekan from right here:</p><figure><a href="https://slack.com/oauth/authorize?scope=bot&amp;client_id=2355336152.16171367204&amp;redirect_uri=http://slack.meekan.com/authenticate"><img alt="" src="https://cdn-images-1.medium.com/max/280/0*inCmUQN7On2av3EZ.png" /></a><figcaption>If you click it, they will install</figcaption></figure><p>The added benefit is that the customization is centrally controlled — We choose the default robot name, as well as his profile picture. It gave us the branding we needed.<br>Actually, last Thursday we changed the robot’s profile to celebrate the Star Wars movie premiere (and even taught the robot to recite from the scriptures)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/751/1*XEMtF4Wdnnele7J1At8yFA.png" /><figcaption>The force is strong with this one</figcaption></figure><p>Our discoverability has sky rocketed with the new directory. Slack chose to highlight their “<a href="https://slack.com/apps/category/At0EFT6813-brilliant-bots">Brilliant Bots</a>” category on its main page, and we even climbed a few spots in the rank during the week. The announcement days brought in more users than we could expect, making it our 2nd best week ever, matched only by our Product Hunt launch week.</p><h4>The Bad: engaging</h4><p>So we received our discoverability, easy installation, and branding. What could go wrong?</p><p>It became harder to engage the team we were added in.</p><p>In the old way of adding the robot, he automatically joined the #general and #random channels (or whatever default channels the team had). That was a great starting point — imagine that whenever your app gets installed, it can publicly talk with everyone in the company.</p><p>Initially we had some user backlash when the robot joined the main channel and started blabbing (we actually asked Slack to stop forcing bots to auto-join #general!). So, we had to tone it down, only make a short announcement — “I’m here, I’m helpful, you can kick me out of this channel now”. It wasn’t much, but it was immediately the center of a conversation. People started talking to him, see what he can and cannot do, and added him to more channels. We learned well how to harness the power in #general, by showing accountability for his existence and why he’s important to the team.</p><p>Now, in the new bot creation flow, Slack doesn’t add our robot to #general or other default channels at all. He also can’t create channels, or add himself to any. He isn’t a member of any channel until he’s manually added to one by users. But how do users know he’s there and they should add him, if he doesn’t reach out?</p><p>Technically, the robot could reach out to everyone, personally, in a DM. He would introduce himself, and try to convince the user to sign up and start using him. But reaching out to the entire team in a DM is a horrible idea, and a great way to receive negative feedback, and getting our robot banned forever.</p><p>So, right after installation, we reach out only to our champion (that’s what we call the user that installed us into the team). And we focus by asking him or her only one thing: “/invite meekan” to some channel you use. Once the robot is in a channel, it’s easier to get the ball rolling, because a chain effect starts: Some members of the channel sign up, start using him, invite other people to the meetings he arranges, and soon after they add the robot to more and more channels. But to get this “channel-cred”, we need the champion to be there and vouch for him when he starts working his magic.</p><p>Our onboarding flow became a bit slower with the new framework. The time until the first team member (Our champion) signs up is faster, but he’s now more reluctant to add Meekan to the first channel — It’s easier to go from 1 to N than from 0 to 1.<br>Also, our “old” users had to put in a lot of work to find and install the robot, so there was more chance they will actually start putting him to work right away, rather than install and forget about it.</p><p>That’s our focus right now — Improving our value proposition, and making the team feel comfortable to start using this awesome robot assistant.</p><p>The Slack Directory has finally given us access and visibility to more teams, who try and love Meekan. Only one week passed, but the wild wild west of bots now feels more tamed, and we need to adapt to better fit what teams expect from a mature, tested product in Slack’s directory.</p><p>— <br>This is a part of Meekan’s journey to create the digital office manager. Read <a href="https://medium.com/building-the-robot-assistant">more stories here</a><br>Written with <a href="https://medium.com/u/758b460d87a1">Eyal Yavor</a>, Meekan’s CTO and co-founder</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d5a996f6bb6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/building-the-robot-assistant/our-first-week-on-the-slack-platform-8d5a996f6bb6">Our First week on the Slack Platform</a> was originally published in <a href="https://medium.com/building-the-robot-assistant">Building the robot assistant</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I’ll have my robots talk to your robots]]></title>
            <link>https://medium.com/building-the-robot-assistant/i-ll-have-my-robots-talk-to-your-robots-b403f381e4b4?source=rss-770214e496bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/b403f381e4b4</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[slack]]></category>
            <dc:creator><![CDATA[Matty Mariansky]]></dc:creator>
            <pubDate>Mon, 24 Aug 2015 21:33:41 GMT</pubDate>
            <atom:updated>2015-12-24T15:45:16.855Z</atom:updated>
            <content:encoded><![CDATA[<p>We really should stop micro-managing our calendars. Instead, calendars should be smart enough to be sent out to negotiate and arrange our activities for us.<br>A robot, and one piece of extra information make that happen.</p><h4>This is a really complicated task</h4><p>Deciding when a group of people should get together hasn’t changed too much in the last million years or so. It still involves some back-and-forth, ego and politics, and then some local culture thrown in the mix. Not the stuff computers excel at.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/582/1*vowBE4QsUjxwozgnFFOGtA.png" /></figure><p>It’s easier these days to get over the geographical constraints, now that we have our cars and airplanes and fancy HD cameras. On the other hand, we’ve gotten so much more busy. It could take considerable time just to scan for a free spot on your own weekly agenda, not to mention comparing it to the others’.</p><h4>Not all the people you meet are equal</h4><p>Scheduling a meetings with your friends or peers is usually an exercise in finding a common free time that fits everyone.<br>This is complicated enough, but what happens if you need to meet someone, and ask her to invest in your project? Obviously, her time is so much more important than yours. Actually, you’d cancel other things you have, just to make the meeting possible.<br>How about if you’re the General Manager of a 15,000-employee organization? Your schedule is a tank that runs over other schedules. And what if you need to meet 10 other GM’s like you? Will your assistant survive?</p><h4>Silence of the calendars</h4><p>Fact is, your calendar knows a lot about you. What have you been up to all week? Where will you be tomorrow? Who you’re hanging with? Everything.</p><p>Actually, even the holes in the calendar have meaning. Look at this heat map. It shows its owner’s meetings from the last 6 month overlaid:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/837/1*ge4Iq3PlOnRSUyH2xu6e7A.png" /><figcaption>Red is busy, Blue is free</figcaption></figure><p>See what’s happening on Tuesday afternoon? Nothing, right?<br>Well, I would guess there is actually something there. Something that just doesn’t go into this particular calendar. Maybe this guy writes his business meetings in, but the family stuff goes somewhere else. I guess he’s pretty strict about seeing the kids on Tuesdays. If you wanted to meet him for something work-related, you’ll have to push it to Wednesday.</p><p>So here is this tool that knows us so well, holds this treasure of knowledge about us and our preferences. And what do with do with all that? Make sure we haven’t double booked ourselves, and check that we’re not late for our next meeting.</p><h4>The missing piece</h4><p>Turns out, there is one more piece of information that could make calendars much more powerful. And this is the meeting’s original intent. I mean, you could keep on micro-managing your calendar and marking the Thursday, 12:30pm as “Lunch with Jane”.</p><p>But what if you could tell your calendar:</p><blockquote>Hey Cal, I want to have lunch with Jane sometime next week</blockquote><p>And your calendar will read it as: “Talk to Jane’s calendar and see when we both have a free hour, between next Monday-Friday, 12:00–2:00pm. Go!”<br>And he will sit down with Jane’s calendar, and they’ll come up with some options, but knowing both of you so well, they can agree that Thursday at 12:30 is probably the best time for this.</p><p>Just like that, it’s booked.</p><p>But, oops! You have just called your doctor, and you need an appointment, but the only spot he’s got is next week: Thursday at 12! So you write that, and your calendar notices that it’s overlapping: it’s on top of your lunch! Panic.</p><p>Wait. Aha! Remember the original intent? It was “Lunch next week”, so you can push it a bit later (or a day earlier), and it will still be what it is. Your calendar goes ahead and asks his pal, Jane’s calendar “Is it okay if we move this lunch to 1:00pm same day?”. Yes, it’s okay.</p><p>And lunch is rescheduled.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vom183ICHgCGKCwaYu-8DA.png" /></figure><p>Do you mind if there is a small shuffle in next Thursday’s agenda? Not really. As long as everything falls into place, and all your commitments are fullfilled. So let the calendars figure it out, and just tell you when you should show up.</p><h4>Enter Meekan, the scheduling assistant robot</h4><p>This is the basic principle behind Meekan’s scheduling engine. <a href="http://meekan.com/slack">Add him to your Slack team</a>, talk to him, and he figures out your intent:</p><blockquote>Meekan, can you schedule a quick video call with @dan and @jane?</blockquote><p>The robot will then go and get everyone’s calendars to discuss the best time for this video call. He’ll figure out that Jane’s not a morning person, and you’re really busy on Wednesday, and Dan’s actually in a completely different time zone, so any time before 11am means he’ll have to arrive really early for this.<br>This whole negotiations takes only a few seconds, and Meekan comes back with the options (and a link for the video room to go with that).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MjSffrqSUvgzDz0H2kvNZw.png" /></figure><p>You should try it. It just works. You say “book it”, and the meeting appears in your calendar.</p><p>He will also let you know when you double booked a spot (and would you like to move one of those to a different time?). Or you can just ask “Meekan, how busy am I on Wednesday?” because you haven’t bothered to look in your calendar for a while.</p><h4>Shut up, it’s too complicated. A robot can’t figure out my meetings for me</h4><p>Okay, here’s a number. A year and a half ago, Meekan still had no brains, it was just a plain old iOS scheduling app. On average, it took people <strong>4.5 hours</strong> of back-and-forth to schedule a meeting. That’t not too bad, right? It used to take days to do it over email.</p><p>The robot changed that number. It now takes <strong>53 seconds.</strong></p><p>The AI is not solving the problem on every case. But what it does, is take this huge tree of possible times, constraints and decisions, and trim it down. Cut off a huge chunk of possibilities, and you’re left with a tiny list of pre-checked, ranked, known-to-be-good options. And you say:</p><blockquote>Meekan, book it</blockquote><p>Meekan’s scheduling robot works inside <a href="http://slack.com/">Slack</a>. You can install it <a href="http://meekan.com/slack">here</a></p><p>— <br>This is a part of Meekan’s journey to create the digital office manager. Read <a href="https://medium.com/building-the-robot-assistant">more stories here</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b403f381e4b4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/building-the-robot-assistant/i-ll-have-my-robots-talk-to-your-robots-b403f381e4b4">I’ll have my robots talk to your robots</a> was originally published in <a href="https://medium.com/building-the-robot-assistant">Building the robot assistant</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>