Change string to HTML in flow designer.

Samiksha2
Mega Sage

Hi All,

I am using Flow designer to create the Request through email.

I have created two variables:

Short description- Single text line

Description- HTML.

Samiksha2_0-1693288939085.png

Samiksha2_1-1693289054203.png

For Short description I have added Subject Line and for Description Body Text. But the value is coming as string. How to change that to HTML because users will send images as well in the body. I am not finding script option also in the flow designer
There is a syntax in inbound action "email.body_html". But how to use this in Flow Designer. Or can we change the String to HTML using Business Rule on update.

 

Please help in this.

 

Thanks,

Samiksha

 

 

10 REPLIES 10

newhand
Mega Sage

@Samiksha2 

You can use the script to build your email body.

In the script ,just return the html based Description .

 

The button for writing  script is  on the right side of the eamil body input area.
※For unknow reason, i can't post a pic ....

 

 

 

 

 

Please mark my answer as correct and helpful based on Impact.

Hi @newhand 

How to write the script. Script button is not visible for the variable.

@Samiksha2 
refer this :  Here 

It is called  "inline script"

 

If you only want to set the Description field to the email body without any other texts,
just  write like this:    return fd_data.[the path to description].description;

 

 

Please mark my answer as correct and helpful based on Impact.

hi @newhand ,

For variables script button is not displaying.

Samiksha2_0-1693302158120.png