# Custom Attributes

### **What are Custom Attributes?**

Custom Attributes allow you to enrich your content, user profiles, or subcategories with additional, tailored data points. This feature provides flexibility in tagging and categorizing your data to fit your specific needs, enabling deeper insights and more granular control.

### **Benefits of Custom Attributes**

* **Enhanced Data Enrichment**: Add context-specific information to your content, users, or subcategories.
* **Streamlined Workflows**: Automatically integrate custom attributes into your dashboard, making it easier to visualize and moderate your content/users.
* **Customizable Rules**: Use custom attributes in your moderation rules (found under the "custom" section) for more precise actions and automation.

### Examples of Custom Attributes

* **Verified User**: Marks whether a user has been verified, which can be useful for prioritizing trusted users.
* **User Has Credit Card on File**: Identifies users with linked payment methods for transaction-related rules.
* **# of Connections**: Tracks the number of user connections to target highly networked individuals.
* **Age**: Captures user age for applying age-specific content moderation or analysis.
* **Location**: Stores geographical data for region-based rules or personalized content delivery.

### How to Set Up Custom Attributes

Follow these steps to set up and use Custom Attributes in your dashboard:

#### **Step 1: Add attributes through the API**

1. Add the attributes you would like to use to your API calls to Lasso. An example of adding an attribute to your content can be found [here](https://api-reference.lassomoderation.com/operation/operation-post-content#operation-post-content-body-application-json-metadata).

#### **Step 2: Navigate to the Settings**

1. Log in to your dashboard.
2. Go to **Settings → Tags & Attributes**.

#### **Step 3: Add a Custom Attribute**

1. Scroll to the **Custom Attribute** section.
2. Select your custom attribute in the dropdown (The system will check the last 1,000 items from the previous day to identify which attributes are available)
3. Verify the following details:
   * **Name**: Enter a clear, descriptive name for the attribute.
   * **Type**: Select the appropriate data type (text, number, boolean, or enum).

<figure><img src="/files/OxqfaxGPrPdobI2mEZny" alt=""><figcaption><p>Example of creating Custom Content Attributes</p></figcaption></figure>

**Step 4: Save and Apply**

1. Save the attribute. Once saved:
   * The custom attribute will be displayed automatically within the dashboard.
   * You can view and manage this data alongside existing content or profiles.

#### **Step 5: Use Custom Attributes in Rules**

1. Go to the **Rules** section in your dashboard.
2. Under the "custom" category, you can incorporate your custom attribute into moderation or workflow rules for more precise automation.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lassomoderation.com/custom-attributes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
