1. Set up attributes
Attributes can be created in the channel settings via the JavaScript SDK method setAttribute (more information here) can then be assigned to subscribers attributes.
2. Use attributes when sending
Later, when sending (through the backoffice or our REST API), the attributes can be built into messages with a wildcard, and if the subscriber does not have a certain attribute, the wildcard is replaced with an empty string.