If you are setting up xtremepush to test email and SMS you will want some test users. Email and User ID are default profile attributes the other attributes you will need must be configured.
Say for example you also want to use your user's mobile number for SMS and first name for personalisation. Go to App Lists > App Tags to add these profile attributes. Once on the App Tags page click "+ CREATE APP TAG"
This will bring you to the attribute editor. Here add the tag name pick a type e.g. String and set Profile Attribute YES and click save.
In this example we add two profile attributes of type String named first_name and mobile_number:
Next we will add some test users. Go to App Lists > User Profiles here we can upload a csv of test users. Reserved user profile column names are:
- user_id: unique customer id from your backend system
- email: user email
- email_subscription: status of users email subscription 1 or 0 (subscribed or unsubscribed)
You can add any additional attributes you have added as user profile attributes in this example we will also use:
- first_name: user first_name
- mobile_number: the users mobile number
A sample csv with header row and two data rows would look like below:
user_id,email,email_subscription,first_name,mobile_number fe56bc676be78,firstname.lastname@example.org,1,Sam,3538X5559999 fe56bc676be79,email@example.com,1,Joe,3538X5559998
Create or export a file like this and upload from the App Lists > User Profiles page using IMPORT USER PROFILES option:
If successfully uploaded you will see your new user profiles:
Click attributes icon on a row to see additional attributes for a user to confirm they have been set as expected:
You can update or add additional attributes to a user later by amending the csv and targeting existing users using the same user_id. You can target test users in segmentation by selecting them using the identifiers > user id criteria. You can for example use the condition user id > in > userid1,userid2
If you want to upload a lot of test users you could add a test_user attribute when you are uploading your users:
user_id,email,email_subscription,first_name,mobile_number,test_user fe56bc676be78,firstname.lastname@example.org,1,Sam,3538X5559999,1 fe56bc676be79,email@example.com,1,Joe,3538X5559998,1
Even if you had hundreds of test_users you could easily target them using a segementation condition of: