OUTLOOK Load e-mail template function

The OUTLOOK Load e-mail template function in RPA.

Help CentreBuilding Processes

This article describes the RPA Outlook functionality to load an e-mail template.

For a full list of available functions, please read OUTLOOK functions.


Description

The OUTLOOK Load e-mail template function loads an Outlook template (.oft) or saved message (.msg) as a new e-mail draft. You can optionally override recipients and subject, and choose to send immediately.


Setting it up

To use the OUTLOOK Load e-mail template function, follow these instructions:

{{popups:rpas/add:action=outlook-mail-template}}

Once on a process map:

  1. Navigate to the process where you would like to add the OUTLOOK Load e-mail template function
  2. Click on the green button's drop-down (right side of the green button labelled "Process")
  3. On the menu that appears, click on the "+ Activity" item
  4. From here you can select the OUTLOOK Load e-mail template option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
Template file pathYesText-Full file path to the .oft or .msg template file
ToNoText-Override recipient(s)
CCNoText-Override CC recipient(s)
BCCNoText-Override BCC recipient(s)
SubjectNoText-Override the template subject line
Send immediatelyNoSwitchOffSend immediately instead of saving as draft

Output variables

This action does not produce output variables.


Errors

ErrorDescription
Outlook not openOutlook is not running
File not foundThe template file does not exist at the specified path
Invalid file formatThe file is not a valid .oft or .msg file

Tips

  • Create templates in Outlook via File > Save As > Outlook Template (.oft)
  • Use variables in the file path for dynamic template selection
  • Override fields only populate if provided; template defaults are used otherwise

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.