3.8.1 Setting up your relational data foundation

Login to Adobe Journey Optimizer by going to https://experience.adobe.com. Click Journey Optimizer.

AJO OC

You’ll be redirected to the Home view in Journey Optimizer. First, make sure you’re using the correct sandbox. The sandbox to use is called --aepSandboxName--.

AJO OC

3.8.1.1 Relational-based schema setup

A relational-based schema is the formal definition of the model-based data model.

It specifies:

  • The set of tables
  • The columns in each table
  • The constraints
  • The relationships across tables

Organizing schemas or tables in a model-based data model is about structuring your data into multiple tables. Ensure each table stores one type of entity/schemas.

When ingesting data into for usage with Adobe Journey Optimizer Orchestrated Campaigns, the following sources are available:

  • Amazon S3
  • Google Cloud Storage
  • SFTP
  • Snowflake
  • Google BigQuery
  • Data Landing Zone
  • Azure Databricks
  • Local File Upload

The first step in this exercise is the configuration of your relational-based XDM schemas. In the left menu, scroll down to Data Management and select Schemas. Click + Create schema.

AJO OC

Select Relational.

AJO OC

Select Upload DDL file and then click Choose files.

AJO OC

Download the file citisignal_ddl_tables_only.sql to your desktop.

AJO OC

Select the file citisignal_ddl_tables_only.sql and click open.

AJO OC

You should then see this. Click Next.

AJO OC

Identity

Some of your schemas contain personal identifiers and those fields shuold be marked as Identity, and you need to select the Namespace that is applicable to that specific type of identity.

citisignal_accounts

For this schema, go to the field account_id and set the Identity type to Demo System - CRMID.

AJO OC

citisignal_recipients

For this schema, go to the field account_id and set the Identity type to Demo System - CRMID and go to the field email and set the Identity type to Email.

AJO OC

Versioning

In order to keep track of updates to the data that will be ingested against these schemas, it is required to set a field that will be used to keep track of the version of the uploaded data. The field that is used for this in all these schemas is the field lastmodified, which contains a timestamp of the uploaded data.

You now need to check the checkbox for Versioning for the field lastmodified in each of these schemas.

citisignal_products

Check the checkbox for Versioning for the field lastmodified.

AJO OC

citisignal_product_bundles

Check the checkbox for Versioning for the field lastmodified.

AJO OC

citisignal_product_relationships

Check the checkbox for Versioning for the field lastmodified.

AJO OC

citisignal_accounts

Check the checkbox for Versioning for the field lastmodified.

AJO OC

citisignal_recipients

Check the checkbox for Versioning for the field lastmodified.

AJO OC

citisignal_mobile_subscriptions

Check the checkbox for Versioning for the field lastmodified.

AJO OC

citisignal_internet_subscriptions

Check the checkbox for Versioning for the field lastmodified.

AJO OC

citisignal_tv_subscriptions

Check the checkbox for Versioning for the field lastmodified.

AJO OC

citisignal_equipment_subscriptions

Check the checkbox for Versioning for the field lastmodified.

AJO OC

citisignal_mobile_usage_summary

Check the checkbox for Versioning for the field lastmodified.

AJO OC

citisignal_internet_usage_summary

Check the checkbox for Versioning for the field lastmodified.

AJO OC

citisignal_offers

Check the checkbox for Versioning for the field lastmodified.

AJO OC

citisignal_offer_eligibility

Check the checkbox for Versioning for the field lastmodified.

AJO OC

Schema name

WHen ingesting these schemas for enablement purposes in a shared sandbox, it is required to change the name of each schema so that it’s unique in that specific sandbox. The reason for making this change is to avoid schema naming conflicts.

For this lab, you should add your LDAP in front of each schema name, which means that every schema name should have this prefix: --aepUserLdap--_

citisignal_products

Change the name of your schema to--aepUserLdap--_ citisignal_products.

AJO OC

citisignal_product_bundles

Change the name of your schema to--aepUserLdap--_ citisignal_product_bundles.

AJO OC

citisignal_product_relationships

Change the name of your schema to--aepUserLdap--_ citisignal_product_relationships.

AJO OC

citisignal_accounts

Change the name of your schema to--aepUserLdap--_ citisignal_accounts.

AJO OC

citisignal_recipients

Change the name of your schema to--aepUserLdap--_ citisignal_recipients.

AJO OC

citisignal_mobile_subscriptions

Change the name of your schema to--aepUserLdap--_ citisignal_mobile_subscriptions.

AJO OC

citisignal_internet_subscriptions

Change the name of your schema to--aepUserLdap--_ citisignal_internet_subscriptions.

AJO OC

citisignal_tv_subscriptions

Change the name of your schema to--aepUserLdap--_ citisignal_internet_subscriptions.

AJO OC

citisignal_equipment_subscriptions

Change the name of your schema to--aepUserLdap--_ citisignal_equipment_subscriptions.

AJO OC

citisignal_mobile_usage_summary

Change the name of your schema to--aepUserLdap--_ citisignal_mobile_usage_summary.

AJO OC

citisignal_internet_usage_summary

Change the name of your schema to--aepUserLdap--_ citisignal_internet_usage_summary.

AJO OC

citisignal_offers

Change the name of your schema to--aepUserLdap--_ citisignal_offers.

AJO OC

citisignal_offer_eligibility

Change the name of your schema to--aepUserLdap--_ citisignal_offer_eligibility.

AJO OC

Your schemas are now ready to be saved. Click Done.

AJO OC

You should then see this. Click Save.

AJO OC

Click Open jobs.

AJO OC

You should then see this. You should wait until the job completes successfully before continuing to the next step.

AJO OC

Once the job completes successfully, you can continue with the next step. This may take 5-10 minutes.

AJO OC

Now that your relational XDM schemas are configured and with data being ingested, you can start to use that data to create your orchestrated campaign in the next exercise.

3.8.1.2 Data ingestion

Go to Datasets. You should then see a dataset that was created for each schema that you created.

AJO OC

Download the file data.zip to your desktop and unzip it.

AJO OC

Open the folder data. You should see a CSV file for each of the schemas that were created. You now need to upload that data into each corresponding dataset. For this lab, you will be doing that by doing a loal file upload into each dataset.

AJO OC

vangeluw_citisignal_products

Go to Sources, search for local and then click Add data under Local File Upload.

AJO OC

Enable the toggle for Enable change data capture.

Select the dataset vangeluw_citisignal_products.

Click Next.

AJO OC

Click Choose files. Select the file citisignal_products.csv and click open.

AJO OC

Click Next

AJO OC

Click Finish.

AJO OC

After a couple of minutes, you can see the data being ingested in your dataset.

AJO OC

vangeluw_citisignal_product_bundles

Go to Sources, search for local and then click Add data under Local File Upload.

AJO OC

Enable the toggle for Enable change data capture.

Select the dataset vangeluw_citisignal_product_bundles.

Click Next.

AJO OC

Click Choose files. Select the file citisignal_product_bundles.csv and click open.

AJO OC

Click Next

AJO OC

Click Finish.

AJO OC

After a couple of minutes, you can see the data being ingested in your dataset.

AJO OC

vangeluw_citisignal_product_relationships

Go to Sources, search for local and then click Add data under Local File Upload.

AJO OC

Enable the toggle for Enable change data capture.

Select the dataset vangeluw_citisignal_product_relationships.

Click Next.

AJO OC

Click Choose files. Select the file citisignal_product_relationships.csv and click open.

AJO OC

Click Next

AJO OC

Click Finish.

AJO OC

After a couple of minutes, you can see the data being ingested in your dataset.

AJO OC

vangeluw_citisignal_accounts

Go to Sources, search for local and then click Add data under Local File Upload.

AJO OC

Enable the toggle for Enable change data capture.

Select the dataset vangeluw_citisignal_accounts.

Click Next.

AJO OC

Click Choose files. Select the file citisignal_accounts.csv and click open.

AJO OC

Click Next

AJO OC

Click Finish.

AJO OC

After a couple of minutes, you can see the data being ingested in your dataset.

AJO OC

vangeluw_citisignal_recipients

Go to Sources, search for local and then click Add data under Local File Upload.

AJO OC

Enable the toggle for Enable change data capture.

Select the dataset vangeluw_citisignal_recipients.

Click Next.

AJO OC

Click Choose files. Select the file citisignal_recipients.csv and click open.

AJO OC

Click Next

AJO OC

Click Finish.

AJO OC

After a couple of minutes, you can see the data being ingested in your dataset.

AJO OC

vangeluw_citisignal_mobile_subscriptions

Go to Sources, search for local and then click Add data under Local File Upload.

AJO OC

Enable the toggle for Enable change data capture.

Select the dataset vangeluw_citisignal_mobile_subscriptions.

Click Next.

AJO OC

Click Choose files. Select the file citisignal_mobile_subscriptions.csv and click open.

AJO OC

Click Next

AJO OC

Click Finish.

AJO OC

After a couple of minutes, you can see the data being ingested in your dataset.

AJO OC

vangeluw_citisignal_internet_subscriptions

Go to Sources, search for local and then click Add data under Local File Upload.

AJO OC

Enable the toggle for Enable change data capture.

Select the dataset vangeluw_citisignal_internet_subscriptions.

Click Next.

AJO OC

Click Choose files. Select the file citisignal_internet_subscriptions.csv and click open.

AJO OC

Click Next

AJO OC

Click Finish.

AJO OC

After a couple of minutes, you can see the data being ingested in your dataset.

AJO OC

vangeluw_citisignal_tv_subscriptions

Go to Sources, search for local and then click Add data under Local File Upload.

AJO OC

Enable the toggle for Enable change data capture.

Select the dataset vangeluw_citisignal_tv_subscriptions.

Click Next.

AJO OC

Click Choose files. Select the file citisignal_tv_subscriptions.csv and click open.

AJO OC

Click Next

AJO OC

Click Finish.

AJO OC

After a couple of minutes, you can see the data being ingested in your dataset.

AJO OC

vangeluw_citisignal_equipment_subscriptions

Go to Sources, search for local and then click Add data under Local File Upload.

AJO OC

Enable the toggle for Enable change data capture.

Select the dataset vangeluw_citisignal_equipment_subscriptions.

Click Next.

AJO OC

Click Choose files. Select the file citisignal_equipment_subscriptions.csv and click open.

AJO OC

Click Next

AJO OC

Click Finish.

AJO OC

After a couple of minutes, you can see the data being ingested in your dataset.

AJO OC

vangeluw_citisignal_mobile_usage_summary

Go to Sources, search for local and then click Add data under Local File Upload.

AJO OC

Enable the toggle for Enable change data capture.

Select the dataset vangeluw_citisignal_mobile_usage_summary.

Click Next.

AJO OC

Click Choose files. Select the file citisignal_mobile_usage_summary.csv and click open.

4bbf020c-24db-4a43-b239-88fab142f02d