Skip to content

Latest commit

聽

History

History
16 lines (10 loc) 路 956 Bytes

File metadata and controls

16 lines (10 loc) 路 956 Bytes

Bot Restaurant Template

馃啎 This template works with the new Visual Builder and the old one 馃啎

To add the product to your order, display current status and start the process again, we鈥檝e prepared a simple backend.

This example was written in Javascript and requires Node.js, but you can rewrite this code to any other server-side language you want. It鈥檚 effortless to use, but if you don鈥檛 trust me, check it yourself 馃榾 .

Here you can find an instruction how it works step by step.

Restaurant bot

Requirements:

  • Express.js - to simplify and clarify parsing the ongoing webhook request.
  • Firebase Functions - to deploy our code to a public HTTPS server.
  • Firebase Realtime Database - to store the order based on user session.