In Dialogflow -
- Create and test them within Dialogflow. Enable webhook for the intent in Dialogflow
- Set up default values (e.g. date-based intents usually set default value to ‘today’)
- Export from Dialogflow and update in the version control folder
In the Python API -
- Update the
SupportedIntents class
- Add test cases:
test_executor.py
test_intent.py
- Add handling for the new intent in (in this order):
Intent._extract_log_input()
Executor._decision_flow()
- Test
- Pass all pytests
- Deploy to test and do an integration test from Messenger
In Git repo -
- Once all tests pass, update the git repo with latest Dialogflow (unzipped) zip export
- Merge into main
Notion -
- Update the documentation on Notion’s home page. Tip: use what’s available from the “help” menu