# Detect Page Logo

> Perform Detect Page Logo through GenHealth.

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

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

- Handler: `genhealth_detect_page_logo`

## 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": {
    "require_separate_lines": true
  },
  "handler": "genhealth_detect_page_logo"
}

```

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

## Inputs

- `document_id` — Document Id (expression, required)
  Required literal value or workflow expression.
- `target_tokens` — Target Tokens (json, required)
  Required JSON value.
- `region_box` — Region Box (json)
  Optional JSON value.
- `require_separate_lines` — Require Separate Lines (boolean)
  Optional true-or-false value.
  Default: `true`

## Outputs

- `success` — Success
- `error` — Error
- `document_id` — Document Id
- `has_logo` — Has Logo
- `logo_page_numbers` — Logo Page Numbers
- `logo_page_count` — Logo Page Count
- `total_pages` — Total Pages
- `pages` — Pages

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": [
    "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

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "pages": {},
    "success": {},
    "has_logo": {},
    "document_id": {},
    "total_pages": {},
    "logo_page_count": {},
    "logo_page_numbers": {}
  },
  "additionalProperties": true
}
```
