Node-1st-gen/assistant-say-number/README.md
This sample shows how to create an action for the Google Home/Assistant using the Actions SDK hosted on Cloud Functions. The sample action asks users to say a number and reads out the ordinal of that number.
e.g. If the user says "Twelve" the action will say "The ordinal of twelve is twelfth".
Further reading:
See file functions/index.js for the code.
Handling the Google Actions requests is done using the Google Actions SDK.
The dependencies are listed in functions/package.json.
To test this sample action:
firebase use --add and select your project.firebase deployaction.json file, update the two <YOUR_PROJECT_ID> placeholders with your Firebase project ID. The URL should match the Function URL (sayNumber): that was printed out by firebase deploy.gaction CLIgactions preview action.json