![Create a Microsoft Flow Microsoft Flow icon](https://kalmstrom.com/images/Microsoft/flow-icon.png)
Microsoft has recently added a new action to Flow: “Office 365 Outlook – Send an email (V2)”. It has a simple HTML editor that allows links and lists and changes in font, style and color. To use more advanced HTML in the Flow Editor, you have to add the code yourself.
A good option is to copy HTML code from an HTML editor and paste it into the Flow Editor. With the method I describe in my article, you can add for example tables and images to the body of an e-mail sent by a flow, or to the description field in a SharePoint list item. Just make sure that body code tags, for example style, are placed inside the body instead of in the head.
After pasting the HTML code into the Flow Editor, you can add the dynamic content you want to use directly in the code. The image below shows a simple table intended to be used in a SharePoint document library called "Procedures". The values for the name of the new file and its creator is added as dynamic content, while the rest of the table is hard-coded.
![kalmstrom.com tutorial on how add HTML code to e-mails sent by Microsoft Flow. Flow e-mail table](https://www.kalmstrom.com/Tips/SharePoint-Flows/images/Flow-E-mail-Formatting.png)
By Peter Kalmström
CEO and Systems Designer
kalmstrom.com Business Solutions
No comments:
Post a Comment