https://github.com/kmacedovarela/dialogflow-nodejs-pizzapizza
https://github.com/kmacedovarela/dialogflow-nodejs-pizzapizza
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/kmacedovarela/dialogflow-nodejs-pizzapizza
- Owner: kmacedovarela
- License: apache-2.0
- Created: 2018-12-02T17:35:36.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-03T17:58:10.000Z (almost 7 years ago)
- Last Synced: 2025-03-20T07:06:18.330Z (7 months ago)
- Language: JavaScript
- Size: 17.2 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pizza Pizza - Actions on Google
# Intro
This sample is used with [Pizza Pizza JBpm project](https://github.com/kmacedovarela/jbpm-pizzapizza). Order a pizza using Google Home assistant, and a new process will be created on JBpm to evaluate the price and time according to the rules defined.
# TLDR;
1. Import the pizza-order.zip to your [Actions on Google](https://console.actions.google.com) project using "Import from Zip" option;
1. Deploy node function on firebase~~~
$ git clone git@github.com:kmacedovarela/dialogflow-nodejs-pizzapizza.git
$ cd dialogflow-nodejs-pizzapizza/functions
$ npm install -g firebase-tools
$ firebase login// select you dialogflow project f.e
$ firebase use
$ npm install
$ firebase deploy~~~
1. Go back to the Dialogflow console and select *Fulfillment* from the left navigation menu. Enable *Webhook*, set the value of *URL* to the `Function URL` from the previous step, then click *Save*.
1. Select *Integrations* from the left navigation menu and open the *Integration Settings* menu for Actions on Google.
1. Enable *Auto-preview changes* and Click *Test*. This will open the Actions on Google simulator.
1. Type `Talk to Mr. JBpm` in the simulator, or say `OK Google, talk to Mr. JBpm` to any Actions on Google enabled device signed into your developer account.For more detailed information on deployment, see the [documentation](https://developers.google.com/actions/dialogflow/deploy-fulfillment).
## References and tutorial on google action (by google)
* Actions on Google documentation: [https://developers.google.com/actions/](https://developers.google.com/actions/).
* Build Actions for the Google Assistant (Level 2): https://codelabs.developers.google.com/codelabs/actions-2/index.html