hello everyone welcome to my YouTube channel I'm Anuja and today I will explain how to create a data extension in Salesforce marketing cloud data extension is essential for storing and managing your customer data effectively so in this video I will walk you through the stepbystep process and this tutorial will help you utilize the power of data extension for better segmentation and targeting in your marketing campaign so let's dive in so for creating the data extension first of all click on the email Studio click on email you can also create the data extension from the contact
Builder but uh today I'm going to create this from the email studio and now here subscriber tab you can see a lot of options and just just click on the data extension and now here you can create your folder for the data extension so if you have organized your data extension into folder for better management you can select the appropriate folder to place your new data extension so I have already created one folder and in this folder I'm going to create my data extension now click on the create tab in the top right corner and
now here you will see see the three options so first is standard data extension filter data extension and random data extension so standard data extension are used for building a custom set of fields this can be used for various purposes such as storing subscriber Data Tracking interactions and managing campaign data they offers standard features like in defining Fields setting primary keys and configuring extension properties and filter data extension filter data extensions are used to create a subset from an existing data extension filter data extension are linked to a source data extension and automatically include or
exclude records based on the defined filter criteria so this type of data extension is used for targeting a specific subset of your audience or segmenting data based on the certain attribute or behaviors and next is the random data extension so a random data extension splits up subscribers from selected standard data extension and place the subscriber into the new extension in marketing cloud email studio so this type of data extension is useful for scenario where you want to perform a random sampling or testing on a subset of your data so for example you might use a
random data extension to select a random sample of customers for survey or to test the effectiveness of different marketing messages on a small segment of your audience so I'm going to select the standard data extension and then click okay and here in the creation method you can choose whether you want to create a data extension from the new create from an existing or create from a the template so I'm creating the new data extension so I will choose the create from new and for the name give a name to your data extension from the name
Fe I will give it the My First Data extension and external key external key is a uniquely identifies the data extension using an API call so right now I'm not giving any external key and for the description you can describe your data ex extension it is best practice to give a description for your data data extension and type is standard and in the location this is the location folder what I have chosen you can also change the location of your data extension by clicking this and here you can also change this and next you can
see the two options is sendable and is testable so is sendable is the check box which determines whether the data extension is available to use a part of Sands by enabling is sandable you indicate that the data extension contains subscriber data that can receive email communication so I'm going to check this checkbox and now is testable so so this setting determines whether the data extension can be used for testing purpose such as sending test emails or performing test interactions within the journey Builder so enabling is testable allows you to create the data extension for sending
test email to verify the content layout and functionality before sending to the actual audience so I will take this one also and click next so here are the retention settings this setting Define how long data records remain in the data extension before they are automatically deleted from the system so the default retention period for data extension in Salesforce marketing cloud is 6 months but you can select a period ranging from one day to Forever the system Auto automatically deletes the data or older than the specific date for example if a record has a 180 days
retention period so it will be removed after 180 days even if the record is updated so here are three options available first is individual record all records and data extension and all so for the individual record so when this option is selected each individual records retention period starts from the time it is added to the data extension for example if the retention period is set to 90 days and a record is added to data extension today so it will be deleted automatically after 90 days from today's date if I select records and data extension so
the retention period applies to both the data extension and to all the individual record stored insides so when this option is selected the retention periods of the data extension starts from the time it is created or last modified and it applies all all the records within data extension and next is all records so all records option in the retention setting deletes all the records inside a data extension but keep the data extension it itself when all records is selected it means that each record in the data ex extension will have its own retention period independent
for the other records so I'm selecting individual records and the period is uh let's say 6 days so I will keep this off this it was only for the demonstration and click next so here in this section there are some details where which I will have to fill so for the name I'm going to type uh the customer ID and in data type there are text number date and location Etc so text can be used here for the Tex and also for the number and number is for number date is for date Boolean is for
true and false and email address is for email address phone is for phone number and also text decimal and local so for cust ID I will choose text length would be 50 it is the default length so in the in the second column I will type first name data type is text next is last name data type is text and length would be 100 for both first name and last name and next is email for email data type would be email address and its length is by default 254 next is country data type would be
text and next is email oped and data type would be bullan and next is uh date created data type would be date so here there is an option primary key and nullable and default value so for primary key primary key uniquely identifies is record stored in the data extension it ensures that each record in the data extension is unique based on the value of the primary key field so I will make the primary key to the customer ID and nullable if you want to leave the field as a blank so you can take the nullable
option it means this field won't be required field and in the sand relation SE so I will select the customer ID as the subscriber key and click on the create button and that's it we have created our data extension so by following these steps and understanding the various options available you can create a data extension like this so that's all for now stay tuned for more tutorial and tips and enhance your Salesforce marketing skills thanks for watching