API Triggered Journey DE can't store the value of encrypted field in encrypted format
Trailblazer Community

API Triggered Journey DE can't store the value of encrypted field in encrypted format

Marketing Cloud Journey Builder

Last updated 2020-05-27 ·Reference W-5985424 ·Reported By 1 users

In Review

Summary
When using the /interaction/v1/events route, the data added to the Data Extension is stored in plain text.

Repro
-Go to Contact Builder Data Extensions
-Create a DE called APIEvent
-Created 3 fields, Subscriberkey, EmailAddress (encrypted email), FirstName (Encrypted Text)
-Make it sendable
-Go to Journey Builder > Create Multi Step
-Drag API Event onto the canvas and use the above DE
-Configure it without a filter and save
-Drag a random split onto the canvas and configure it
-Save journey settings
-Activate Journey
-Grab API Key for use later
-In Postman or SOAPUI run the below

https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-apis.meta/mc-apis/postEvent.htm

https://{{YOUR_SUBDOMAIN}}.rest.marketingcloudapis.com/interaction/v1/events

{
"ContactKey": "contactkeyvalue",
"EventDefinitionKey":"APIEvent-f2359cf6-4b6c-60c5-dfc2-4852906cb6c8",
"Data": {
"Subscriberkey":"subscriberkeyvalue",
"EmailAddress":"Example@salesforce.com",
"FirstName":"Firstnamevalue"
}
}

Note the contact gets injected into the journey but the values are added to the DE as plain text.

Workaround
Add the data to the Encrypted Data Extensions using a supported Import method and use the Data Extension Entry Event.

Reported By (1)

Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.