Skip to documentation
GenHealth integration

Classify Document Pages

Perform Classify Document Pages through GenHealth.

View as Markdown
genhealth_classify_document_pages
write

Inputs

  • document_id
    expressionrequired
    Document Id

    Required literal value or workflow expression.

  • force
    boolean
    Force

    Optional true-or-false value.

    Default: false

  • page_categories
    jsonrequired
    Page Categories

    Required JSON value.

  • prompt_override
    textarea
    Prompt Override

    Optional text value.

Outputs

  • successSuccess
  • cachedCached
  • document_idDocument Id
  • categorizationCategorization
  • document_groupsDocument Groups
  • page_classificationsPage Classifications
  • group_countGroup Count
  • total_pagesTotal Pages
  • errorError

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"
    },
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "page_categories": {
      "description": "Required JSON value.",
      "x-workflow-field-type": "json"
    },
    "prompt_override": {
      "type": "string",
      "description": "Optional text value.",
      "x-workflow-field-type": "textarea"
    }
  },
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "error": {},
    "cached": {},
    "success": {},
    "document_id": {},
    "group_count": {},
    "total_pages": {},
    "categorization": {},
    "document_groups": {},
    "page_classifications": {}
  },
  "additionalProperties": true
}
View all GenHealth actions