If you are setting up xtremepush to test email and SMS you will want some test users. Email, mobile number 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 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 a profile attributes of type String named first_name:
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). Leaving this blank will set the value as undefined which will still not allow the user to receive messages
- mobile_number: user mobile number used for sending SMS
- sms_subscription: status of users SMS 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
A sample csv with header row and two data rows would look like below:
user_id,email,email_subscription,mobile_number,sms_subscription,first_name fe56bc676be78,email@example.com,1,3538X5559999,1,Sam fe56bc676be79,firstname.lastname@example.org,1,3538X5559998,1,Joe
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:
Even if you had hundreds of test_users you could easily target them using a segementation condition of: