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

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

  • March 23, 2023
  • 4 replies
  • 1597 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

_Manoj_Kumar_
_Manoj_Kumar_AuthorAccepted solution
New Participant
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     Find me on LinkedIn
Anil_Umachigi
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 🙂

Anil_Umachigi
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_
New Participant
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     Find me on LinkedIn
Employee
March 24, 2023

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

New Participant
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_
New Participant
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     Find me on LinkedIn