# Plan Page Split With Reducto

> Perform Plan Page Split With Reducto through GenHealth.

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

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

- Handler: `genhealth_plan_reducto_split`

## 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": "GenHealth",
  "params": {
    "min_documents": 2,
    "only_reducto_ocr": false
  },
  "handler": "genhealth_plan_reducto_split"
}

```

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

## Inputs

- `document_id` — Document Id (expression, required)
  Required literal value or workflow expression.
- `only_reducto_ocr` — Only Reducto Ocr (boolean)
  Optional true-or-false value.
  Default: `false`
- `categories` — Categories (json, required)
  Required JSON value.
- `split_rules` — Split Rules (textarea, required)
  Required text value.
- `signature_rule` — Signature Rule (json)
  Optional JSON value.
- `extract_prompt` — Extract Prompt (textarea)
  Optional text value.
- `min_documents` — Min Documents (number)
  Optional numeric value.
  Default: `2`

## Outputs

- `success` — Success
- `document_id` — Document Id
- `split_mode` — Split Mode
- `skipped` — Skipped
- `apply` — Apply
- `page_groups` — Page Groups
- `reasons` — Reasons
- `groups` — Groups
- `page_count` — Page Count
- `error` — Error

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": [
    "document_id",
    "categories",
    "split_rules"
  ],
  "properties": {
    "categories": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "split_rules": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "textarea"
    },
    "min_documents": {
      "type": "number",
      "default": 2,
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "extract_prompt": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "textarea"
    },
    "signature_rule": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "only_reducto_ocr": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "apply": {},
    "error": {},
    "groups": {},
    "reasons": {},
    "skipped": {},
    "success": {},
    "page_count": {},
    "split_mode": {},
    "document_id": {},
    "page_groups": {}
  },
  "additionalProperties": true
}
```
