This is a productivity Assistant app that allows to create task and read all tasks.
See the developer guide and release notes at https://developers.google.com/actions/ for more details.
- Use the Actions on Google Console to add a new project with a name of your choosing.
- Under Build a custom app, click BUILD in the Dialogflow box and then click Create Actions on Dialogflow.
- Click Save to save the project.
- Click on the gear icon to see the project settings.
- Select Export and Import.
- Select Restore from zip. Follow the directions to restore from the
dialogFlow/demo-happydo.zipfile in this repo. - Deploy the fulfillment webhook provided in the
functionsfolder using Google Cloud Functions for Firebase:- Follow the instructions to set up and initialize Firebase SDK for Cloud Functions. Make sure to select the project that you have previously generated in the Actions on Google Console and to reply
Nwhen asked to overwrite existing files by the Firebase CLI. - Run
firebase deploy --only functionsand take note of the endpoint where the fulfillment webhook has been published. It should look likeFunction URL: https://${REGION}-${PROJECT}.cloudfunctions.net/dialogflowFirebaseFulfillment
- Follow the instructions to set up and initialize Firebase SDK for Cloud Functions. Make sure to select the project that you have previously generated in the Actions on Google Console and to reply
- Go back to the Dialogflow console and select Fulfillment from the left navigation menu. Enable Webhook, set the value of URL to the
Function URLfrom the previous step, then click Save. - Click Test.
- Click View to open the Actions on Google simulator.
- Type
Talk to my test appin the simulator, or sayOK Google, talk to my test appto any Actions on Google enabled device signed into your developer account.
For more detailed information on deployment, see the documentation.