# Finalize Intake Workflow

> Perform Finalize Intake Workflow through GenHealth.

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

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

- Handler: `genhealth_finalize_intake_workflow`

## Inputs

- `workflow_key` — Workflow Key (text)
  Optional text value.
- `stage_label` — Stage Label (text)
  Optional text value.
- `case_payload` — Case Payload (json)
  Optional JSON value.
- `ehr_payload` — Ehr Payload (json)
  Optional JSON value.
- `execution_payload` — Execution Payload (json)
  Optional JSON value.
- `fallback_execution_payload` — Fallback Execution Payload (json)
  Optional JSON value.
- `secondary_fallback_execution_payload` — Secondary Fallback Execution Payload (json)
  Optional JSON value.
- `error_payload` — Error Payload (json)
  Optional JSON value.
- `manual_review_on_error` — Manual Review On Error (boolean)
  Optional true-or-false value.
  Default: `false`

## Outputs

- `success` — Success
- `job_id` — Job Id
- `document_id` — Document Id
- `runtime_status` — Runtime Status
- `summary` — Summary
- `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",
  "properties": {
    "ehr_payload": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "stage_label": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "case_payload": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "workflow_key": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "error_payload": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "execution_payload": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "manual_review_on_error": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "fallback_execution_payload": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "secondary_fallback_execution_payload": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "job_id": {},
    "success": {},
    "summary": {},
    "document_id": {},
    "error_message": {},
    "runtime_status": {}
  },
  "additionalProperties": true
}
```
