# Collect Workflow Node Outputs

> Perform Collect Workflow Node Outputs through GenHealth.

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

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

- Handler: `genhealth_collect_workflow_node_outputs`

## 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": {},
  "handler": "genhealth_collect_workflow_node_outputs"
}

```

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

## Inputs

- `workflow_name` — Workflow Name (text, required)
  Required text value.
- `node_id` — Node Id (text, required)
  Required text value.
- `report_day` — Report Day (text)
  Optional text value.
- `window_hours` — Window Hours (number)
  Optional numeric value.
- `timezone` — Timezone (text)
  Optional text value.
- `max_runs` — Max Runs (number)
  Optional numeric value.
- `max_output_bytes` — Max Output Bytes (number)
  Optional numeric value.

## Outputs

- `success` — Success
- `entries` — Entries
- `run_count` — Run Count
- `entry_count` — Entry Count
- `truncated` — Truncated
- `entries_omitted` — Entries Omitted
- `window_start` — Window Start
- `window_end` — Window End
- `report_day` — Report Day
- `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": [
    "workflow_name",
    "node_id"
  ],
  "properties": {
    "node_id": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "max_runs": {
      "type": "number",
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "timezone": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "report_day": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "text"
    },
    "window_hours": {
      "type": "number",
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    },
    "workflow_name": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "max_output_bytes": {
      "type": "number",
      "description": "Optional numeric value.",
      "x-workflow-field-type": "number"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "entries": {},
    "success": {},
    "run_count": {},
    "truncated": {},
    "report_day": {},
    "window_end": {},
    "entry_count": {},
    "window_start": {},
    "entries_omitted": {}
  },
  "additionalProperties": true
}
```
