Insert message into mysql database

How to insert message into my database?

Hi Andrew!

Do you mean how to programmatically insert a message? Or, that you’re having an issue with your database and messages are not stored automatically?


@andrew If you want to connect to MySQL database, you can use Knex library to do so in Botpress. Using Knex you can perform all database operations in Botpress.

Please check below tutorial.