Createemail

This help page is for Desktop Studio. This information is also available for CXone Studio.

Creates a structured variable that is the first step in sending an email.

Additional email actions, such as Addtoaddr action and Addbody action create the smaller pieces of the email that are saved in the structured variable. The final step is to send the email with a Sendemail action action.

Technically, the Createemail creates a C# class that can be invoked within a Snippet action action.

Supported Script Types

The icon for the Email script type - a large @ symbol in a diamond.

Email

Input Properties

These properties define data that the action uses when executing.

Property

Description

Caption

Enter a short phrase that uniquely identifies this action in the script. The caption appears on the script canvas under the action icon. The default is the action name.

ContainerVar The name of the structured variable that contains all other variables. EML is the default name.
Subject The subject of the email. If a subject is not entered, the email will not be sent.
ContactID The contact IDClosed A unique numerical identifier assigned to each contact for which you want to obtain details.
OriginalVar The name of the structured variable created by a GETEMAIL action.

Result Branch Conditions

Result branch conditions allow you to create branches in your script to handle different outcomes when an action executes.

Condition

Description

Default

Path taken unless the script meets a condition that requires it to take one of the other branches. It is also taken if the action's other branches are not defined.