
Above step will open API.AI console create an agent there for the project you created above.
Now we have an agent. In order to create SUSI action on Google, we will define an "intent" from options in the left menu on API.AI, but as we have to receive responses from SUSI API so we have to set up webhook first.

See "fulfillment" option in the left menu. Open to enable it and to enter the url. We have to deploy the above written code onto heroku, but first make a github repository and push the files in the folder we created above.
In command line change current directory to folder we created above and write git init git add . git commit -m"initial" git remote add origin <URL for remote repository> git remote -v git push -u origin master
You will get URL for remote repository by making repository on your github and copying this link of your repository.

Now we have to deploy this github repository to heroku to get url.
If you don't have account on heroku sign up here https://www.heroku.com/ else just sign in and create a new app.

Deploy your repository onto heroku from deploy option and choosing github as a deployment method.

Select automatic deployment so that when you make any changes in github repository, they are automatically deployed to heroku.
6. Open your app from option on top right and copy the link of your heroku app and append it with /webhook and enter this url into fulfillment url.
https://{Your\_App\_Name}.herokuapp.com/webhook
7. After setting up webhook we will make an intent on API.AI, which will get what user is asking from SUSI. To create an intent, select "intent" from the left menu and create an intent with information given in screenshot below and save your intent.

After creating the intent, your agent is ready. You just have to integrate your agent with Actions on Google. Turn on its integration from the "integration" option in left menu.
Your SUSI action on Google Assistant is ready now. To test it click on actions on Google in integration menu and choose "test"option.

2,153 followers · starred Nov 2017
298 followers · starred Dec 2017
136 followers · starred Feb 2018
107 followers · starred Sep 2018

Above step will open API.AI console create an agent there for the project you created above.
Now we have an agent. In order to create SUSI action on Google, we will define an "intent" from options in the left menu on API.AI, but as we have to receive responses from SUSI API so we have to set up webhook first.

See "fulfillment" option in the left menu. Open to enable it and to enter the url. We have to deploy the above written code onto heroku, but first make a github repository and push the files in the folder we created above.
In command line change current directory to folder we created above and write git init git add . git commit -m"initial" git remote add origin <URL for remote repository> git remote -v git push -u origin master
You will get URL for remote repository by making repository on your github and copying this link of your repository.

Now we have to deploy this github repository to heroku to get url.
If you don't have account on heroku sign up here https://www.heroku.com/ else just sign in and create a new app.

Deploy your repository onto heroku from deploy option and choosing github as a deployment method.

Select automatic deployment so that when you make any changes in github repository, they are automatically deployed to heroku.
6. Open your app from option on top right and copy the link of your heroku app and append it with /webhook and enter this url into fulfillment url.
https://{Your\_App\_Name}.herokuapp.com/webhook
7. After setting up webhook we will make an intent on API.AI, which will get what user is asking from SUSI. To create an intent, select "intent" from the left menu and create an intent with information given in screenshot below and save your intent.

After creating the intent, your agent is ready. You just have to integrate your agent with Actions on Google. Turn on its integration from the "integration" option in left menu.
Your SUSI action on Google Assistant is ready now. To test it click on actions on Google in integration menu and choose "test"option.

2,153 followers · starred Nov 2017
298 followers · starred Dec 2017
136 followers · starred Feb 2018
107 followers · starred Sep 2018