UiPath Documentation
activities
latest
false

Productivity activities

Last updated May 12, 2026

Create HTML Content

UiPath.Mail.Activities.Business.CreateHtmlContent

Description

Creates rich text documents using a WYSIWYG HTML editor that can be used throughout the automation.

Configuring the activity

In the body of the activity
  • Open Editor - Opens an editor that allows you to create rich HTML content. The toolbar at the top offers standard formatting tools that make it easier to draft HTML content.

    Data Values: You can add data values in the HTML editor by clicking Add data values in the top-right corner. Data from different sources in your automation can be stored in a data value and then used throughout your HTML content.

  • HTML Content - Click Plus on the right side of the field and then, from the menu, choose where to store the resulting HTML content:

    • Notebook - Saves the resulting HTML value in a Notebook (such as data inside a cell).
    • Copy to clipboard - Saves the resulting HTML value to clipboard.
    • Save for Later Use - Prompts to provide a name to save the resulting HTML value. The name can be changed afterwards.
    • Open in Advanced Editor- Enter a VB expression.
Properties panel

Common

  • DisplayName - The name displayed for the activity in the Designer panel.

Input

  • HTML Content Argument - The parent of the HTML Template property. This should not be manually changed as it stores all of the information generated for you when you use the HTML editor.
  • HTML Template - Document which stores the HTML template. When blank, a new template will automatically be created when you use the editor.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Output

  • HTML Content - See the options in the body of the activity.
  • Description
  • Configuring the activity

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated