How to specify line breaks.(Power Automate Cloud flows)

Japanese version.

Since there is no such thing as "\n" or "vbLf," special handling is required for line feed input.

Steps

Text

Select the "variable" connector in the "Built-in".

Select the "Initialize variable" action.

Specify an arbitrary variable name in "Name," a "String" in "Type", and a newline only in "Value".

Although not visible, a single newline is specified in the "Value".

Html(E-mail)

When sending an e-mail, if you put a line break in the variable, the line will not be broken.

If this "mailBody" variable is specified in the body of the mail, line breaks are ignored.

In this case, specify a "br" tag.

---

Links

Tips.(Power Automate Cloud flows)