My Actions_On_Google Experience

Vidit Varshney
5 min readNov 3, 2018

So , here is all what i felt during my action on google project.

Google

Many of you thinking that was exactly action on google is or simply we can say AOG ?

Google assistant Logo

Actions on Google is a program for developers of “Actions” that run via Google Assistant on devices such as the Google Home smart speaker and the Google Pixel smartphone and on the Google Allo mobile app..

How Do I make a Google Assistant App ?

Activate your assistant by home button

For making your imagination into reality and want to be a contributor in GOOGLE’s Project . So you need to first follow their Codelabs to first how the environment works .

Click Here to take your First step Code Lab 1

Now this is all about Actions On Google

So , it was the first start when i did something new , besides my academics and find really interested , so i started my journey for AOG 😜 and i really enjoyed it .In the early October , I came to know about AOG . I simply Know about it by internet . In the very first look to AOG i am not sure what i supposed to do . Yes , I know that I have to make a App for Google Assistant .

But the Question arises How I do this ?

Since i am free for extra activities , So i Searched for it . Obviously On Google ..So, I collect information about action on Google

How weird it is Search For GOOGLE on GOOGLE 😆

I researched about i came to know about it ( as i mentioned in the in introduction)

So, on next day i had information about it so i started my journey with their Codelabs . First I made my first simple app by using templates , in which user asks for favourite color , the assistant tells the user “ a fact related to that color “ .

There is a choice in AOG console to make your app by using either Templates or Webhook.

Templates : Templates are predefined code , you just have to do some changes . You not need to have a coding experience.

Webhook : Later on You can Build your app by using your code , it is done by Webhook . This will be very interesting because this is free what you like to add , control your assistant voice pitch etc..

Why it is preferable to start by using a Template ?

The answer is very simple , By which the developer will be familiar with the AOG Environment.And make new more apps without facing any difficulty .Because once you familiar with “what are intents, entity , invocation etc “ You will be more comfortable and use more functions in your app .

Problems faced by me 😫

Initially , there are many problems faced by me during my making of very first AOG App . As i started with codelabs so i came to know what are intents , entity , what is invocation . So with help of this I am done with this but my problems did not over yet 😫

My first Problem

So, before going into deep you should know what is invocation ?

invocation : is something like our names , we have names and we call anyone by its name . so in this case start your app by invoking it’s name

in the above image , look at the very first line “Talk to my test app”. So this invokes your app and ask assistant to open your app .

As in the image shown after invoke my app it successfully invokes and take input from the user but after that it lefts the conversation . So this is my very first problem .

I also facing problem to how to end the conversation , actually i want to give a “thought of the day and ask the user to play again” , when user wants to leave the app, but i am unable to do this , after investing many hours , i got the solution.

One thing is good by investing your time in finding the solution of a particular problem is that , you became familiar to know some extra stuff , besides the you academics .

So , taking this motivation , i continued my project or simply say ready to tackle new problem. So now i’m done with first step after that i faced the problem that how to add my code in the environment and that is the problem which i spent a bunch of time in it . I didn’t know how to do this , every time it shows some mistakes but at last i am able to solve this problem , yes in this i take someone’s help

And then the time comes to submit your app for review, so for this i filled the necessary information ( description of app , company name , logo , privacy policy and all that ). But the main problem is that every time they they rejected my app by saying , your invocation are not structured correctly

Part of Rejection mail , “The issue

So , I tried to fix the issue, everything was fine but the rejection mail arrives with the same issue . After so many rejection it accepted and gives me the wonderful experience …..

So , this is my experience with Actions_On_Google, i really learn something new which can be very helpful in future , see one thing is that i faced the problem came in my project and find the solution of that , this is the main thing.

Great things happen to those who don’t stop believing, trying, learning, and being grateful.

Thank you for reading this …

About Myself

Hey, I’m Vidit Varshney , a B.Tech Second Year Student of Galgotias University. I worked on some web projects which are available on Github . I love to do FrontEnd Web Development. And I also Volunteered in AOG workshop which was conducted by Team-TechnoJam and DSC Galgotias.

My Profile Links…

Github Linkedin Facebook Twitter

--

--

Vidit Varshney

Software Developer| Web Developer | VUI Developer | Python |JavaScript | OSS| Helping_Others