Build Actions for Google Assistant using Actions Builder (Codelab 1)

Build Actions for Google Assistant using Actions Builder (Codelab 1). Learn how to build Actions for Google Assistant using the Actions Builder from scratch. This tutorial is based on the official codelab session for building conversational Actions for the Google Assistant.
This codelab covers beginner-level concepts for developing with Google Assistant; you do not need any prior experience with the platform. In this tutorial, you will learn how to build a simple Action for the Google Assistant that tells users their fortune as they begin their adventure in the mythical land of Gryffinberg.
What you'll build and learn in Build Actions for Google Assistant using Actions Builder (Codelab 1)
In this codelab, you build a simple Action with the following functions:
Responds to users with a greeting message.
Asks users a question. When they answer, your Action responds appropriately to the user's selection.
Provides suggestion chips users can click to provide input.
Modifies the greeting message to the user based on whether they are a returning user.
Core Concepts:
You will also learn some of the core concepts and basic building blocks of the new Actions Builder.
Scenes
Transitions
Fulfillment
Suggestions
What you'll learn
How to build an Action for the Google Assistant
How to create a project in the Actions console
How to send a prompt to the user after they invoke your Action
How to process a user's input and return a response
How to test your Action in the Actions simulator
How to implement fulfillment using the Cloud Functions editor
Let us know in the comments below on your thoughts or queries on the new Actions Builder for the Google Assistant.
Important Resources:
Google Assistant Tutorial Series Playlist → bit.ly/3iLP1al
Documentation → goo.gle/2XUUSCJ
Actions samples → goo.gle/30w6SfC
Actions codelab → goo.gle/2MPr04d
Actions Builder & Actions SDK playlist → bit.ly/33Zj7CT
🔴 Subscribe to the channel to never miss an episode: bitly.com/techwithsach

Пікірлер: 39

  • @techwithsach
    @techwithsach4 жыл бұрын

    Let me know your thoughts and comments on the new Actions Builder. What features would you like to see in future videos? Share your thoughts below. 🔴 Subscribe to the channel to never miss an episode: bitly.com/techwithsach 🔥 Also, check out part 2 of the codelab series: kzread.info/dash/bejne/e2ukmKNmd6ycdZs.html

  • @shouryjain3563

    @shouryjain3563

    3 жыл бұрын

    Can you make a video about how to use interactive canvas in trivia quiz, please!!!!!

  • @techwithsach

    @techwithsach

    3 жыл бұрын

    @@shouryjain3563 Sure. Will try to cover these in future videos or live stream especially when we cover Interactive Canvas. Stay tuned.

  • @techwithsach

    @techwithsach

    3 жыл бұрын

    @TemplatesJack This is possible via Account Linking.

  • @shouryjain3563

    @shouryjain3563

    3 жыл бұрын

    @@techwithsach thanks by the way I am 12 years old can I be the part of Google at this age ,if I can, then how?

  • @techwithsach

    @techwithsach

    3 жыл бұрын

    HI @TemplatesJack, The current way requires you to do this via account linking. But the team is already aware of these requests and are working on it. Will keep you posted as soon as there is an update. 🙂

  • @jennirexmolbog4118
    @jennirexmolbog41184 жыл бұрын

    Great work Sach. Thanks for this video and looking forward to see the next part of the series.

  • @techwithsach

    @techwithsach

    4 жыл бұрын

    Thanks jennirex molbog, Glad you found it useful. Stay tuned for the next episode.

  • @marksoftich5215
    @marksoftich52154 жыл бұрын

    Great job Sach! I just went through this tutorial a few days ago. I was wondering if you can do a tutorial on rich responses? I am currently playing around with using cards and would love to learn more about how you use them. Thanks again for your videos!

  • @techwithsach

    @techwithsach

    4 жыл бұрын

    Thanks Mark Softich, Great Suggestion. I did cover a bit about rich responses during one of my live streams to one the developer communities. You can refer to this video bit.ly/2FgOD51 on how to add cards and images and use SSML etc. Hope this helps. Will definitely try to cover a future video on rich responses either during a live stream session or a full hands-on tutorial as always. 🙂

  • @marksoftich5215

    @marksoftich5215

    4 жыл бұрын

    That’s awesome! Thanks again for the overview.

  • @gerardo246
    @gerardo2463 жыл бұрын

    Hi, really nice tutorial! have you a video using implicit invocations? Thanks and grats for this video!

  • @techwithsach

    @techwithsach

    3 жыл бұрын

    Thanks gerardo246, Glad you found it useful. Yes, a series of videos are planned which will cover this. Stay tuned!🙂

  • @dileepjohn1
    @dileepjohn14 жыл бұрын

    Is there a way to make use of the helper intents within Action builder? I noticed account linking is available. What about other helper intents?

  • @techwithsach

    @techwithsach

    3 жыл бұрын

    Hi Dileep John, the team is currently working on it and you should have this feature soon. Will keep you posted or drop a new video on it once its available. 🙂

  • @carlosherrera3701
    @carlosherrera37013 жыл бұрын

    I have the following error when try to send mi project to the actions console: Custom actions can only be specified in Conversational Actions projects, can someone tell me why?

  • @techwithsach

    @techwithsach

    3 жыл бұрын

    Hi Carlos, can you let me know the exact steps you are taking? Let me know if you are still facing an issue.

  • @TeestasWindow
    @TeestasWindow3 жыл бұрын

    Sir, at the end when I click deploy fulfillment option it shows you need biling account! I've no biling account! How can it be created? Kindly help me please...Thank you.

  • @techwithsach

    @techwithsach

    3 жыл бұрын

    Hi, you can always use the 300$ credit that gets allocated if you are using a new google cloud account. If you are using this to learn, you can use the initial cloud credits of 300$ towards this. Hope this helps.

  • @SandroHenriques-uk1ik
    @SandroHenriques-uk1ik3 ай бұрын

    @techwithsach, when I access the Actions Console, only the options: Invocation, Actions, and Account linking appear. When creating an Action, only Smart home is displayed, and in the tutorials I found, there are others. In other words, I’m not finding functionality in the Actions Builder. The big question is: how do I make a “hello world” of an Action on Actions Builder nowadays?

  • @kovidbhatt7920

    @kovidbhatt7920

    Ай бұрын

    Did you get a solution?? If yes please help me

  • @SandroHenriques-uk1ik

    @SandroHenriques-uk1ik

    Ай бұрын

    @@kovidbhatt7920 Not yet! For now, my system will not support Google.

  • @kovidbhatt7920

    @kovidbhatt7920

    Ай бұрын

    @@SandroHenriques-uk1ik I just found out the reason, this service has been removed by google in june, 2023 last year

  • @rsfcaf
    @rsfcaf3 жыл бұрын

    Hi Sach, great video! is it possible to ask a question where the response is a KZread video? I'd like to say, "Ok, Google, ask my dad about the time he met my mom" and then show a KZread video of my dad talking about when he met my mom. When the video ends, the Assistant could ask me "Would you like to hear more stories from your dad?" etc.. Can the new Actions Builder do this?

  • @techwithsach

    @techwithsach

    3 жыл бұрын

    Thanks rsfcaf, You can do this by calling the KZread Data API from your webhook. You might have to write your own logic to match the videos depending on your request. You can basically handle all this in your action. So when you say, Hey Google, Talk to my test app(action name), then you can request for these queries and match it and display the results by calling the webhook and displaying it as a response. Hope this helps. 🙂

  • @rsfcaf

    @rsfcaf

    3 жыл бұрын

    @@techwithsach Thanks...I'll give it a try!

  • @parrot7958
    @parrot79583 жыл бұрын

    I didn't find any option to use python in webhook fulfillment. Can we use python instead of node.js in webhook?

  • @techwithsach

    @techwithsach

    3 жыл бұрын

    Yes, you can use your own webhook. You can find this under webhook and on the top right, you will find an option to change fulfillment. If you are selecting webhook for the first time, you can also choose between inline cloud functions and HTTPS endpoint. Choose HTTPS endpoint to Build and deploy fulfillment on your own.

  • @parrot7958

    @parrot7958

    3 жыл бұрын

    @@techwithsach Thanks. I will check.

  • @thibaultwislez2398
    @thibaultwislez23989 ай бұрын

    No possible to do that anymore

  • @udbhaspuitandi9677
    @udbhaspuitandi96773 жыл бұрын

    The template option is no more coming after creating a new project

  • @techwithsach

    @techwithsach

    3 жыл бұрын

    Hi Udbhas, Template Actions for Google Assistant are being deprecated. You can use the new Actions Builder to build actions for the Google Assistant as shown in the video. Actions Builder and Actions SDK is the new tool to build native actions for the Google Assistant. 🙂

  • @beto_judoka5990
    @beto_judoka59903 жыл бұрын

    how can y insert my dialogflow?

  • @techwithsach

    @techwithsach

    3 жыл бұрын

    You can migrate your dialogflow agent to Actions Console. If you are building from scratch, it is best to design your action for Google Assistant directly using the new Actions Builder.

  • @shouryjain3563
    @shouryjain35633 жыл бұрын

    Can you make a video about how to use interactive canvas in trivia quiz, please!!!!!!

  • @techwithsach

    @techwithsach

    3 жыл бұрын

    Hi Shoury Jain, Will try to cover this in the future videos or live stream. Stay tuned. 🙂 In the meantime, you can also check out this video on Actions Template that is actually powered by Interactive Canvas. kzread.info/dash/bejne/iX98sMqtltCYoNo.html

  • @RafelDevOps
    @RafelDevOps3 жыл бұрын

    Cloud function deployment failed....

  • @techwithsach

    @techwithsach

    3 жыл бұрын

    Hi Rafel, you can check the logs and see why the deployment failed. Are you following the same code as shown in the video or something that you have added. You can always refer to the logs to see why the deployment failed. Hope this helps. 🙂