Displaying values correctly from Json array // bot dialog

Hi @dtorres265

Welcome to the Freshworks developer community!

Can you check if the API response itself returns data inside brackets?

To remove brackets from your data you can use data.replace(/[\[\]]+/g, '');

Hope this helps.

Regards,
Mughela Chandresh

1 Like