Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Predefined ESP connector components

Updated on May 30, 2022

Pega Customer Decision Hub provides ready-made connectors for the MailGun, MailJet, and SendGrid email providers. These connectors are pre-packaged as components and published on Pega Marketplace. By adding them to your application, you can leverage the provided configuration and reduce the need for custom implementation code. You can also use the infrastructure as a base to connect to other ESPs.

Available components

The following components are available on Pega Marketplace:

For information about installing the components, refer to the Installation Guides on the individual component pages.

Using ESP connectors

After you install the component, start using the connector by doing the following steps:

  1. In App Studio, click SettingsChannelsEmail.
  2. In the Account provider section, select the component, as in the following figure:
    Selecting the MailGun component
    A screenshot of the Account provider section with the MailGun component selected

Customizing the email headers

Emails delivered with the connectors have default implicit headers that are required for the webhook call-backs and for tracking the bounced and delivered events.

Sample implicit header with the MailGun component used
A screenshot of the header with the MailGun component used

You can add additional static properties to the header.

You can also configure dynamic header values by leveraging the TransformHeader data transform.

Sample dynamic header configured in the TransformHeader data transform with the MailGun component used
A screenshot of dynamic header configuration with the MailGun component used
Note: To configure the TransformHeader data transform, first save it into your implementation ruleset and class.

The following value pairs are available for use in the header:

ParameterRequired value
param.IssueBusiness issue property
param.GroupBusiness group property
param.ChannelChannel property
param.RankRank property
param.DirectionDirection property
param.OfferNameOfferName property
param.PriorityPriority property
param.EmailTreatmentTreatmentID property
param.CustomerIDCustomerID property
param.InteractionIDInteractionID property
param.CampaignIDCampaignID property
param.ProgramRunIDProgramRunID property
param.PropensityPropensity property
Sample dynamic and static header output with the MailGun component used
A screenshot of dynamic header output with the MailGun component used

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

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.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us