Apps can be tailored to individual users, through ‘Attributes’. Attributes are special blocks that can be used to hold information specific to a user. These can be created in the ‘User Attributes’ section. Take the selection of attributes below:
Each attribute type has its own unique appearance that shows where they can fit into the block specification.
In order to put real values into these attributes, there are survey question types corresponding to each attribute type, so that the answers to survey questions can be stored as attribute values. For example, the user’s answer to a number question can be saved into a Number attribute:
Location attributes are round and purple, and can be dragged into Location triggers or Location expressions like so. The location value held in the attribute can then be used as a geofence trigger, or as a conditional expression.
The answer to a location question can be saved into a location attribute:
Dates and Times
Date and time attributes can be used to schedule the beginning and end of time-based triggers as shown. Allowing users to select dates and times can ensure notifications are delivered at appropriate times, for example. Dates can also be used in time-based expressions, so that dates leading up to and following user-specified dates can be used.
Users can select specific dates and times to be stored in attributes by answering date and time questions.
True/False attributes, like conditional expressions, are light blue and rounded in appearance. These can be combined and rearranged using other conditional expressions as shown in the image. Like conditional expressions, they can also be used directly with the ‘If’ condition.
Users can set true/false attribute values by answering true/false questions.
Number attributes are green rectangles. Their values can be compared by dragging and dropping them into conditional expressions as shown in the image.
A unique feature of number attributes is that they can be used as phone numbers to determine the number to send an SMS to.
Users can set number attribute values by answering Number questions.
Category attributes are red rectangles, and can be used in conditional expressions as shown in the image. In doing so they can be used to, for example, determine whether to send a survey based on the user’s current mood.
Users can set category attribute values by answering multi-choice questions.