# Stamp Document Footer

> Perform Stamp Document Footer through GenHealth.

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

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

- Handler: `genhealth_stamp_document_footer`

## 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": {
    "page_scope": "all"
  },
  "handler": "genhealth_stamp_document_footer"
}

```

[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.
- `stamp_text` — Stamp Text (text, required)
  Required text value.
- `received_date` — Received Date (expression, required)
  Required literal value or workflow expression.
- `page_scope` — Page Scope (select)
  Optional selected identifier or value.
  Default: `"all"`
  Options: All pages ("all"), First page ("first")
- `output_title` — Output Title (expression)
  Optional literal value or workflow expression.

## Outputs

- `success` — Success
- `document_id` — Document Id
- `title` — Title
- `stamp_text` — Stamp Text
- `page_scope` — Page Scope
- `page_count` — Page Count
- `sha256` — Sha256
- `was_existing` — Was Existing
- `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": [
    "document_id",
    "stamp_text",
    "received_date"
  ],
  "properties": {
    "page_scope": {
      "enum": [
        "all",
        "first"
      ],
      "type": "string",
      "default": "all",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "stamp_text": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "output_title": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "received_date": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "title": {},
    "sha256": {},
    "success": {},
    "page_count": {},
    "page_scope": {},
    "stamp_text": {},
    "document_id": {},
    "was_existing": {}
  },
  "additionalProperties": true
}
```
