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:

integromat scenario with 3 branches

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

Email confirmation containing the full order with attached QR code

QR code containing the Information of the order

Email confirmation containing the full order with attached QR code

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.

Spreadsheets

Check capacity

Email confirmation containing the full order with attached QR code

Order information

Email confirmation containing the full order with attached QR code

Feedback

Email confirmation containing the full order with attached QR code