Parse PDF tool - Writer AI Studio

Overview

The Parse PDF tool block extracts text content from PDF files stored in the Writer cloud. Use it to convert PDF documents into searchable, analyzable text that can be used in AI workflows, content analysis, or data extraction processes.

Common use cases

How it works

  1. PDF input: Provide a PDF file UUID from the Writer cloud. The file must be uploaded to Writer first; you can upload a file first using the “Add files to Writer Cloud” block. You can also use files uploaded via the API, no-code agents, or the Writer cloud UI.
  2. Content extraction: The block extracts text content from the PDF using the Writer API.
  3. Format selection: Choose to enable markdown formatting for the extracted content.
  4. Text processing: Converts PDF content into the selected format and returns it as a string.

The block handles PDF parsing, text extraction, and formatting. The extracted text maintains the document’s structure.

When to enable markdown formatting

You can choose to parse the PDF content as plain text or markdown. The default is plain text.When to use markdown:

When to use plain text:

Examples

Document analysis workflow

This example shows how to extract and analyze text from PDF documents in a complete workflow.Blueprint Flow:

  1. UI Trigger → User uploads PDF document
  2. Add files to Writer Cloud → Uploads PDF document to Writer cloud
  3. Parse PDF tool → Extracts text from PDF document
  4. Text generation → Creates analysis and summary
  5. Set state → Stores analysis for user review

Block Configuration:

The Parse PDF tool only accepts file UUID from the Writer cloud. Files must be uploaded first using the “Add files to Writer Cloud” block or File input component.

Fields

Name Type Control Default Description Options Validation
File Text - "" UUID of a file object in Files API. - Format: uuid
Enable markdown Boolean - yes - - -

End states

Below are the possible end states of the block call.

Name Field Type Description
Success - success The PDF was parsed successfully.
Error - error There was an error parsing the PDF.

The Parse PDF tool block returns the extracted text content as a string. Access the output using the @{result} variable in the block that follows it in a blueprint.