Skip to content

chefgs/aog_city_name_maker

Repository files navigation

aog_city_name_maker

Google Actions Getting Started Project

This project has been created for developers, interested to getting started with Google Actions using Dialogflow and Google Actions Console.

Instructions to use the repo


1. Users can download the source code as zip from here
or
Install Git Bash for Windows and use below commands to checkout code
2. Use git command to checkout the code
git clone https://github.com/chefgs/aog_city_name_maker.git
cd aog_city_name_maker
git checkout master

Source file details

agent.json - Dialog flow agent file
package.json - Agent version file
"entities" Directory - contains the Diagflow entity used in the agent
"intent" Directory - contains the Default intents and custom intents made for the Google actions conversations
"fulfillment_webhook" Directory - contains the node.js source files. These files can be used to create the Fulfillment webhook for the agent. These webhooks are written in node.js, uses "Google Cloud functions" deployed in Google Firebase.

Tutorials and Guides

Google Actions Getting Started
https://developers.google.com/actions/smarthome/

Google Actions create actions
https://codelabs.developers.google.com/codelabs/actions-1/#0

Dialogflow Console Getting Started
https://dialogflow.com/docs/getting-started

Dialogflow Agents
https://dialogflow.com/docs/agents

Dialogflow Fullfillment for Google Actions
https://dialogflow.com/docs/getting-started/integrate-services-actions-on-google
Use source files available in "fulfillment_webhook" Directory

Quick start tips

Developers who has experience in Dialoagflow can download the "aog_city_name_maker.zip" file.
Create an agent with the preferred name.
Export the aog_city_name_maker.zip file as instant agent from "Dialoagflow agent settings".
Once the agent is created fullfilment webhook can be enabled and use the files available in "fulfillment_webhook" Directory to add firebase code.