Create a segment of all the records from a specific dataset or batch import | Community
Skip to main content
Manoj_Kumar
Community Advisor
Community Advisor
March 23, 2023
Solved

Create a segment of all the records from a specific dataset or batch import

  • March 23, 2023
  • 4 replies
  • 1599 views

Hello All,

 

I am importing some audiences from a SFTP location and storing them in a profile-enabled dataset.

 

Now, How can I create a segment for this audience in AEP?

 

I tried creating a segment on batch Id condition, but it does not work.

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Manoj_Kumar

Hello @anil_umachigi @nereddy @irohitshukla 

 

Here is how I achieved this without changing the schema structure. I uploaded the data to the experience event schema and created a dummy event against the identities from the CSV file.

 

Now this dummy event can be used in segment builder to create the segments.

 

 

4 replies

Level 2
March 23, 2023

Why not add one calculated field into this batch with a unique ID and have it in the schema so you can use them in segments?

Manoj_Kumar
Community Advisor
Community Advisor
March 27, 2023

Hello @irohitshukla 

Since it is a once-off requirement and that is why I don't want to make any schema changes.

Manoj  | https://themartech.pro
Adobe Employee
March 24, 2023

You may want to look at the external audience onboarding capability in the Platform. Importing and using external audiences 

Anil_Umachigi
Adobe Employee
Adobe Employee
March 25, 2023

@_manoj_kumar_  Could you elaborate more on the dataset you imported this into? what schema class did you use to create this? Ideally you would 

  1. Create a Non-people identifier namespace
  2. Create schema with class Segment definition
  3. Assign primary id ( Segment id) to the name space created
  4. Enable for profile 
  5. Ingest data. 

Is there a reason you are using batch id? 

 

 

Manoj_Kumar
Community Advisor
Community Advisor
March 27, 2023

Hello @anil_umachigi 

I have a list of customers(with identities) that already exist in CDP. Now, the requirement is to create a segment of these customers and activate them to a destination.

 

I don't want to modify the existing schema because it is a once-off requirement. I thought of ingesting this data by creating a dataset by CSV file and then enabling the dataset for the profile.

 

Every ingests we do in AEP creates a batch ID. To create a segment of these imported customers I thought of using the batch ID to create a segment that is not working.

 

 

Manoj  | https://themartech.pro
Manoj_Kumar
Community Advisor
Manoj_KumarCommunity AdvisorAuthorAccepted solution
Community Advisor
March 28, 2023

Hello @anil_umachigi @nereddy @irohitshukla 

 

Here is how I achieved this without changing the schema structure. I uploaded the data to the experience event schema and created a dummy event against the identities from the CSV file.

 

Now this dummy event can be used in segment builder to create the segments.

 

 

Manoj  | https://themartech.pro
Anil_Umachigi
Adobe Employee
Adobe Employee
March 28, 2023

That is smart stuff @_manoj_kumar_ 

may be you could write an automation script which does and creates a fake event with those attributes. 

 

Well done and thank you for sharing here 🙂