Actions on Google Facts about Google Sample using Node.js
This is a knowledgable Action that shares interesting facts about Google. The sample introduces advanced features like custom entities, contexts, and deep links. Use this Action and you might see that it even knows about a subject other than Google!
Setup Instructions
Pre-requisites
- API.AI account: https://api.ai
- Google Cloud project: https://console.cloud.google.com/project
See the developer guide and release notes at https://developers.google.com/actions/ for more details.
Steps
- Create a new agent in API.AI https://api.ai.
- Click on the project gear icon to see the project settings.
- Select "Export and Import".
- Select "Restore from zip". Follow the directions to restore.
- Select the FactsAboutGoogle.zip file in this repo.
- Deploy this action to your preferred hosting environment (we recommend Google Cloud Functions).
- Set the "Fulfillment" webhook URL to the hosting URL.
- Make sure all domains are turned off.
- Enable Actions on Google in the Integrations.
- Enter the following intents as "Additional triggering intents"
- choose_google
- choose_cats
- In the quit_facts intent, check "End Conversation" for Actions on Google.
- Provide an invocation name for the action.
- Authorize and preview the action in the web simulator.
For more detailed information on deployment, see the documentation.
References and How to report bugs
- Actions on Google documentation: https://developers.google.com/actions/.
- If you find any issues, please open a bug here on GitHub.
- Questions are answered on StackOverflow.
How to make contributions?
Please read and follow the steps in the CONTRIBUTING.md.
License
See LICENSE.md.
Terms
Your use of this sample is subject to, and by using or downloading the sample files you agree to comply with, the Google APIs Terms of Service.
Google+
Actions on Google Developers Community on Google+ https://g.co/actionsdev.