Classify Document Pages
Perform Classify Document Pages through GenHealth.
genhealth_classify_document_pagesUse in a workflow
Copy the discovered node config and fill its params from the input contract. Validate the complete graph before publishing. Integration results use {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove success.
{
"_group": "GenHealth",
"params": {
"force": false,
"two_pass": false,
"whole_document": false,
"boundary_review": false,
"repair_sandwich": false,
"skip_blank_pages": false,
"use_page_counters": false,
"use_document_start": false,
"repair_continuation": false,
"repair_island_review": false,
"ignore_document_start": false,
"include_neighbor_context": false
},
"handler": "genhealth_classify_document_pages"
}Inputs
- Document Id
document_idexpressionrequiredRequired literal value or workflow expression.
- Force
forcebooleanOptional true-or-false value.
Default:
false - Page Categories
page_categoriesjsonrequiredRequired JSON value.
- Prompt Override
prompt_overridetextareaOptional text value.
- Low Confidence Threshold
low_confidence_thresholdnumberOptional numeric value.
- Skip Blank Pages
skip_blank_pagesbooleanOptional true-or-false value.
Default:
false - Blank Page Char Threshold
blank_page_char_thresholdnumberOptional numeric value.
- Use Page Counters
use_page_countersbooleanOptional true-or-false value.
Default:
false - Include Neighbor Context
include_neighbor_contextbooleanOptional true-or-false value.
Default:
false - Use Document Start
use_document_startbooleanOptional true-or-false value.
Default:
false - Ignore Document Start
ignore_document_startbooleanOptional true-or-false value.
Default:
false - Boundary Review
boundary_reviewbooleanOptional true-or-false value.
Default:
false - Min Group Pages
min_group_pagesnumberOptional numeric value.
- Min Documents To Split
min_documents_to_splitnumberOptional numeric value.
- Lead In Categories
lead_in_categoriestextOptional text value.
- Lead In Max Pages
lead_in_max_pagesnumberOptional numeric value.
- Two Pass
two_passbooleanOptional true-or-false value.
Default:
false - Whole Document
whole_documentbooleanOptional true-or-false value.
Default:
false - Reasoning Effort
reasoning_effortselectOptional selected identifier or value.
Options: Platform default (""), low ("low"), medium ("medium"), high ("high"), xhigh ("xhigh")
- Repair Sandwich
repair_sandwichbooleanOptional true-or-false value.
Default:
false - Repair Low Signal Categories
repair_low_signal_categoriestextOptional text value.
- Repair Continuation
repair_continuationbooleanOptional true-or-false value.
Default:
false - Repair Island Review
repair_island_reviewbooleanOptional true-or-false value.
Default:
false - Repair Confidence Threshold
repair_confidence_thresholdnumberOptional numeric value.
Outputs
successSuccesscachedCacheddocument_idDocument IdcategorizationCategorizationdocument_groupsDocument Groupspage_classificationsPage Classificationsgroup_countGroup Counttotal_pagesTotal Pagesabsorbed_pagesAbsorbed Pagesabsorbed_countAbsorbed Countblank_pagesBlank Pagesblank_countBlank CounterrorError
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
{
"type": "object",
"required": [
"document_id",
"page_categories"
],
"properties": {
"force": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"two_pass": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"document_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"whole_document": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"boundary_review": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"min_group_pages": {
"type": "number",
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"page_categories": {
"description": "Required JSON value.",
"x-workflow-field-type": "json"
},
"prompt_override": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "textarea"
},
"repair_sandwich": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"reasoning_effort": {
"enum": [
"",
"low",
"medium",
"high",
"xhigh"
],
"type": "string",
"description": "Optional selected identifier or value.",
"x-workflow-field-type": "select"
},
"skip_blank_pages": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"lead_in_max_pages": {
"type": "number",
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"use_page_counters": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"lead_in_categories": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"use_document_start": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"repair_continuation": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"repair_island_review": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"ignore_document_start": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"min_documents_to_split": {
"type": "number",
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"include_neighbor_context": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"low_confidence_threshold": {
"type": "number",
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"blank_page_char_threshold": {
"type": "number",
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"repair_confidence_threshold": {
"type": "number",
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"repair_low_signal_categories": {
"type": "string",
"description": "Optional text value.",
"x-workflow-field-type": "text"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"cached": {},
"success": {},
"blank_count": {},
"blank_pages": {},
"document_id": {},
"group_count": {},
"total_pages": {},
"absorbed_count": {},
"absorbed_pages": {},
"categorization": {},
"document_groups": {},
"page_classifications": {}
},
"additionalProperties": true
}