# Read Workbook Rows

> Perform Read Workbook Rows through GenHealth.

Source: [https://genhealth.ai/docs/workflows/integrations/gen-health/genhealth_read_workbook_rows](https://genhealth.ai/docs/workflows/integrations/gen-health/genhealth_read_workbook_rows)

Integration: [GenHealth](https://genhealth.ai/docs/workflows/integrations/gen-health.md)

- Handler: `genhealth_read_workbook_rows`

## Inputs

- `document_id` — Document Id (expression, required)
  Required literal value or workflow expression.
- `sheet_name` — Sheet Name (text)
  Optional text value.
- `header_row` — Header Row (number)
  Optional numeric value.
  Default: `0`
- `columns` — Columns (expression)
  Optional literal value or workflow expression.
- `required_headers` — Required Headers (expression)
  Optional literal value or workflow expression.
- `max_rows` — Max Rows (number)
  Optional numeric value.

## Outputs

- `success` — Success
- `rows` — Rows
- `count` — Count
- `column_keys` — Column Keys
- `columns` — Columns
- `sheet_name` — Sheet Name
- `document_id` — Document Id
- `error` — Error

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `read`
- Confirmation recommended: no
- Retry safe: yes
- Dry run supported: no

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "required": [
    "document_id"
  ],
  "properties": {
    "columns": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "max_rows": {
      "type": "number",
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "header_row": {
      "type": "number",
      "default": 0,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "sheet_name": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "required_headers": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "rows": {},
    "count": {},
    "error": {},
    "columns": {},
    "success": {},
    "sheet_name": {},
    "column_keys": {},
    "document_id": {}
  },
  "additionalProperties": true
}
```
