Examples: Transactional emails sent by IBM Watson Campaign Automation

Transactional emails are sent from the Aurora starter store when customers complete certain flows. For example, resetting a password or activating an account. These emails can be sent by IBM Watson Campaign Automation, including personalization name-value pairs, and e-Marketing spots that contain recommended content.

Option 1: Sample emails that are composed entirely in WebSphere Commerce

The following table illustrates what the IBM Watson Campaign Automation email template body might look like when the HCL Commerce JSP composes the entire HTML:
Option 1: Sample emails that are composed entirely in WebSphere Commerce
Message type IBM Watson Campaign Automation email template body
Message for a received order (order submitted)
%%BODY%%
Message for notifying the customer of an order release manifestation (order shipped)
Notification message for a canceled order (order cancel)
Message to notify approvers (approver notification)

Option 2: Sample emails that use HCL Commerce name-value pairs

The following table illustrates what the IBM Watson Campaign Automation email template body might look like when the HCL Commerce JSP creates personalization name-value pairs, which include any links, personalized tags, and e-Marketing spots:
Message type IBM Watson Campaign Automation email template body
Notification message for password reset (password reset)
Dear %%USER_NAME%%,
We have received your request to have your password reset.
Your validation code is: %%VALIDATION_CODE%%
Use the validation code in the browser where you initiated the password reset request.
Thanks,
The %%STORE_NAME%% team
User account activation by email (account activation)
Dear %%USER_NAME%%,
Thank you for registering.
Please click the link below to activate your account and login to the store.
AActivate my account
Thanks,
The %%STORE_NAME%% team

Where AActivate my account is a link that uses the %%ACTIVATION_LINK%% tag in the IBM Watson Campaign Automation template. For more information, see Creating links in the IBM Watson Campaign Automation template body.

SendGiftRegistryAnnouncementMessage (wish list notification)
Dear customer,
%%SENDER_NAME%% from e-mail address: %%SENDER_EMAIL%% has created a wish list.
%%SENDER_MESSAGE%%
To take a look, click the following link: BView Wish List
C%%EmailWishlistNotification_Content%%
Thanks,
The %%STORE_NAME%% team
Where:

Sample JSP files

Sample JSP files are available by default in HCL Commerce under the following directories:
  • WC_eardir/Stores.war/storedir/EmailTemplates
  • HCL Commerce Developerworkspace_dir\Stores\WebContent\storedir\EmailTemplates
In the Common directory:
  • SilverpopPersonalizationXml.jspf
In the Order directory:
  • SilverpopOrderCancelNotify.jsp
  • SilverpopOrderCreateNotify.jsp
  • SilverpopOrderShipmentNotify.jsp
In the User directory:
  • SilverpopAccountActivationNotify.jsp
  • SilverpopApproverNotify.jsp
  • SilverpopPasswordResetNotify.jsp
  • SilverpopWishlistCreateNotify.jsp