Transformation Configuration Setup
This pages provides instructions on what transform code should be added to a script manifest file to transform Cordial data into the Unified Notification Schema (UNS)
Overview
The Cordial data share provides data on email and SMS subscribe / unsubscribe, regular and triggered campaigns, contacts and sends / bounces / opens / clicks. The Daasity transformation code maps data from the Cordial data share into a Cordial schema and then finally into the Unified Notifications Schema (UNS)
Feature Dependencies
You must have enabled our Code Repository feature in order to both access the Daasity transformation code as well as modify a Script Manifest File enabling this code to execute
We recommend you review the Transformation Configuration section of our Help documentation to familiarize yourself with our workflow engine and script manifest files.
Script Manifest File (YML)
Upstream Transformation Dependencies
This code is dependent on the following data share being setup:
Cordial
This code block is dependent on the following upstream code blocks being implemented:
Transformation Code Requirements
This Transformation Code is for the Cordial Snowflake Data Share
To enable the data transformation from the Cordial data share into the Cordial schema and UNS, the following code must be run in a workflow:
Cordial Schema
The data from the Cordial Snowflake share includes JSON that must be de-nested in order to populate the UNS tables. The following code must be copied into your own Code Repository and modified to have the name of the data share updated. This code must be run to de-nest the data and populate the Cordial schema which is used as the source for UNS:
The Cordial Schema scripts must be modified to use the name of the Snowflake share that Cordial has created. Look for this block <'database_share_name'>
within the SQL code and replace this with the name of the database share
Unified Notification Schema
Code to populate the UNS tables:
Last updated