I’m hungry, but I can’t decide — A small chatbot based upon Contenta CMS

Daniel Wehner
Jul 14, 2017 · 1 min read

Having a good content model enables a lot of usecases you can’t achieve on non structured content sites.

One example I’ve been working on is a chatbot.


A chatbot suggesting something to cook

That chatbot allows a user to ask for the following:

  • A recipe (this stores the current recipe in the conversation context)
  • The ingredients of the current recipe
  • Instructions of the current recipe

This chatbot was built with and is based on simple string matching. There are many other frameworks available for chatbots, with more advanced ones based on machine learning, and all of them enable you to forget about implementation details and create a bot that works for all kinds of different messaging apps (Twitter, Facebook, etc.)

The code is available here:


Structured content enables interesting uses in multi-consumer platforms. Have a play with and the bot, and please leave us any feedback on #contenta or .

We would love to collaborate with people who have experience with building real-world chatbots, if that’s you then please get in touch!

Stay happy :)

Thanks to Sally Young and Mateu Aguiló Bosch.

Daniel Wehner

Written by

Wannabe scientist