Table of Contents
Extract file name
Table of Contents
The Extract file name node allows you to automatically extract values from an asset's file name and write them to metadata fields during processing. This is useful when file names contain structured information, such as product IDs, categories, project codes, or author information.
You can also preserve the original file name by storing it in a metadata field.
Using the Extract file name action

Keep the original file name
Select Keep the original file name in a metadata field to store the original file name as metadata.
When enabled:
- Select the metadata field where the original file name should be stored.
- The stored value contains only the file name.
- The file extension is not included.
Example
File name: foto_AA1000_0099-XX+GG+GG.jpg
Stored value: foto_AA1000_0099-XX+GG+GG
Split file name
The feature splits the file name into sections using configurable separator characters. Each extracted section is then written to a selected metadata field.
Supported separators:
- Hyphen (-)
- Underscore (_)
- Plus sign (+)
- No separator
The file extension is ignored during extraction.
Configure file name partitions
A partition defines how part of the file name is extracted and where the extracted value is stored.
For each partition, configure:
| Setting | Description |
|---|---|
| Split character | Determines where the file name is split. |
| Metadata field | The destination metadata field for the extracted value. |
| Remove | Delete the partition. |
When No separator is selected, all remaining text after the previous partition is extracted, and no further splitting is performed.
Missing separators
If the configured separator is not found in the file name, processing stops, and the remaining metadata fields are left empty.
Manage partitions
Add partition - creates a new extraction rule.
Remove - removes the partition; you need to confirm this action.
Reorder partitions - You can drag and drop partitions to change the extraction order. Extraction is performed in the order defined by the partitions.
Partition limits
A maximum of 12 partitions can be configured.
When a new partition is added, Save remains disabled until all required settings are completed.
Preview the extraction result
The preview section (at the bottom of the dialog) displays the configured extraction pattern and updates as you make changes.
Use the preview to verify that the file name will be split as expected before saving the configuration.
Save the configuration
Save is only available when all required fields have been completed.
When you select Save, Flow validates the configuration and saves the settings.
Select Cancel to discard your changes.
Example - Extract metadata from a file name
File name: foto_AA1000_0099-XX+GG+GG.jpg
| Metadata field | Separator |
|---|---|
| Field 100 | _ |
| Field 101 | _ |
| Field 102 | + |
| Field 103 | No separator |
Keep original file name is enabled.
| Metadata field | Extracted value |
|---|---|
| Original file name field | foto_AA1000_0099-XX+GG+GG |
| Field 100 | foto |
| Field 101 | AA1000 |
| Field 102 | 0099-XX |
| Field 103 | GG+GG |