Setting up a Triggered Messages campaign

Each Triggered MessagesA product that lets you send automated personalized emails via an Email Service Provider (ESP), which are initiated by the the email recipient's on-site actions. campaignPersonalization: Describes rules for sending automated personalized emails via an Email Service Provider (ESP) that are triggered by the on-site actions of the email recipient. must have an associated Email Service Provider (ESP) connection and ESP action (send mail, add to group, remove from group). Set up the ESPStands for "email service provider" connection and the ESP action once, and these can act on all of your Triggered Messages campaigns. Furthermore, each Triggered Messages campaign must have an associated Email Product RecommendationsA personalization feature that incorporates personalized product recommendations into dynamically-generated email. campaign that uses an appropriate trigger strategy. See Setting up a triggered Email Product Recommendations campaign.

Creating a new Triggered Messages campaign

Go to Triggers in your Personalization Portal account. To create a new Triggered Messages campaign, click on the New campaign tab and fill out the form as follows:

  1. Enter a name for your Triggered Messages campaign, such as Abandoned basket.
  2. Select an ESP action so that the trigger performs the desired action when it fires.
  3. Optionally, specify start and end dates for the campaign.
  4. If you have a site in Episerver with more than one language, such as a Swiss site that has French and German languages, you can set the Locale to fire triggered messages based on the locale, which sends emails in the correct language.
  5. Contact frequency appears only if you select the SendMessage ESP action. Set it to On if you want the campaign to limit the number of times a trigger can fire for each customerA site visitor who has made a purchase on your website. from this Triggered Messages campaignPersonalization: Describes rules for sending automated personalized emails via an Email Service Provider (ESP) that are triggered by the on-site actions of the email recipient.. There are no limits for the AddToGroup and RemoveFromGroup ESP actions.

    If you turn on the Contact frequency, specify the maximum number of times that the trigger can be fired for each user by this campaign per day, per week, or per month.

    In the previous screen image, the new trigger campaign specifies the following:

    If both of these criteria are satisfied, the trigger fires.

  6. Select the type of trigger this campaign should use. See Daily triggers for information.
  7. Click Save campaign when you have completed your specifications.
  8. The initial state of a newly created trigger is OFF. To activate it, go to the Campaigns overview page and click the play button play iconnext to the campaign name.

Setting up an ESP connection

Episerver must connect to the ESPStands for "email service provider"’s APIStands for "application programming interface". The API specifies how some software components should interact with each other, such as accessing a database or computer hardware, or easing the work of programming graphical user interface components. APIs often are in the form of a library that includes specifications for routines, data structures, object classes, and variables. See also: https://world.episerver.com/documentation/class-libraries/ so that when Triggered MessagesA product that lets you send automated personalized emails via an Email Service Provider (ESP), which are initiated by the the email recipient's on-site actions. is fired, Episerver can alert the ESP to perform an action.

  1. To set up the connection, go to Triggers in your Personalization Portal account.
  2. Select the New campaign tab and then click ESP connections in the top right.

    Image: Triggers tab

  3. Edit an existing connection or create a new one. To create a new connection, click Add an ESP connection. The Manage your ESP connections screen appears.

    Image: Manage your ESP connections

  4. To create a connection:
    1. Enter your API credentials for your ESP account (such as username, password, database, realm, API token).
    2. Click Test ESP connection to test the connection.
    3. Click Save ESP connection.

Setting up an ESP action

  1. To set up the action, go to Triggers in your Personalization Portal account and open a new or existing campaign.
  2. Click ESP actions. You can either edit an existing ESPStands for "email service provider" action or create a new one. Make sure it uses the connection that you require, for example, the one you created or edited in Setting up an ESP connection.

    Image: ESP Actions

  3. To create a new action, click Add an ESP action.
  4. Choose your preferred ESP action type from the available options and enter the required details (such as Group ID, List ID, Message ID, Database); the values of which are available from your ESP portal.

    These fields are dynamic and differ depending on the chosen ESP connection and the chosen ESP action type.

    Image: Add ESP Actions

    Available action types are as follows:

    Depending on the features supported by your ESP platform, some of these actions may not be available for your chosen connection.

  5. After you created your ESP action, test it and save it.

Linking to a specific basket

Episerver can integrate links from an email recommendation to a particular basket of the recipient. To enable this feature, contact customer service.

For developer information, see Link to a specific basket on Episerver World.