rkanjani / apiai-silly-name-maker-webhook-nodejs

Silly Name Maker w/ Webhook API.AI sample for Actions on Google

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Actions on Google Silly Name Maker Sample using Node.js

This is a super simple Action, built using API.AI and Node.js, to generate a silly name based on your lucky number and favorite color.

Setup Instructions

Pre-requisites

  1. API.AI account: https://api.ai
  2. 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

  1. Create a new agent in API.AI https://api.ai.
  2. Click on the project gear icon to see the project settings.
  3. Select "Export and Import".
  4. Select "Restore from zip". Follow the directions to restore.
  5. Select the SillyNameMaker.zip file in this repo.
  6. Deploy this action to your preferred hosting environment (we recommend Google Cloud Functions).
  7. Set the "Fulfillment" webhook URL to the hosting URL.
  8. Make sure all domains are turned off.
  9. Enable Actions on Google in the Integrations.
  10. In the make_name intent, check "End Conversation" for Actions on Google.
  11. Provide an invocation name for the action.
  12. Authorize and preview the action in the web simulator.

For more detailed information on deployment, see the documentation.

References and How to report bugs

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.

About

Silly Name Maker w/ Webhook API.AI sample for Actions on Google

License:Apache License 2.0


Languages

Language:JavaScript 100.0%