Integromat - DigiBP/DigiBP-SIMME GitHub Wiki
Scenario
Integromat is used to handle the different scenarios according to the flow of the Chatbot (Dialogflow).
Following Scenario was set up:
There are three different routes according to the Dialogflow intents
1 - Restaurant and time
If the users enters a desired restaurant and time ("Simme 14:00"), This intent will create an order entry in a spreadsheet that keeps track of all orders that have been done at a certain time. A capacity check is in the excel sheet (checking for exact time only), but it is not integrated into Dialogflow yet.
2 - Confirm order
As soon as the user has entered a restaurant, time and a menu and finally confirms it, this arm of the scenario gets executed. The finalized order will be kept in a google sheet containing all orders. As a next step a QR code containing the order information is generated and sent to the customer per email.
Email confirmation
QR code containing the Information of the order
3 - Feedback
If a user wished to leave any feedback, he can do so by entering "Feedback 'restaurantName' '1-10'" The feedback is stored in another spreadsheet, making it able to calculate averages for restaurants etc. The information in the sheet can be used to add further intents to the Dialogflow querying for restaurants with a certain average score and more.