Regarding payload format in flow designer
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2024 01:55 AM
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2024 02:35 AM
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