> For the complete documentation index, see [llms.txt](https://docs.airops.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.airops.com/docs/pt/acoes/workflow-concepts/workflow-steps/memory-steps/read-from-grid.md).

# Ler da Grid

O passo "Ler da Grelha" permite-lhe obter dados de uma Grelha AirOps existente diretamente para o seu fluxo de trabalho.

### Como Configurar o Passo Ler da Grelha

#### Selecionar uma Grelha

Escolha a Grelha específica da qual pretende importar dados. O menu pendente mostrará todas as Grelhas disponíveis no seu espaço de trabalho.

#### Opções de Filtragem

Opcionalmente, pode filtrar as linhas que pretende importar da Grelha selecionada:

* **Todas as Linhas**: Importar todas as linhas da Grelha selecionada
* **Linhas Selecionadas**: Importar apenas linhas específicas com base nos seus critérios

#### Seleção de Colunas

Escolha quais as colunas da Grelha que pretende importar:

* **Todas as Colunas**: Importar todas as colunas da Grelha selecionada
* **Colunas Selecionadas**: Especificar apenas determinadas colunas a importar

### Formato de Saída

O passo Ler da Grelha devolve dados num formato estruturado que pode ser facilmente usado em passos subsequentes do seu fluxo de trabalho. A saída será um array de objetos, com cada objeto a representar uma linha da Grelha.

Cada linha inclui um campo especial `__id` que contém o identificador exclusivo dessa linha. Isto `__id` é essencial se precisar de atualizar linhas específicas mais tarde usando o passo "Adicionar Linhas na Grelha".

Exemplo de saída:

```json
[
  {
    "__id": "123",
    "column1": "value1",
    "column2": "value2",
    "column3": "value3"
  },
  {
    "__id": "456",
    "column1": "value4",
    "column2": "value5",
    "column3": "value6"
  }
]
```

> **Nota**: O `__id` campo é automaticamente incluído na saída e representa o identificador interno da linha. Precisará deste valor ao atualizar linhas existentes na sua Grelha.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.airops.com/docs/pt/acoes/workflow-concepts/workflow-steps/memory-steps/read-from-grid.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
