# Set Document Labels

> Perform Set Document Labels through DocuTrack.

Source: [https://genhealth.ai/docs/workflows/integrations/docu-track/docutrack_set_document_labels](https://genhealth.ai/docs/workflows/integrations/docu-track/docutrack_set_document_labels)

Integration: [DocuTrack](https://genhealth.ai/docs/workflows/integrations/docu-track.md)

- Handler: `docutrack_set_document_labels`

- Connection type: `docutrack`

## 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": "DocuTrack",
  "params": {},
  "handler": "docutrack_set_document_labels"
}

```

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

## Inputs

- `docutrack_document_id` — Docutrack Document Id (expression, required)
  Required literal value or workflow expression.
- `department` — Department (expression)
  Optional literal value or workflow expression.
- `document_type` — Document Type (expression)
  Optional literal value or workflow expression.

## Outputs

- `success` — Success
- `document` — Document
- `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": [
    "docutrack_document_id"
  ],
  "properties": {
    "department": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "document_type": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "docutrack_document_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

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