- 14 Mar 2023
- 2 Minutes to read
- Updated on 14 Mar 2023
- 2 Minutes to read
What is an Attribute?
An attribute is an identifying label that you attach to a piece of data. For example, you could create an attribute called first_name and when you capture a customer's first name, it would be attached or bound to the first_name attribute. Identifying names, dates, and numbers with attributes enables you to organize and manage this data for use and collection during a session.
Benefits to using attributes
The following are benefits to using attributes when managing information:
Storing customer information during a session
A customer can provide information once and it can be distributed to all other places in a session where the information is needed. For example, the customer could enter their birth date in a form and the date would automatically appear in multiple documents in the session where a birth date is needed.
Mapping information to your platform
If you are integrated with a CRM or other software platform that stores customer data, you can map Lightico attributes to associated fields in your integrated platform. In this case, the birth date could be pulled directly from the integrated platform and the customer would not have to enter it at all. You can also set up your integration to be bi-directional so that if the customer updates information during a session, the associated field is updated in the integrated platform.
For information about how to map Lightico attributes to your platform, see Map Salesforce data to Lightico.
Setting workflow conditions
Inside a workflow, you can build multiple conditions based on attributes. For example, you can choose to show customers a payment form only if the customer_age attribute is greater than 18 or use a customer_address attribute to show certain legal terms and conditions based on the state in which the customer lives.
For more information, see Setting conditions in workflows.
When you create an attribute on the Attributes page, you'll be asked to select an entity. Choose from the following options:
- Data Source - for Dropdown, Radio button, and Checkbox attribute types only
- Document - for all other attribute types
- Payment - for payment attributes only
Types of attributes and when to use them
Depending on the entity and the attribute type, some attributes can be used in documents, some can be used in workflows, and some can be used in both. The following table describes which attributes can be used where.
|Field Type (Entity Type)||Use in document||Use in workflow|
|Drop Down List (Document)||✔||✖|
|Drop Down List (Data Source)||✔||✔|
|Radio Button Group (Document)||✔||✖|
|Radio Button Group (Data Source)||✔||✔|
|Checkbox group (Document)||✔||✖|
|Checkbox group (Data Source)||✔||✔|
|Signature Date (Document)||✔||✖|
Two categories of attributes
Attributes fall into two general categories:
Used to manage unique customer data like names, identification numbers, or birth dates. For every basic attribute in a session, there is one value.
For more information, see Create basic attributes.
Used to manage data with predefined options like subscription plans, items for sale, or country. Each option can be associated with other values or properties enabling you to make more comprehensive use of the data that you collect.
For more information, see Create dataset attributes.