Regarding payload format in flow designer

Sindhu P
Tera Contributor

How to get payload in pretty format when we are using a notification step in flow designer instead of raw format 

 

pretty format:

{

"key":"value",

"key2":"value2"

}

I am receiving in below format while sending a notification:

 

{"key":"value","key2":"value2"}

1 REPLY 1

Maik Skoddow
Tera Patron
Tera Patron

MaikSkoddow_0-1717752810852.png

 

With JSON.stringify(objPayload, null, 4) you get a pretty output in plaintext format.

However this format will remain in an HTML email. Therefore, you have to translate some plain characters like line breaks and empty chars into the respective HTML codes