Create an XDM schema
In the Platform UI, use the left navigation and then select Schemas to access the Schemas workspace. Next, select Create schema, and then select Experience Event. To proceed, select Next.
Provide a name and description for your schema. Then, use the Composition panel to configure your schema attributes. Under Field groups, select Add and add the Braze Currents User Event field group. When finished, select Save.
For more information on schemas, read the guide to creating schemas in the UI.
Connect your Braze account to Experience Platform
In the Platform UI, select Sources from the left navigation to access the Sources workspace. You can select the appropriate category from the catalog on the left-hand side of your screen. Alternatively, you can find the specific source you wish to work with using the search option.
Under the Marketing Automation category, select Braze Currents, and then select Add data.
Next, upload the provided Braze Currents sample file. This file contains all possible the fields that Braze might send as part of an event.
Once your file is uploaded, you must provide your dataflow details, including information on your dataset and the schema that you are mapping to. If this is your first time connecting a Braze Currents source, then create a new dataset. Otherwise you can use any existing dataset that references the Braze schema. If creating a new dataset, use the schema that we created in the previous section.
Then, configure mapping for your data using the mapping interface.
The mapping will have the following issues that need to be resolved.
In the source data, id will be incorrectly mapped to _braze.appID. You must change the target mapping field to _id at the root level of the schema. Next, ensure that properties.is_amp is mapped to _braze.messaging.email.isAMP.
Next, delete the time to timestamp mapping, then select the add (+
) icon and then select Add calculated field. In the provided box, input time * 1000 and select Save.
Once the new calculated field is added, select Map target field next to the new source field and map it to timestamp at the root level of the schema. You should then select Validate to ensure that you have no more errors.
When finished, select Next. Use the review page to confirm the details of your dataflow and then select Finish.