# Create

### 🎯 **What does this operation do?**

This operation inserts a new record into a dictionary table, allowing the filling of various custom fields according to the workspace structure.

#### ✅ **Main information that can be included:**

* Identification of the table where the record will be inserted
* Custom data defined by the user
* Organization of information within the workspace

### 📂 **How to Configure the "Create" Operation**

#### 1️⃣ **Access the Component**

1. In **Hablla Studio**, open the automation flow where you want to create a record in the dictionary.
2. Add the block **"Dictionary"**.
3. In the right side panel, select the operation **"Create"**.

#### 2️⃣ **Fill in the Required Fields**

| **Field**         | **Data Type** | **Required?** | **Description**                                               |
| ----------------- | ------------- | ------------- | ------------------------------------------------------------- |
| **Workspace ID**  | `string`      | ✅ Yes         | Workspace ID where the dictionary table is located.           |
| **Table Name**    | `string`      | ✅ Yes         | Name of the dictionary table where the record will be stored. |
| **Record Fields** | `object`      | ✅ Yes         | Structure containing the data of the record to be created.    |

#### 3️⃣ **Add Additional Information (Optional)**

In addition to the required fields, it is possible to include custom information according to the dictionary structure, such as:

* **Custom fields** according to the selected table
* **Custom keys and values** defined by the user

#### 4️⃣ **Save the Configuration**

After filling in the fields, click the **"Save"** ✅.

Now, whenever this automation is triggered, a new record will be automatically created in the dictionary.

### 📌 **Usage Example in an Automation Flow**

📊 **Scenario:** You want to automatically record information about new leads in a dictionary table called **"Leads\_Qualificados"**.

#### 🔹 **Automation flow:**

1️⃣ **Block 1** → Capture data from a new lead via form.\
2️⃣ **Block 2** → Create a new record in the dictionary with the lead's data.\
3️⃣ **Block 3** → Send an internal notification to the sales team.

🚀 **Result:** Leads will be automatically recorded in the dictionary, ensuring centralization and organization of information.

### 🎉 **Conclusion**

The operation **Create Record in Dictionary** is essential for storing and organizing custom information within Hablla Studio. With this feature, you can structure a flexible and efficient database for different needs of your workflow.

If you need more support, contact our team! 🚀
