Chatbot for a swiss retailer that delivers deals to customer.
Backend service for this chatbot: Apometact
Introduction blog post: Introducing the first retail chatbot in Switzerland
Lessons learned blog post: Nine key learnings after building the first Swiss retail chatbot
- Understands natural language
- Displays rich elements such as cards, quick replies and images
- Implements best practice guidelines
- Translatable into different languages
- Store and retrieve content and user data from a database
- Contact dialog for human interaction
- Copy
default.jsontodevelopment.json. - Run
npm installin your cli. - Setup required services
- mLab database
- Facebook app
- Set Messenger webhook to
https://[subdomain].localtunnel.me/facebook/receive.
- Set Messenger webhook to
- Facebook page
- Connect app with page
- Dashbot.io (optional)
- Sendgrid (optional)
- api.ai
- Import
api.ai ok-chatbot.zip
- Import
- Update
development.json. - Run
npm run tunnelin a second cli. - Update tunnel script command in
package.jsonand runnpm run devin your cli. - Go to
https://www.messenger.comand start messaging with the bot.
- Copy
default.jsontoproduction.json. - Run
npm installin your cli. - Setup required services
- Heroku
- Facebook App
- Set Messenger webhook to
https://[appname].herokuapp.com/facebook/receive. - Request messenger permissions.
- Set Messenger webhook to
- Facebook Page
- Connect app with page
- Dashbot.io (optional)
- Sendgrid (optional)
- api.ai
- Import
api.ai ok-chatbot.zip
- Import
- Update
production.json. - Go to
https://www.messenger.comand start messaging with the bot.
The picture below depicts the service architecture including the backend and shows they communicate with each other.
Every message in a dialog with the bot is going through same process. This diagram shows how the services handle and process the message.


