InBox > Integrating with Epsilon Agility | Harmony

Integrating with Epsilon Agility | Harmony

Epsilon Agility | Harmony supports send time personalization

The Customer Key in Epsilon Agility Harmony should be used for mapping.

${Profile.CustomerKey!}

Use the IncludeExternalContent API call to request content from OneSpot.

[@includeExternalContent Url=””] DEFAULT HTML CONTENT HERE [/@includeExternalContent]

The URL value is the URL to the OneSpot Inbox endpoint and will include several parameters. The exact URL will be produced by the InBox Wizard or supplied to you by your Customer Success Manager.

Some of the parameters include:

  • QUERY_STRING
  • CONTENT_URLS
  • FILTER_STRING
  • RECOMMENDATION_UNIT_ID
  • BATCH_ID
  • MESSAGE_ID
  • EMAIL_HASH
  • AUTH_TOKEN
When the API call fails the default content will be loaded in its place.
Sample includeExternalContent Call
[#assign fm_email_hash]${Profile.CustomerKey!'1234'}[/#assign]
[#assign Feature_Query]GRILLING[/#assign]
[#assign Hero_URL]http://www.wholefoodsmarket.com/blog/five-nutrition-pros-dish-their-top-tailgating-picks[/#assign]

[@includeExternalContent Url='https://inbox.onespot.com/recommend?AUTH_TOKEN=Mk8Zudl7t5WDSKA8oGuQOTwonx8Aiju2&QUERY_STRING=${Feature_Query}&CONTENT_URLS=${Hero_URL}&RECOMMENDATION_UNIT_ID=16&BATCH_ID=${deploymentName!"def_depname"}&MESSAGE_ID=${commID!"def_commid"}&EMAIL_HASH=${fm_email_hash}']  [/@includeExternalContent]