How to setup dynamic callbacks and store them as JSON?

I am creating a chatbot interface, and I want to include a feature where the bot’s replies have a “Give Feedback” button. When a user clicks on this button, it should open a feedback form that allows them to submit feedback. My challenge is how to implement this dynamic callback feature. Do you have any suggestions or tips for how to achieve this?

hi @Ananthzeke, this might be helpful: