Share feedback, ideas and get community help

Updated 5 months ago

Hello,I would like to know if it's possible to break lines in Typebot?

At a glance

The community member is asking if it's possible to break lines in Typebot when generating text using an AI, so that the text is sent to the user in a sequential, real-time chat-like manner (e.g., first message, second message, third message) instead of all at once. The comments suggest that this can be achieved by getting the response from the LLM, splitting the text into separate parts, and using multiple text bubbles to display the parts sequentially.

Hello,
I would like to know if it's possible to break lines in Typebot?For example, when generating text using an AI, it would be sent to the user with line breaks, like we do when chatting via SMS or Messenger.

Example:Text generated by the LLM:"Hello, how are you? Welcome to our store. My name is Maykon, and I am here to help you."

How I want it to appear to the user:
First message: "Hello, how are you?"
Second message: "Welcome to our store."
Third message: "My name is Maykon, and I am here to help you."

I want the message to be split into parts and sent sequentially, similar to a real-time chat conversation.

Thank you
W
a
2 comments
You can add separate text bubbles one after the other...
first get response from LLM and save it in a variable.
next split the text saved in variable using some logic and use multiple text bubbles to print that.
Add a reply
Sign up and join the conversation on Discord