Limited Time Offer - WhatsApp chatbot now available at a reduced price - 180 USD for 10K messages, 250 USD for 30K messages, 320 USD for 100K messages, all inclusive


What are user attributes?

Cambridge Dictionary defines an attribute as “a quality or characteristic that someone or something has”

User attributes is the information gathered and stored for a user. In simple understanding, user attributes are sets of data relevant for the user or any particularly given conversion. These are long-lasting attributes unless they are erased from the database. (User: The user here is anyone who initiates a conversation with the chatbot or one particular conversation. User attribute is created when an individual converse with the bot for the first time).

This could be the most basic use of user attributes. They can also be used as a source for execution for a path. For instance, consider a chatbot in healthcare- User attributes could be the name, email id of the user/ patient. They could also be the patient’s history, the doctor he/she visits, his/her illness, and so on. User attributes also consist of some core ones like date/time of first and last interaction, the medium through which they are communicating, etc. 

Setting attributes

There are different ways in which these user attributes can be managed. Here are some ways in which they can be modified, added or reset.

  • Set Attribute Node: Here value is assigned for the user. This assigned value can be either text, numeric or date. 
  • Send a message with Options node: In this, the user can be allowed to select the option which then becomes an attribute for the value selected.
  • Request Node: This is used to collect data from the user and again as previous, store in form of attribute.
  • JSON API node - The reaction fields from an API call can be fetched and put away as a trait that can be used later. This can be an extremely supportive approach to stack increasingly logical and pertinent data about a client or a movement by means of an API call.

 To store a reaction from an API as a quality: 

  1. Click on the key from the reaction whose value you need to use in the stream 
  2. The attribute is made right beneath the response box 
  3. You can change the name of these attributes according to your craving
  • Script Node - The output of this node can likewise become back to include or refresh a user attribute value You can set up an attribute by utilizing the attributes field which takes in a variety of attribute objects. Each attribute article is an exceptionally basic item with a name and worth fields. This field can be utilized related to different segments also.
  • During website bot initialization - For both the widget mode and the standalone mode, characteristics can be set up for a client to instate the bot. This can be useful for situations where logical data is accessible for the client during the visit inception.
  • Identity Node – The identity node can likewise be utilized as a straightforward structure to gather information from the client and continue them as attributes. 
  • Different methods for instance Google Calendar hub uses attributes to store the date and time values chosen for the arrangement/occasion.

System characterized attributes 

Outside of the unequivocally set up client attributes, there are some framework characterized attributes which are given dependent on the data accessible in the framework about the client. These are - 

  • user.user_id – The remarkable identifier of a client in the Engati framework 
  • First Name – First name of the user, identifies from channel (Facebook)
  • Last Name – Last name of the user, identifies from channel (Facebook)
  • user.channel_user_id – The identifier given by a specific channel where the client is interfacing from. 
  • – The channel from where the specific client is associating.
  • user.last_query – The most recent content contribution by the client 
  • user.username – The username of the client as given by the channel. Not relevant for all the supported channels. Would be blank where the channel doesn't give the information 
  • user.fileUpload.url – URL of transferred document
  • user.fileUpload.type – Uploaded document type

Viewing Attribute Values 

All the attributes which are related with a user are shown in the User Details segment. Here is a case of the equivalent –

Utilizing Attribute Values 

All user attributes including the framework given ones can be gotten to in the important hubs by utilizing the double curly braces notation {{attribute}} . For instance – To get to the worth put away in email_address attribute, use  in the node. An autocomplete rundown will begin appearing to make the entrance to the client attributes easy. The double curly braces notation is to be just utilized while getting to the factors. While characterizing them there is no compelling reason to specify braces

Standard Attribute Length 


The attributes are restricted in size by structure. The constraint is because of performance factors. Here are standard limits:

  • Up to 25K characters for in flow utilization 
  • Up to 1000 characters for likewise continuing this data in DB for reporting and segmentation.

Note : For double byte characters, these cutoff points might be split. 

So as to manage bigger information, it is a standard practice for any advancement to split the information or use paginated reactions.


Processing Information 

We comprehend that over the span of your discussion with a user, you should process a great deal of data. Engati gives you the utilization of Attributes to make it simple to gather, procedure, persevere and even report on data gathered. A portion of the key capacities include: 

Collecting Information in Attributes 

There are different methods for gathering data from your bot user and sparing it as an attribute. These incorporate the utilization of hubs like Request User Data, Identity and JSON API in your conversation stream. You can likewise introduce the web chatbot with attributes to set the underlying setting. When you set an attribute esteem utilizing one of these Nodes, it is naturally endured for use in the discussion stream just as for reporting and viewing later. 

Processing Attributes 

Nodes like Script Node and Set Attribute permit you to set and procedure values put away in an attribute. Script Node specifically is an incredible way to do different sorts of handling on the attribute esteems including string manipulation to mathematical tasks. 

Other than the above mentioned, all Display Nodes like Send Message, Send Message with Options, Send Carousel and so on permit you to utilize the attributes as a placeholder inside the text

Reporting on Attributes 

Engati gives two key components to let you see and analyze the data being gathered. This incorporates: 

– User Report: You can arrange the accessible coulmns on this report to incorporate specific attributes 

– User Details: For an individual user, Engati naturally shows the whole rundown of accessible attributes and data gathered against those for that user.

Develop your Bot-Building skills with 2 months of FREE Bot-Building on the Engati Platform. No credit card required; start now!