Skip to main content

Creating internal email treatments

Internal email treatments are created within Pega Customer Decision Hub. The email accounts used to initiate email sending are also configured in Pega Customer Decision Hub.

Internal email treatments can be designed and personalized in Pega or in an external tool.

Email content design and personalization in Pega

Transcript

This demo shows you how to create an internal email treatment and send emails using Pega to present offer details in an email.

U+, a retail bank, wants to promote their Rewards credit card via email. They want to send the email to qualified customers in an always-on outbound environment.

The email is personalized and contains the offer details and a call to action. When customers click the APPLY TODAY call to action in the email, they are directed to the credit cards page on the bank's website to learn more about the offer and apply for it if interested.

S

This is Pega Customer Decision Hub™ portal. To send emails in an always-on outbound environment, you need to add an email treatment to every action that you want to promote through email. An email treatment contains the message that you want to communicate to customers.

In this case, you create and add an email treatment to the Rewards card. Open the Rewards card to add new treatments to the action.

You can manage treatments associated with an action on the Treatments tab. To associate a treatment with an action, click Add channel.

A

You can use an existing email treatment or create a new one. In this case, you want to create a new internal email treatment.

C

Now, enter an appropriate short description to create the new treatment. It is a best practice to create the treatment in the same issue/group hierarchy in which you plan to use it; this will make the treatment easier to access and manage.

C

Then, enter the email content.

Edit email treatment

First, enter the email subject. You can include both static text and dynamic placeholders in the subject.

To access dynamic placeholders, start typing dot followed by Customer to access customer properties or OfferData to access action properties.

Dynamic placeholders allow you to personalize the subject. You can construct the placeholders with both customer and offer attribute properties.

At runtime, the properties are replaced with the real values. For example, if the customer's first name is Stephen, the generated subject line reads: Hi Stephen, here's your U+ Bank card.

Then, in the Details tab, enter an appropriate keycode. When the Track Email Open Rate option is enabled, the system records an impression when a customer opens an email.

In the Content tab, you can design the email using one of the three edit modes: Simple Rich Text Editor, Source Only, and Templated Email.

E

The Simple Rich Text Editor provides a blank page with a rich text editor, which allows you to compose an email manually.

The Source Only mode allows you to work with HTML content only. If the content is designed in an external tool, you can copy and paste the HTML content in this mode.

The Templated Email mode provides you with several easy-to-use templates for designing appealing emails; this is also the default mode.

These are the available template options.

E

In this case, you use the default Simple One Column template.

The Simple One Column template contains four sections: Preheader, Header, Body, and Footer.

S

The Preheader section can contain a short data teaser for inbox that is intended to persuade customers to read the email further. This text is hidden on a mobile device.

The Header section can contain the organization's logo.

The Body section contains a placeholder for a title, image, text, or buttons as required. This section is where the main content goes.

The Footer section can contain contact details or links, if any.

When you click on the different placeholders or sections in the template, an editing pane is displayed on the right side of the screen.

E

This editor also allows you to copy and paste HTML content from other tools using the HTML tab.

Email treatment HTML editor

For example, here is how you can create an HTML version of the U+ Bank logo by using HTML code.

While composing the section, you can see the preview on the left.

A

You can also add a title to the email.

To add an image, you can open the image placeholder, which opens the Image Properties.

A

In the Image Properties, you can reference an image from a content server.

I

It is best practice to host an image on an external server and reference it in the email. Do not embed images directly in the email, as it makes the email bulky.

In the email content, you can add static content and dynamic placeholders to personalize the message.

For example, the property .Customer.FullName can be added as a placeholder. The customer's real full name will replace the placeholder at the time of email delivery.

C

To add a customer or offer attribute as a dynamic placeholder, use the Insert Property button.

I
Property parameters

Any property that you add in an email treatment has an equivalent Pega markup tag (pega:reference) to reference customer or offer attributes. After you insert the property, you can view the tag (which is automatically added) in the HTML tab. When you design the email in an external application, you can use these tags to add dynamic placeholders, so the personalization works when you import the HTML into the email treatment.

P

Note that to add an offer attribute, you can add a dynamic placeholder, which is then replaced with the offer attribute at the time of email delivery. For example, you can use <<.OfferData.pyLabel>> to reference the offer attribute.

In this case, you may want to replace U+ Bank card names with an offer attribute by using the <<.OfferData.pyLabel>> placeholder.

You can also add links or buttons that the customer can click to respond to an offer or view more details. In this case, you add an APPLY TODAY call to action button.

I

In the Button Parameters, the Function drop-down menu lists the possible functions that you can assign to a button.

B

Now, select Open external URL and provide an external URL that opens when the customer clicks the button. Then, provide the button image URL.

A

A composed email looks like this.

E

Now, save the treatment and add it to the Rewards card action.

You can send the email to test accounts or to yourself to test the visualization and rendering of the content on various email clients.

To test the treatment, switch to the Test email tab. In this tab, you can specify the target email addresses and the email subject specifically for the test.

t

To test the treatment, click Send test email. Once the test is complete, you can check the emails in the email client.

T

Note that none of the attribute placeholders are populated when you manually enter the recipients' email address. However, you can test the functionality of the buttons and links.

Customer property not rendered

To populate the attribute placeholders, you can use a seed list as test input.

test email treatment with seed list

A seed list contains test customer data. It contains values for customer attributes, including email addresses.

When using a seed list to test the Treatment, the dynamic placeholders are replaced with customer information from the seed list.

Note that the customer name placeholder is replaced with the data from the seed list.

Customer property rendered in email

This demo has concluded. What did it show you?

  • How to add an email treatment to an action
  • How to use dynamic placeholders to populate the customer and offer attributes in an email treatment
  • How to use HTML code to generate content in an email treatment
  • How to use an image from an external server in an email treatment
  • How to add a button to an email treatment
  • How to send emails to test accounts to test the visualization and rendering of the email content
  • How to use seed lists to test the dynamic placeholders

Email content design and personalization in an external tool

Transcript

This demo shows you how to personalize email content that you create in an external tool and use an SMTP server to send emails from Pega Customer Decision Hub.

Pega Customer Decision Hub comes with the capabilities to create and personalize email content to present offers to customers. However, your organization can use an external tool, such as Dreamweaver, to design and customize email content based on your requirements.

In this example, you will learn how to personalize an email treatment in an external tool and use an SMTP server to send emails from Pega Customer Decision Hub™.

This is the email treatment that was designed in an external tool and the corresponding HTML code.

E

 

When you design email in an external tool, you can use Pega markup tags to add dynamic placeholders so that your personalizations work when you import the HTML into Pega Customer Decision Hub. In this example, the Pega:reference markup tag refers to a customer property, Customer FullName.

P

After completing the email treatment design and personalization, you can create a new internal email treatment for an action, and then load the email content that you designed externally into that treatment. Now, save the treatment and add it to the action.

You can send the email to test accounts or to yourself to test the visualization and rendering of the content on various email clients. Check the email in the email client. Note that the data from the seed list replaces the customer name placeholder.

You have reached the end of this demo. What did it show you?

  • How to reference Pega Platform properties in email content that you design in an external tool.
  • How to import email content from an external tool into Pega Customer Decision Hub.

This Topic is available in the following Modules:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice