---
title: "OCR Extract Node"
description: "Optimize OCR extraction processes with customizable service IDs in your projects seamlessly. (Gitana 4.0)"
product: "Gitana"
version: "4.0"
url: "/documentation/gitana/4.0/engine/behaviors/actions/ocr-extract-node"
---

# OCR Extract Node

ID: `ocrExtractNode`

Runs OCR Extraction against a node.

### Configuration

| Property | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| serviceId | text | false |  | The ID of an optional OCR Extraction Service to be used. If `serviceId` is not provided, the default OCR Extraction Service for the project will be used (if available). |

The configuration for this action is described using JSON Schema like this:

```
{
    "title": "OCR Extract Node",
    "properties": {
        "serviceId": {
            "type": "string",
            "title": "Service ID"
        }
    }
}
```

## Example

```
{
    "serviceId": "726fe2708dc27c7f8c7b"
}
```

## See Also

- [OCR](/documentation/gitana/4.0/engine/services/ocr.md), which describes setting up an OCR Extraction Service and running this action from a Rule on a "Drop Zone" folder
- The [f:auto-ocr-extract](/documentation/gitana/4.0/engine/aspects/auto-ocr-extract.md) feature, which runs OCR extraction automatically whenever a node's `default` attachment is created or updated
