ExtractStructuredBoxFileMetadata 2.4.0

Bundle
org.apache.nifi | nifi-box-nar
Description
Extracts metadata from a Box file using Box AI. The extraction can use either a template or a list of fields. The extracted metadata is written to the FlowFile content as JSON.
Tags
ai, box, extract, metadata, storage
Input Requirement
REQUIRED
Supports Sensitive Dynamic Properties
false
Properties
Relationships
Name Description
failure A FlowFile is routed to this relationship if an error occurs during metadata extraction.
file not found FlowFiles for which the specified Box file was not found will be routed to this relationship.
success A FlowFile is routed to this relationship after metadata has been successfully extracted.
template not found FlowFiles for which the specified metadata template was not found will be routed to this relationship.
Writes Attributes
Name Description
box.id The ID of the file from which metadata was extracted
box.ai.template.key The template key used for extraction (when using TEMPLATE extraction method)
box.ai.extraction.method The extraction method used (TEMPLATE or FIELDS)
box.ai.completion.reason The completion reason from the AI extraction
mime.type Set to 'application/json' for the JSON content
error.code The error code returned by Box
error.message The error message returned by Box
See Also