Detect Page Logo
Perform Detect Page Logo through GenHealth.
genhealth_detect_page_logowrite
Use 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": {
"require_separate_lines": true
},
"handler": "genhealth_detect_page_logo"
}Inputs
- Document Id
document_idexpressionrequiredRequired literal value or workflow expression.
- Target Tokens
target_tokensjsonrequiredRequired JSON value.
- Region Box
region_boxjsonOptional JSON value.
- Require Separate Lines
require_separate_linesbooleanOptional true-or-false value.
Default:
true
Outputs
successSuccesserrorErrordocument_idDocument Idhas_logoHas Logologo_page_numbersLogo Page Numberslogo_page_countLogo Page Counttotal_pagesTotal PagespagesPages
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",
"target_tokens"
],
"properties": {
"region_box": {
"description": "Optional JSON value.",
"x-workflow-field-type": "json"
},
"document_id": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"target_tokens": {
"description": "Required JSON value.",
"x-workflow-field-type": "json"
},
"require_separate_lines": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"error": {},
"pages": {},
"success": {},
"has_logo": {},
"document_id": {},
"total_pages": {},
"logo_page_count": {},
"logo_page_numbers": {}
},
"additionalProperties": true
}