In the Message Body field, type in a prompt asking the user to reply back with their New Year’s resolution. Connect it to the Reply dot of your first widget Name-this will trigger the Resolution widget upon receiving a response to the Name widget.Drag and drop another Send & Wait for Reply widget onto the canvas and name it.This question needs to be triggered as soon as we get the response to the question in Step 1. The next thing we need for the contract is the user’s New Year’s resolution. Step 2: Ask the user for their New Year’s resolution Connect it to to the Incoming Message dot of the Trigger widget.Ĭongratulations! You’ve just set up the first step to build the Resolution Bot!īoth Steps 2 and 3 are similar to Step 1 - we’re going to continue asking questions and collecting answers.In the Message Body field, type in a prompt asking the user to reply back with their name.I strongly recommend renaming your widgets to be descriptive of the main action they’re performing-in this case, Name. Drag the Send & Wait for Reply widget (this widget allows you to collect a user’s input based on their response to your message) onto the canvas and give it a name.The first thing we need for our Resolution Bot contract is the user’s name. Building the Resolution Bot Step 1: Send the user a text message requesting their name Now that we’ve got that out of the way, let’s look at creating the Resolution Bot. These widgets are simple drag-and-drop building blocks that can be dragged onto the center of the canvas to build your bot. The Widget Library is a list of actionable widgets to build your bot. REST API (Inbound request): The flow can be triggered programmatically.Incoming phone call: The flow gets triggered when a user makes a phone call.Incoming message: The flow gets triggered when a user texts in.The Trigger box helps trigger a Flow’s start. You’ll be redirected to a blank canvas with a box labeled Trigger and a Widget Library on the right-hand side. A Zapier account that we’ll be using to integrate Google Calendar.īefore we begin, let’s take a moment to explore what the Studio Dashboard looks like when you open it for the first time:įrom the dashboard, click on Create a Flow and give it a friendly name – I’ve gone with Resolution Bot.A HelloSign account - We’re going to need this to send the HelloSign contract to the user’s email.Let’s go over what you’ll need for this tutorial: □ Reminders to ensure Resolution Success!īut first, let me take a selfie make sure to try out the working version of Resolution Bot if you haven’t already. Name of the individual committing to the resolution. To make a New Year’s resolution truly official, the Resolution Bot will get users to sign a contract. Today’s tutorial shows how to build a New Year’s Resolution Bot that will help users commit to their New Year’s resolution and stay on track. Welcome to our second post in the mini-series on getting started with SMS chatbots! Today you’ll learn some of the basics of building a bot while working in a friendly, no code required, visual builder called Twilio Studio.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |