How to generate elements for chat interface

Hello everyone, I am new to bubble but I just had a doubt on how to implement the following.

So basically I am creating a chat interface to interact with a sort of chatbot. What I have is a text input and a send button and some blank space above it to display the chats. When user types something in the input and presses the send button I should hit a post request, and in a response I get a json only one parameter message. I want to display both the message that I sent and the response that I got in the form of chat bubbles in the blank space.

How can I dynamically generate the bubbles as soon as I get the API response ?
I know repeating groups has to be used, but anyone who can explain to me how can I achieve this ?

Thanks in advance.

Hi @assistifai . You can create your own data types and connect setup bubble webhooks to receive any update .
Based on that your chat will be real time as needed.

This topic was automatically closed after 70 days. New replies are no longer allowed.