# Get by ID

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

This operation returns the details of a single record stored in the dictionary, filtering by ID.

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

* Retrieves a specific record within a dictionary table.
* Allows access to all data stored in the queried item.
* Can be used to validate information before updates or deletions.

### 📂 **How to Configure the "Find by ID" Operation**

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

1. In **Hablla Studio**, open the automation flow where you want to fetch a record from the dictionary.
2. Add the block **"Dictionary"**.
3. In the right side panel, select the operation **"Get by ID"**.

#### 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 is stored. |
| **Record ID**    | `string`      | ✅ Yes         | Unique identifier of the record to be retrieved.         |

⚠️ **Attention!**

* Make sure that the **Record ID** is correct to avoid search failures.
* If the provided ID does not exist, the API response will be empty.

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

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

Now, whenever this automation is triggered, the record data will be returned automatically.

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

📊 **Scenario:** You want to retrieve the details of a customer stored in the **"Customers"** dictionary table, using the customer ID received via external integration.

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

1️⃣ **Block 1** → Receive a customer ID from an external source (e.g., webhook).\
2️⃣ **Block 2** → Fetch the customer data from the **"Customers"** dictionary table.\
3️⃣ **Block 3** → Send an automatic response to the customer based on the retrieved data.

🚀 **Result:** The system will be able to query and use detailed customer information without the need for manual searches.

### 🎉 **Conclusion**

The operation **Find Record by ID in the Dictionary** makes quick and accurate retrieval of information stored in the dictionary easier. With this feature, you can create automations that query data whenever needed, optimizing information 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/get-by-id.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.
