If you're considering a headless CMS for storing and updating the sequence of bot messages, I recommend checking out this article on Headless CMS: Future, Benefits, and Flexibility. It explains how headless CMS platforms can help manage dynamic content and deliver it to different channels like websites, apps, and bots.
For your use case, headless CMS systems like Strapi, Contentful, or Sanity might be great options, allowing you to store structured messages and easily update them without redeveloping the website. You can combine them with Firebase for handling real-time updates if needed.