# Categorize Document

> Perform Categorize Document through GenHealth.

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

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

- Handler: `genhealth_categorize_document`

## Inputs

- `document_id` — Document Id (expression)
  Optional literal value or workflow expression.
- `force` — Force (boolean)
  Optional true-or-false value.
  Default: `"false"`
- `num_pages` — Num Pages (number)
  Optional numeric value.
  Default: `"5"`
- `prompt_override` — Prompt Override (textarea)
  Optional text value.

## Outputs

No named outputs are declared for this action.

Output schema completeness: `unknown`

## 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",
  "properties": {
    "force": {
      "type": "boolean",
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "num_pages": {
      "type": "number",
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "document_id": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "prompt_override": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "textarea"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {},
  "additionalProperties": true
}
```
