# Save Spreadsheet Revision

> Perform Save Spreadsheet Revision through GenHealth.

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

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

- Handler: `genhealth_save_spreadsheet_revision`

## Inputs

- `revision` — Revision (json, required)
  Required JSON value.

## Outputs

- `document_id` — Document Id
- `primary_document_id` — Primary Document Id
- `generation` — Generation
- `state` — State
- `progress` — Progress
- `was_existing` — Was Existing

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": [
    "revision"
  ],
  "properties": {
    "revision": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "state": {},
    "progress": {},
    "generation": {},
    "document_id": {},
    "was_existing": {},
    "primary_document_id": {}
  },
  "additionalProperties": true
}
```
