User attributes enable bot personalization, advanced flows, subscriptions to Re-Engage -previously known as Broadcast - and much more in your bot. They are a simple, but very powerful tool to bring your bot to the next level.

You can use the system attributes available in every bot like {{first name}} or {{gender}} to greet users or to segment them in the user filter for re-engaging, but you can also create your own custom attributes using plugins like User Input, Setup User Attribute and more.

Generating User Attributes

System Attributes

System attributes are available in every bot and contain all the info the bot receives about a user from Facebook, which you can't modify. They show up as purple, while the attributes you create yourself, and which you can modify, are brown.

Custom Attributes

You can create your own attributes using plugins like the User Input or Setup User Attribute, JSON API plugin, but also by having a user select a quick reply.
You can overwrite existing values of an attribute by assigning another value to it.

Please note that user attributes can not contain multiple values. An exception from this is the system attribute {{rss and search subscriptions}} which contains all RSS feeds and Google/Bing searches a user is subscribed to.

Utilising User Attributes

Cards

You can access a list of all user attributes available in your bot by typing {{ in any text, gallery cards and show the value of an attribute to a user.

Re-engage

The user filter enables you to Re-Engage only with users who have a particular value set for an attribute e.g. {{gender}} is "female", or {{subscribed}} is "true".

You can also create sequences based on user attributes which trigger at a specific time interval after a specific value was assigned to an attribute for a user. 

Plugins

You can use attributes in many different plugins and in many different ways. E.g. You can utilise user attributes to

Did this answer your question?