Document Data Extraction
The Document Data Extraction Workflow Builder block sends one business document to Lendflow’s extraction service and stores the categorized, extracted result. The current block representsarsen_ai_document_data_extraction.
Requirements
API flow
Use the dedicated document-extraction endpoint, not the general enrichment endpoint:- Send
POST /api/applications/{application_id}/document/extract_data. - Submit either multipart
fileorselected_file_id. - A successful request returns HTTP
201with an empty body and queues extraction. - Poll Get Commercial Data with
services[]=arsen_ai_document_data_extraction.
Data Orchestration availability and flow
The block is available in the Data Extraction group for business entities. Configure it with the path of an attached or uploaded PDF. Each execution processes one file and appends a stored extraction record; it does not merge multiple documents into one response.What the service returns
Representative response
The extraction schema depends on the uploaded document. This example shows only fields confirmed by the storage flow.Field meanings
Do not assume a tax-return, bank-statement, or other document schema unless those fields are present in the returned
response.
Errors and statuses
FAQ
Can I submit an image directly?
Can I submit an image directly?
No. The dedicated extraction request currently validates
mimes:pdf.Can I extract an existing application file?
Can I extract an existing application file?
Yes. Send its valid
selected_file_id instead of uploading file.Why does this guide not list every extracted field?
Why does this guide not list every extracted field?
The provider response varies by document type, and the current Lendflow code does not define one stable public extraction schema. Inspect the returned
response instead of assuming fields.