Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/d8ahazard/dialogtools
A suite of utilities for manipulating DialogFlow Agents
https://github.com/d8ahazard/dialogtools
agent alexa alexa-json dialogflow language php translate
Last synced: about 2 months ago
JSON representation
A suite of utilities for manipulating DialogFlow Agents
- Host: GitHub
- URL: https://github.com/d8ahazard/dialogtools
- Owner: d8ahazard
- Created: 2018-05-09T20:11:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-06-01T21:34:51.000Z (over 6 years ago)
- Last Synced: 2024-10-15T08:11:34.815Z (3 months ago)
- Topics: agent, alexa, alexa-json, dialogflow, language, php, translate
- Language: PHP
- Homepage:
- Size: 1.03 MB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DialogFlow2Alexa
A simple PHP script to convert an exported DialogFlow project to Alexa JSON.Instructions:
Export your project from dialogFlow, either using settings->Export (recommended), or integrations->alexa->export for alexa.
Download this project on a webserver that supports php, or head over to https://phlexchat.com/convert for a version I'm hosting for you.
On the page that loads, upload your .zip file in the appropriate form.
If using the "Export For Alexa" method, enter your Project's invocation name.
If using an agent export, select the language from the dropdown. (This has only been tested with US English)
Click the respective "upload" button.
Copy the returned JSON (Hover over the box for a button).
Paste into the JSON editor for your skill, completely replacing anything that's there.
Click "Save Project" and then "Build Project".
Correct any issues that are reported. (Hey man, nobody's perfect)
...profit!!
# Notes
This has only been written for a single-language project currently, I will have to add support for multiple locales after I add it to my own agent.