contador web Skip to content

Learn how to build bots in Google Assistant

The pure Google Artificial Intelligence Assistant, we know that. Until recently, it was limited to what Google itself offered in its resource base, and there is not always something we really find useful there. From now on, you can create your own buttons within the tool.

Named "Actions on Google", the service is not yet available in Portuguese, but it is not very difficult to interact with itself in English. When you access the service console logged into your Google account, the service invites you to create your first Google Assistant project.

image1 "sizes =" (max-width: 806px) calc (100vw - 24px), (max-width: 995px) 782px, (max-width: 1216px) calc (2 * (100vw - 30px) / 3) + 15px - 24px), 782px "src =" https://fscl01.fonpit.de/userfiles/7169726/image/image1-w782.jpg "srcset =" https://fscl01.fonpit.de/userfiles/7169726/image/ imagem1-w782.jpg 782w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem1-w596.jpg 596w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem1-w450. jpg 450w, https://fscl01.fonpit.de/userfiles/7169726/image/image1-w336.jpg 336w, https://fscl01.fonpit.de/userfiles/7169726/image/image1-w300.jpg 300w "class = "lazyload" />
Let's build our own bot / AndroidPIT (screenshot)
</figure>
<p>Clicking on + you start your project by giving it a name and informing it of its home country.</p><div class='code-block code-block-3' style='margin: 8px auto; text-align: center; display: block; clear: both;'>
<div data-ad=
image2 "sizes =" (max-width: 806px) calc (100vw - 24px), (max-width: 995px) 782px, (max-width: 1216px) calc (2 * (100vw - 30px) / 3) + 15px - 24px), 782px "src =" https://fscl01.fonpit.de/userfiles/7169726/image/imagem2-w782.jpg "srcset =" https://fscl01.fonpit.de/userfiles/7169726/image/ imagem2-w782.jpg 782w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem2-w596.jpg 596w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem2-w450. jpg 450w, https://fscl01.fonpit.de/userfiles/7169726/image/image2-w336.jpg 336w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem2-w300.jpg 300w "class = "lazyload" />
Create your test project / AndroidPIT (screenshot)
</figure>
<p>From then on just choose what you want to do with your bot. You can use the Dialogflow tool, a dialog builder, configure an SDK, or build an interaction with more complex artificial intelligence. There are also templates so you can do something more easily and explore the tool before you start. On the main site there are several other guides and even examples ready to go.</p>
<figure><img alt=
image4 "sizes =" (max-width: 806px) calc (100vw - 24px), (max-width: 995px) 782px, (max-width: 1216px) calc (2 * (100vw - 30px) / 3) + 15px - 24px), 782px "src =" https://fscl01.fonpit.de/userfiles/7169726/image/imagem4-w782.jpg "srcset =" https://fscl01.fonpit.de/userfiles/7169726/image/ imagem4-w782.jpg 782w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem4-w596.jpg 596w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem4-w450. jpg 450w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem4-w336.jpg 336w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem4-w300.jpg 300w "class = "lazyload" />
Here you will find guides and templates / AndroidPIT (screenshot)
</figure>
<p>I chose Flash Cards, a cool tool for those who want to study because it features a quiz game with tips. You choose a personality for your bot and then the service asks you to associate a spreadsheet with the information to use.</p><div class='code-block code-block-4' style='margin: 8px auto; text-align: center; display: block; clear: both;'>
<div data-ad=
image5 "sizes =" (max-width: 806px) calc (100vw - 24px), (max-width: 995px) 782px, (max-width: 1216px) calc (2 * (100vw - 30px) / 3) + 15px - 24px), 782px "src =" https://fscl01.fonpit.de/userfiles/7169726/image/image5-w782.jpg "srcset =" https://fscl01.fonpit.de/userfiles/7169726/image/ imagem5-w782.jpg 782w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem5-w596.jpg 596w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem5-w450. jpg 450w, https://fscl01.fonpit.de/userfiles/7169726/image/image5-w336.jpg 336w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem5-w300.jpg 300w "class = "lazyload" />
Choose the personality of your bot / AndroidPIT (screenshot)
</figure>
<p>If you don't know how to create the spreadsheet, just choose "Make a copy of the pre-filed Google Sheet for editing" (make a copy of Google's pre-filled spreadsheet for editing) and you will make a copy of the Google model spreadsheet.</p>
<figure><img alt=

One below the other, in "Question" you write the questions; in "Answer" the answers; in "Hint", tips for answering if you get it wrong, and in "follow up" for some additional information about the answer.

image7 "sizes =" (max-width: 806px) calc (100vw - 24px), (max-width: 995px) 782px, (max-width: 1216px) calc (2 * (100vw - 30px) / 3) + 15px - 24px), 782px "src =" https://fscl01.fonpit.de/userfiles/7169726/image/imagem7-w782.jpg "srcset =" https://fscl01.fonpit.de/userfiles/7169726/image/ imagem7-w782.jpg 782w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem7-w596.jpg 596w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem7-w450. jpg 450w, https://fscl01.fonpit.de/userfiles/7169726/image/image7-w336.jpg 336w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem7-w300.jpg 300w "class = "lazyload" />
Use Google / AndroidPIT template spreadsheet (screenshot)
</figure>
<p>Go to the "Configurations" tab and title for your action, in this case a game, and say how many questions there are, the name of the questions and the name of the answers.</p><div class='code-block code-block-5' style='margin: 8px auto; text-align: center; display: block; clear: both;'>
<div data-ad=
image8 "sizes =" (max-width: 806px) calc (100vw - 24px), (max-width: 995px) 782px, (max-width: 1216px) calc (2 * (100vw - 30px) / 3) + 15px - 24px), 782px "src =" https://fscl01.fonpit.de/userfiles/7169726/image/imagem8-w782.jpg "srcset =" https://fscl01.fonpit.de/userfiles/7169726/image/ imagem8-w782.jpg 782w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem8-w596.jpg 596w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem8-w450. jpg 450w, https://fscl01.fonpit.de/userfiles/7169726/image/image8-w336.jpg 336w, https://fscl01.fonpit.de/userfiles/7169726/image/image8-w300.jpg 300w "class = "lazyload" />
Fill in the final information in the spreadsheet / AndroidPIT (screenshot)
</figure>
<p>Take the shareable link from your spreadsheet and paste it into the tool. Click on "Upload" that Google will read your document, identifying how many questions you have found.</p>
<figure><img alt=

The next step is to click on "Test app". You can interact with your new tool directly from your computer browser.

image10 "sizes =" (max-width: 806px) calc (100vw - 24px), (max-width: 995px) 782px, (max-width: 1216px) calc (2 * (100vw - 30px) / 3) + 15px - 24px), 782px "src =" https://fscl01.fonpit.de/userfiles/7169726/image/imagem10-w782.jpg "srcset =" https://fscl01.fonpit.de/userfiles/7169726/image/ imagem10-w782.jpg 782w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem10-w596.jpg 596w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem10-w450. jpg 450w, https://fscl01.fonpit.de/userfiles/7169726/image/image10-w336.jpg 336w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem10-w300.jpg 300w "class = "lazyload" />
Your test bot is ready! / AndroidPIT (screenshot)
</figure>
<p>But the cool thing is, you can now test your bot on the smartphone. Logged in to your account, indicated that you change the language of the smartphone to English (for this, go to Settings> Languages ​​and input> Languages ​​and choose English.</p><div class='code-block code-block-6' style='margin: 8px auto; text-align: center; display: block; clear: both;'>
<div data-ad=
image11 "sizes =" (max-width: 806px) calc (100vw - 24px), (max-width: 995px) 782px, (max-width: 1216px) calc (2 * (100vw - 30px) / 3) + 15px - 24px), 782px "src =" https://fscl01.fonpit.de/userfiles/7169726/image/imagem11-w782.jpg "srcset =" https://fscl01.fonpit.de/userfiles/7169726/image/ imagem11-w782.jpg 782w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem11-w596.jpg 596w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem11-w450. jpg 450w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem11-w336.jpg 336w, https://fscl01.fonpit.de/userfiles/7169726/image/imagem11-w300.jpg 300w "class = "lazyload" />
We recommend changing the system language to test the bot / AndroidPIT (screenshot)
</figure>
<p>Call up your Google Assistant and say (or type) "Talk to my test app" and it will already read the test version of the action you created. You can now answer the questions to see if it works.</p>
<figure><img alt=

This bot is available only to you, but then you can publish it and share your creation with the world. It's a very interesting tool that not only adds more usefulness to Google Assistant but also teaches you a little more about artificial intelligence, a subject that we know from now on.

And you, did you enjoy this service?

(tagsToTranslate) artificial intelligence (t) artificial intelligence (t) ai (t) ia (t) google bot (t) bot for google assistant (t) bot for google assistant (t) how to make a bot for google assistant