# Delete

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

This operation permanently deletes a task within a workspace. Once deleted, the task cannot be recovered.

✅ Removes a specific task from the system.\
✅ Disassociates any relationship of the task with cards, people, or organizations.\
✅ Keeps the workspace organized and free of unnecessary tasks.

***

### 📂 **Fields and Data Types**

| **Field**        | **Data Type** | **Required?** | **Description**                               |
| ---------------- | ------------- | ------------- | --------------------------------------------- |
| **Task ID**      | `string`      | ✅ Yes         | Unique identifier of the task to be deleted.  |
| **Workspace ID** | `string`      | ✅ Yes         | ID of the workspace where the task is stored. |

***

### ✅ **Step by step to Set Up the "Delete" Operation**

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

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

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

🔹 **Task ID** → Enter the identifier of the task that will be removed.\
🔹 **Workspace ID** → Specify the workspace to which the task belongs.

#### 3️⃣ **Confirm Deletion**

📌 **Warning:** Task deletion is irreversible. Make sure the action is necessary before saving.

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

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

Now, whenever this automation is triggered, the corresponding task will be automatically removed from the system.

***

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

📊 **Scenario:** Automatically delete tasks when a process is completed.

1️⃣ **Block 1** → Check if an opportunity has been closed.\
2️⃣ **Block 2** → Fetch tasks associated with the process.\
3️⃣ **Block 3** → Automatically delete completed tasks.

🚀 **Result:** The system keeps only relevant tasks, ensuring efficient organization.

***

### 🎉 **Conclusion**

The operation **Delete Task (delete)** in the **Hablla Studio** helps keep an organized environment by removing tasks that are no longer needed. Use this feature with caution to avoid losing important information.

If you need more support, contact our team! 🚀
