Guide FloatChat

Floatchat- User Guid

User Attributes 

1. Introduction #

Attributes in FloatChat are used to store data entered by the user during the conversation, which can be later used or transferred for various purposes. User attributes serve as variables for storing data relevant to the execution of a particular path. They can store information such as the user’s email, username, ordered items, quantity, delivery address, and more.

2. How does it work? #

Let’s understand the functioning of FloatChat attributes through the following example:

For instance, we have an attribute called “Name” that will store the names of our users.

  • User A enters “John”
  • User B enters “Juliet”
  • User C enters “Phil”

Attribute Name: #


|    Name    |    Age    |


| User A     |   John    | 

| User B     |   Juliet    |

| User C     |   Phil   |

In this example, the information is stored separately for each user, ensuring that they are not mixed up. The use of identifiers helps map the data accurately.

3. Methods to use the Attribute Feature #

You can utilize the attribute feature in FloatChat through various methods, including:

  • Date Input Nodes: Use nodes like “Request User Data,” “Form,” and “Identity” to capture user information.
  • Processing Nodes: Utilize the “Set Attribute” node to store and manipulate attribute values.
  • Display Information Nodes: Employ the “Send Message With Options” node to display attribute-related information to users.
  • JSON and Script Nodes: Incorporate JSON and script nodes for more advanced attribute handling.
  •  Website scripts: Integrate attribute functionality into your website using custom scripts.

4. System-Defined Attributes #

In FloatChat, there are two categories of attributes: #

System Defined Attributes – These attributes are automatically created by FloatChat to capture specific data. For example, when using the Facebook channel, the user’s name is automatically populated in the “user.user_name” attribute. System defined attributes have a structure like “{{user.<attribute name>}}”. For instance, the attribute for the full name could be “{{user.user_name}}”.

By using FloatChat’s attribute feature, you can store and utilize user data effectively, enhancing the conversational experience and enabling personalized interactions.

Custom attributes – Attributes created by the users for their specific use case.

System – defined attributes generate values based on the channels they are deployed on. 

The type and name of the attribute are defined during creation.


Attributes that already exist in the chatbot are system-defined, and we encourage users not to create another attribute with the same name as a system-defined attribute.

Doing so will override the existing value generation functionality and convert it into a custom attribute, which will no longer automatically capture values.

5. Viewing and using attribute values #

To call an attribute within the relevant node, you can use the { symbol, and a dropdown list of attributes will be displayed.

To call an attribute within the script node, you can use the # symbol, and a dropdown list of attributes will be shown.

You can utilize Floatchat APIs to filter out results based on attribute names and their values.

Attributes and their values are stored for each user and can be accessed through the Users page.

6. Standard Attribute Length #

The attributes in Floatchat have size limitations set intentionally to optimize performance. The following are the standard limits:

  • For in-flow usage, attributes can contain up to 25K characters.
  • If you also need to store this information in the database for reporting and segmentation purposes, the limit is set to 1000 characters.

Please note that if you’re using double-byte characters, these limits may be halved. To handle larger data, it’s recommended to split the data or use paginated responses, which is a common practice in development.

If you encounter any issues or have further questions, please don’t hesitate to contact

What are your feelings
Scroll to Top