Share feedback, ideas and get community help

Updated 5 months ago

Links returning extra children text

At a glance
The community member posted about an issue they are facing when using links in a flow, where the response from the HTTP API is returning an extra children.text even though no display text was used for the link. The community members discussed the issue and provided the JSON response from the API, but there does not appear to be an explicitly marked answer. The community members could not find a way to avoid the extra text being added to the link.
Useful resources
Hi, when using links inthe flow, the response from http api is returning an extra children.text although no display text to link has been used in the link :
{ "url": "https://www.cobangu.com.br/", "type": "a", "children": [ { "type": "p", "children": [ { "text": "https://www.cobangu.com.br/" } ] } ] },
B
L
9 comments
Hmmm can you provide your text bubble schema? How can we reproduce?
Hi @Baptiste Here is it.
Here is the http api response:
{ "sessionId": "clqqulyno00fejn085dao1k8y", "typebot": { "id": "clqqtlxmg000bjo0fydptdaov", "theme": {}, "settings": { "general": { "isBrandingEnabled": true } } }, "messages": [ { "id": "tunxan2yacqq8gw95i80j2di", "type": "text", "content": { "richText": [ { "type": "p", "children": [ { "text": "this is a link " }, { "url": "www.cobangu.com.br", "type": "a", "children": [ { "type": "p", "children": [ { "text": "www.cobangu.com.br" } ] } ] }, { "text": "" } ] } ] } } ] }
Indeed, I'm not sure how to avoid that. But since it is empty you can ignore it I guess!
No, @Baptiste , It is not empty
{
"text": "this is a link "
},
But you want that text, that's what preceeds the link!
Yes, But I didn´t fill that text. I put no text in display link, but it allways fill the display link equal to url link. I need no display link. Only the link url. Please, see the json flow attached above.
That's how it works. Can't really change that behavior 🙏
Add a reply
Sign up and join the conversation on Discord