# Summarize Intake Batch

> Perform Summarize Intake Batch through GenHealth.

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

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

- Handler: `intake_summarize_batch`

## Inputs

- `selection_payload` — Selection Payload (json)
  Optional JSON value.
- `loop_results` — Loop Results (json)
  Optional JSON value.
- `dispatch_payload` — Dispatch Payload (json)
  Optional JSON value.
- `dry_run` — Dry Run (boolean)
  Optional true-or-false value.
  Default: `false`
- `notify` — Notify (boolean)
  Optional true-or-false value.
  Default: `true`
- `channel` — Channel (text)
  Optional text value.
- `output_path` — Output Path (text)
  Optional text value.
- `to_emails` — To Emails (text)
  Optional text value.

## Outputs

- `status` — Status
- `html` — Html
- `output_path` — Output Path
- `emailed_to` — Emailed To
- `email_subject` — Email Subject
- `slack_message` — Slack Message
- `found_count` — Found Count
- `skipped_count` — Skipped Count
- `processed_count` — Processed Count
- `ready_count` — Ready Count
- `needs_review_count` — Needs Review Count
- `failed_count` — Failed Count
- `dispatch_count` — Dispatch Count
- `remaining_count` — Remaining Count
- `slack_sent` — Slack Sent
- `slack_skipped` — Slack Skipped

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `write`
- Confirmation recommended: no
- Retry safe: no
- Dry run supported: yes

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "properties": {
    "notify": {
      "type": "boolean",
      "default": true,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "channel": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "dry_run": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "to_emails": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "output_path": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "loop_results": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "dispatch_payload": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    },
    "selection_payload": {
      "description": "Optional JSON value.",
      "x-workflow-field-type": "json"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "html": {},
    "status": {},
    "emailed_to": {},
    "slack_sent": {},
    "found_count": {},
    "output_path": {},
    "ready_count": {},
    "failed_count": {},
    "email_subject": {},
    "skipped_count": {},
    "slack_message": {},
    "slack_skipped": {},
    "dispatch_count": {},
    "processed_count": {},
    "remaining_count": {},
    "needs_review_count": {}
  },
  "additionalProperties": true
}
```
