Blocks
Mistral Parser
Extract text from PDF documents
Extract text and structure from PDF documents using Mistral's OCR API. Either enter a URL to a PDF document or upload a PDF file directly. Configure processing options and get the content in your preferred format. For URLs, they must be publicly accessible and point to a valid PDF file. Note: Google Drive, Dropbox, and other cloud storage links are not supported; use a direct download URL from a web server instead.
Block Preview
Mistral Parser
Extract text from PDF documents
Usage
- Add the block to your workflow and connect it to the upstream step.
- Configure any required credentials or tokens in the inputs.
- Fill in required inputs and optional parameters for the run.
- Run a test execution, inspect outputs, and iterate before deploying.
- Deploy the mistral_parse block with monitoring enabled in production.
Inputs (UI)
Select Input Method
dropdownLayout: full
Options: PDF Document URL, Upload PDF Document
PDF Document URL
short-inputPlaceholder: Enter full URL to a PDF document (https://example.com/document.pdf)
Layout: full
Condition: inputMethod = "url"
Upload PDF
file-uploadLayout: full
Condition: inputMethod = "upload"
Output Format
dropdownLayout: full
Options: Markdown (Formatted), Plain Text, JSON (Raw)
Specific Pages
short-inputPlaceholder: e.g. 0,1,2 (leave empty for all pages)
Layout: full
API Key
short-inputPlaceholder: Enter your Mistral API key
Layout: full
Inputs (API)
inputMethod
stringOptional
filePath
stringOptional
fileUpload
jsonOptional
apiKey
stringRequired
resultType
stringOptional
pages
stringOptional
Outputs
Primary response type:
{
"content": "string",
"metadata": "json"
}