Skip to content

mslabina/sfmc-customevent-with-transactionkey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Salesforce Marketing Cloud - Custom Event with Transaction Key

Introduction

This is a basic example for a custom entry event that allows creating unique journey results using transaction keys as mentioned in the marketing cloud documentation under Journey Settings and Create Unique Journey Results using Transaction Keys.

Setup

  1. Before this example can be used, a package containing a Journey Builder Trigger needs to be created in Salesforce Marketing Cloud App Center. A documentation for this task can be found here: Create a Marketing Cloud App.
    • Important: The trigger's "Public Extension"-setting needs to be set to "This application and other installed Applications" and the example needs to be available via HTTPS which has to be running on the default port 443.
  2. The unique key of the created Journey Builder Trigger needs to be added to config.json properties key and configurationArguments.applicationExtensionKey
  3. Optional: An icon for the custom event can be added to config.json under metaData.icon (which isn't present in the example)

Usage

  1. If the setup in App Center has been done correctly and the files are available under the specified endpoint you should be able to see "Custom Event with Transaction" under Journey Builder > Entry Sources > New Event
  2. Complete the "Properties" step in the wizard as you would for a "Contact Data"-event
  3. At the "Select DE" step you need to provide the Data Extension ID (Important: this is the unique id, not the external key or name! This id has the uuid format: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX)
  4. At the "Transaction Key" step provide the following information:
    • COLUMN NAME: The name of a column containing a unique identifer for a row in your source data extension (e.g. MyRowId).
    • DE_NAME.COLUMN_NAME: The name of the source data extension and the column name provided in the Colum Name input field separated by a dot (e.g. MyDataExtension.MyRowId).
  5. Define a contact filter if desired, but make sure "Add Transaction Key to filter" in the top right corner is enabled.
  6. Check the event summary and confirm.

Important: To make sure the transaction keys are used on evaluation of decision splits and unique results are possible, you need to select "Add Transaction Key to filter" on every split path filter expression.

Contributors

Major Contributors
Markus Slabina mslabina on Twitter mslabina on Github

License (MIT)

Copyright © 2017 Markus Slabina

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Salesforce Marketing Cloud - Custom Event with Transaction Key

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published