This Action on Google project is about Voice based Grievance Redressal. Ms. Dyna, grievance assistant asks the user to register the complaint along with the mobile number.
- Node.js and NPM
- Install Firebase CLI
- We recommend using version 6.5.0,
npm install -g firebase tools@6.5.0
- Run
firebase login
with your google account
- We recommend using version 6.5.0,
- From the Actions on Google Console, New project > Create project > under More options > Conversational
- From the top menu under Develop > Actions (left nav) > Add your first action > Custon Intent > BUILD (this will bring you to the Dialogflow console) > Select language and time zone > CREATE.
- In the Dialogflow console, go to Settings ⚙ > Export and Import > Restore from zip using the GrievanceRedressal.zip in this sample's directory. > Type 'RESTORE' > Restore
- To get the base files for this project, run the following command to clone the GitHub repository
git clone https://github.com/MauryaSrishti/grievance-redressal-syst-50e4d.git
- On your local machine, in the functions directory, run
npm install
- Run
firebase deploy --project {PROJECT_ID}
to deploy the function - To find your Project ID: In Dialogflow console under Settings ⚙ > General tab > Project ID.
- Go to Firebase Console > Select the action project from the list > Navigate to Develop > Functions
- Under the Dashboard tab, you should see an entry for "dialogflowFirebaseFulfillment" with a URL under Trigger. Copy this URL.
- Return to the Dialogflow Console> select Fulfillment > Enable Webhook > Paste the URL you copied from the Firebase dashboard if it doesn't already appear. > SAVE.
- From the left navigation menu, click Integrations > Integration Settings under Google Assistant > Enable Auto-preview changes > Test to open the Actions on Google simulator then say or type Talk to my test app.
- You can test your Action on any Google Assistant-enabled device on which the Assistant is signed into the same account used to create this project. Just say or type, “OK Google, talk to my test app”.
- Actions on Google Documentation
- Actions on Google Codelabs
See LICENSE here.
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].(https://developers.google.com/terms/)