# Get Spreadsheet Metadata

> Perform Get Spreadsheet Metadata through Google Sheets.

Source: [https://genhealth.ai/docs/workflows/integrations/google-sheets/google_sheets_get_spreadsheet_metadata](https://genhealth.ai/docs/workflows/integrations/google-sheets/google_sheets_get_spreadsheet_metadata)

Integration: [Google Sheets](https://genhealth.ai/docs/workflows/integrations/google-sheets.md)

- Handler: `google_sheets_get_spreadsheet_metadata`

- Connection type: `google_sheets`

## Use in a workflow

Copy this discovered node config, fill params from the input contract, and validate the complete graph. Integration results are available as {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove business success.

```json

{
  "_group": "Google Sheets",
  "params": {
    "include_grid_data": false
  },
  "handler": "google_sheets_get_spreadsheet_metadata"
}

```

[Action contracts](https://genhealth.ai/docs/workflows/action-contracts.md) · [Run recovery](https://genhealth.ai/docs/workflows/operations.md)

## Inputs

- `google_sheets_account_id` — Google Sheets Account Id (select, dynamic options)
  Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.
- `spreadsheet_id` — Spreadsheet Id (expression, required)
  Required literal value or workflow expression.
- `include_grid_data` — Include Grid Data (boolean)
  Optional true-or-false value.
  Default: `false`

## Outputs

- `success` — Success
- `spreadsheet_id` — Spreadsheet Id
- `title` — Title
- `tabs` — Tabs
- `tab_count` — Tab Count
- `error` — Error
- `error_message` — Error Message

Output schema completeness: `best_effort_declared`

## Safety

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

## Schemas

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

### Input schema

```json
{
  "type": "object",
  "required": [
    "spreadsheet_id"
  ],
  "properties": {
    "spreadsheet_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "include_grid_data": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "google_sheets_account_id": {
      "type": "string",
      "description": "Optional selected identifier or value. Retrieve allowed values from the dynamic options endpoint.",
      "x-dynamic-options": true,
      "x-workflow-field-type": "select"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "tabs": {},
    "error": {},
    "title": {},
    "success": {},
    "tab_count": {},
    "error_message": {},
    "spreadsheet_id": {}
  },
  "additionalProperties": true
}
```
