User Data Schema Creator
The CRM Schema Creator is a tool that enables you to create or modify a user data schema quickly and easily. The JSON schema is used to sync user data to Dynamic Yield (see User Data Enrichment on our Support site).
DY Labs tools complement the Dynamic Yield offering, but have not been subjected to the same level of testing, and are therefore not officially supported.
Creating a new schema
Open the User Data Schema Creator, and do the following:
- Click Start from Scratch.
The build page appears. - Fill in the following values:
- Column name in your CRM source.
- Condition name in Dynamic Yield.
- Condition Type: Select a condition type from the dropdown menu.
- Possible values in your CRM (available for dropdown, dropdown array, true/false, and bucket condition types. Note that bucket values are ranges of whole numbers).
- How they appear in the audience conditions (available for dropdown, dropdown array, true/false, and bucket condition types).
- Click Add Condition.
Every time you click Add Condition, the schema code is updated in the schema result box. - Copy the schema code from the Your Schema area and paste it into the User Data sync settings. ADD LINK TO SECTION
Modifying an existing schema
- In your User Data feed, go to Settings and copy the schema code.
- In the User Data Schema Creator, click Change an Existing Schema.
- Paste the existing schema in the box, and then click Import Schema.
The fields of the schema generator are filled according to the schema. - Edit, remove, or add conditions as needed.
- Copy the schema code from the Your Schema area and paste it into the User Data feed settings.
Applying the schema in the User Data sync settings
- Click Copy to clipboard to copy the schema code.
- Go to the User Data feed settings, and paste the schema into the Data Schema area.
image.png - Ensure that the identifier is the correct type. The default is he (hashed email). Change this value only if you want to use a different CUID type.
- Do one of the following:
- Save as a draft if you might need to apply further changes.
- Save and activate to go live.
Notes
- The identifier column in the User Data feed is not part of the schema code, so there is no need to add it in the tool.
- The code is updated to reflect the current input every time Add Condition or Remove is clicked .
Updated about 1 month ago