# Label Document

> Perform Label Document through Medsender.

Source: [https://genhealth.ai/docs/workflows/integrations/medsender/medsender_label_document](https://genhealth.ai/docs/workflows/integrations/medsender/medsender_label_document)

Integration: [Medsender](https://genhealth.ai/docs/workflows/integrations/medsender.md)

- Handler: `medsender_label_document`

- Connection type: `medsender`

## 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": "Medsender",
  "params": {
    "archived": false
  },
  "handler": "medsender_label_document"
}

```

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

## Inputs

- `file_token` — File Token (expression, required)
  Required literal value or workflow expression.
- `label_name` — Label Name (expression, required)
  Required literal value or workflow expression.
- `archived` — Archived (boolean)
  Optional true-or-false value.
  Default: `false`

## Outputs

- `success` — Success
- `changed` — Changed
- `skipped` — Skipped
- `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": [
    "file_token",
    "label_name"
  ],
  "properties": {
    "archived": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "file_token": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "label_name": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "changed": {},
    "skipped": {},
    "success": {}
  },
  "additionalProperties": true
}
```
