# Delete

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

This operation permanently removes a specific record within a dictionary table, using the unique identifier of the item to be deleted.

#### ✅ **Main features:**

* Removes a single record from a dictionary table
* Ensures the item ID is provided correctly
* Keeps the dictionary clean and organized

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

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

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

#### 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 from which the record will be removed. |
| **Record ID**    | `string`      | ✅ Yes         | Unique identifier of the record to be deleted.                      |

⚠️ **Attention!**

* This operation **cannot be undone**.
* Make sure that the deleted data will not be needed in the future.

#### 3️⃣ **Save the Configuration**

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

Now, whenever this automation is triggered, the record will be deleted from the dictionary automatically.

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

📊 **Scenario:** Do you want to automatically delete lost opportunity records from the dictionary **"Opportunities"** after 90 days without interaction.

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

1️⃣ **Block 1** → Check if the opportunity has been inactive for more than 90 days.\
2️⃣ **Block 2** → Delete the record from the table **"Opportunities"**.\
3️⃣ **Block 3** → Log the deletion in the activity history.

🚀 **Result:** The dictionary will be kept clean, automatically removing outdated records and optimizing the database.

### 🎉 **Conclusion**

The operation **Delete Record in the Dictionary** allows you to remove unnecessary data, keeping the information base more organized and accurate. With this feature, you can create automations that optimize data management in Hablla Studio.

If you need more support, contact our team! 🚀


---

# 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.hablla.com/hablla-docs-en/automation-flows/all-components/hablla/dictionary/delete.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.
