Document metadata extraction Node

Overview

The Document Metadata Field Extraction Node extracts specific metadata field from document objects within your flow. This node is particularly useful when you need to access and utilize document metadata such as source information, timestamps, or custom metadata fields that were added during document processing.

Usage cost: 0 credit

Configuration

Settings

  1. Document Selection

    • Document*: Select the source document variable

    • Only single documents are supported (not document arrays)

  2. Field Configuration

    • Metadata Field*: Name of the metadata field to extract

    • Supports both standard and custom metadata fields

Output Ports

  • metadata_field_value (string, optional): The extracted field value

    • Returns null if the field doesn't exist

    • Always converts the value to string format

Best Practices

  1. Field Selection

    • Verify field names are exact matches

    • Consider case sensitivity

    • Use consistent metadata field naming across your flow

Common Issues

  • Field name mismatches

  • Missing metadata fields

  • Unexpected metadata value types

Last updated