# Report Source

Report Model extracts data from an unstructured file into a structured file format using an extraction logic. It can be used through the *Report Source* object inside dataflows in order to leverage the advanced transformation features in Astera.

## **Getting Report Source Object**

1. To get a *Report Source* object from the Toolbox, go to *Toolbox > Sources > Report Source.* If you are unable to see the Toolbox, go to *View > Toolbox* or press Ctrl + Alt + X.

<figure><img src="/files/4DpSHE1wegB2xhuvXI6j" alt=""><figcaption></figcaption></figure>

2. Drag and drop the *Report Source* object onto the designer.

<figure><img src="/files/gMhq2UGYCuI2tZqiPAXD" alt=""><figcaption></figcaption></figure>

You can see that the dragged source object is empty right now. This is because we have not configured the object yet.

## **Configuring the Report Source Object**

1. To configure the *Report Source* object, right-click on its header and select *Properties* from the context menu.

<figure><img src="/files/mV7bHutO9vOLu16jXNiJ" alt=""><figcaption></figcaption></figure>

A configuration window for *Report Source* will open.

<figure><img src="/files/H8WB7hT21CW0hyb34U4P" alt=""><figcaption></figcaption></figure>

2. First, provide the *File Path* of the unstructured file (your report) for which you have created a Report Model.

<figure><img src="/files/NJva3UajUOI9n9APGw0U" alt=""><figcaption></figcaption></figure>

3. Then, specify the *File Path* for the associated Report Model.

<figure><img src="/files/WSll0pWCI1dHqxDlYvO7" alt=""><figcaption></figcaption></figure>

4. Click *OK*, and the fields added in the extraction model will appear inside the *Report Source* object with a sub-node, *Items\_Info*, in our case.

<figure><img src="/files/vcJ2yqtE4IjfdbicR0gy" alt=""><figcaption></figcaption></figure>

5. Right-click on the *Report Source* object’s header and select *Preview Output* from the context menu.

<figure><img src="/files/OVhmni2qfc4mUTXxpjyP" alt=""><figcaption></figcaption></figure>

A *Data Preview* window will open and show you the data extracted through the Report Model.

<figure><img src="/files/hmr19o2IwBIYNf5WNoJA" alt=""><figcaption></figcaption></figure>


---

# 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://documentation.astera.com/astera-data-stack-v8/dataflows/sources/report-source.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.
