2020.2

Table Of Contents
Two attachments are added to the email, in different ways.
l The Return and Refund Policy PDF is stored in the template (in the Images folder). Right-
click the Email section and select Attachments to see how this is attached to the email.
l The delivery note is a dynamic attachment, based on a data field. It is attached to the
email by the Attachment script. To learn how to create dynamic attachments, see
"Dynamic attachments:creating file names based on data fields" on page519.
All scripts are listed on the Scripts pane. You can double-click to open them.
Tip
Hover over the name of a script in the Scripts pane to highlight parts of the template that
are affected by the script.
l
Some data are added to the email via simple text scripts. Such scripts search the
template in order to replace a certain text that is surrounded by @ (e.g. @First@) by the
correct data. To add a text script you just drag-and-drop data onto the template. (See:
"Variable Data" on page785.)
l
The To and Subject scripts apply to email fields. (Click Email Fields at the top of the
email to expand all email fields.) For information about this kind of scripts, see: "Email
header settings" on page510.
l Finally, there are two custom scripts:
l
The Personalize Support link script adds the order number to the 'support team'
link (which is a mailto link).
l
The Year script puts the current year in the footer.
For more information about writing custom scripts, see: "Writing your own scripts" on
page853.
The Workflow configuration
The project's Workflow configuration, Sending Email, contains just one process. It is a simple
OL Connect Email process (see "Email processes with OL Connect tasks" on page184).
To open the configuration, open Workflow, click the Workflow button, select Open and browse
to the project's Configurations\Resources folder.
Page 142