# Extract Fields With Reducto

> Perform Extract Fields With Reducto through GenHealth.

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

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

- Handler: `genhealth_extract_fields_with_reducto`

## 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": {
    "deep_extract": false
  },
  "handler": "genhealth_extract_fields_with_reducto"
}

```

[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.
- `schema` — Schema (json, required)
  Required JSON value.
- `system_prompt` — System Prompt (textarea)
  Optional text value.
- `deep_extract` — Deep Extract (boolean)
  Optional true-or-false value.
  Default: `false`

## Outputs

- `success` — Success
- `document_id` — Document Id
- `fields` — Fields
- `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",
    "schema"
  ],
  "properties": {
    "schema": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "deep_extract": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "system_prompt": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "textarea"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "fields": {},
    "success": {},
    "document_id": {}
  },
  "additionalProperties": true
}
```
