LF LogoLFX Logo

DocuAgent

Drop files here or click to browse

Supported formats: PDF, PNG, JPG, JPEG, BMP, TIFF, XLS, or XLSX1 file: extract as-is. Multiple files: auto-merge into one PDF, then extract.

For automation

1 file: create execution, upload to blob, poll GET /{id}. Supports PDF, images, XLS, XLSX. For variant field configs: set use_parent_config so the server resolves the parent from the child field config’s parent_id, or send parent_config_id to pick the parent explicitly (takes precedence). Omit both when no parent merge is needed. Step payloads below mirror the form: values appear as you type or select; placeholder tokens (e.g. {order_id}) show when the matching field is still empty.

POSTStep 1
/execution/sdu-extraction-executions

Create execution, get SAS URI. Optional JSON body field: parent_config_id (explicit parent merge; takes precedence over use_parent_config).

{
  "field_config_id": "{field_config_id}",
  "order_id": "{order_id}",
  "nation": "{nation}",
  "possible_doc_type": [
    "{doc_type}"
  ],
  "enable_image_preprocessing": true,
  "validate_doc_type": false,
  "flash_mode": false,
  "use_parent_config": false
}
POSTStep 2
/execution/workflows/blob-upload

Upload file to blob (multipart). Supports PDF, images, XLS, XLSX.

{
  "sasUri": "{from_step_1_response.fileSasUri}",
  "file": "File"
}
GETStep 3
/execution/sdu-extraction-executions/{id}

Poll until output is ready