How to store OpenAI threads in database?

Hi! I’d like to store “transcripts” of conversations our users are having with an Open AI assistant in our bubble database. Does anyone know how to do that? Would it be running a workflow to store messages in the database?

Any downside of doing this?

Yes simply before you make the request run action to store the message in DB. There is no downsides except for the privacy concerns, so make sure that you inform your users in advance that their personal conversation with the bot is stored.