web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Convert Json to a text
Power Automate
Unanswered

Convert Json to a text

(0) ShareShare
ReportReport
Posted on by

Hello everyone,

 

I'm new to Powerautomate and i need help :

after parsing json, i end up with : 

 

 
{
  "text": "<p>SN: 9xxxxx095\n| Model: M2</p>\r\n\n\r\n<p>Markt: Mxxxxuf</p>\r\n\n\r\n<p>Addresse: Listxxxxe 2\n, 73760\nOstfildern-Ruit</p>\r\n\n\r\n<p>Grund: MAINTENANCE</p>\r\n\n\r\n<p>Info: Log in (A)</p>\r\n\n\r\n<p>Seit: 35m 29s</p>\r\n\n\r\n<p>TC: <a href=\"https://www1.sssssst.com/page/installation/details?installation=77116\">https://www1.ssssssssect.com/page/installation/details?installation=swaaw</a></p>\r\n\n\r\n<p>Telnet: <a href=\"https://www1.tomraconnect.com/page/installation/remote/telnet_relay?installation=7eddd\">https://www1.tomraconnect.com/page/installation/remote/telnet_relay?installation=dessssd</a></p>"
}
 
 
i would like to have a clean text like this :
 

SN: 9xxxx95 | Model: M1

Markt: exampe

Addresse: something 2 , 73760 Ostfildern-Ruit

Grund: MAINTENANCE

Info: Log in (A)

Seit: 1h 33m 24s

TC: http://www.test.com/something

Telnet: http://www.test.com/something

 

 

 

Categories:
  • CU-18081211-6 Profile Picture
    9,272 Moderator on at

    @PXP ,

    There is a strange combination in string between carriage return char (\r\n) and new line char (\n), that's why I think that the only option you have is to eliminate all separately using something like:

    replace(replace(replace(....,'\n',''),'\r',''),'\','')

     As the remaining string is a valid HTML code, you can use it in an email body to look as you requested, but you will not manage to transform:

    <a href=\"https://www1.tomraconnect.com/page/installation/remote/telnet_relay?installation=7eddd\">https://www1.tomraconnect.com/page/installation/remote/telnet_relay?installation=dessssd</a>

    into a simple text, without a serious work.

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 430

#2
11manish Profile Picture

11manish 341 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 282

Last 30 days Overall leaderboard