Process

Process documents without operating document workers.

Upload a file, start an operation, and read back structured output. Flowyn runs the parsers and converters on managed workers and links every output to the job that produced it.

PDF received
test
quarterly-report.pdf
PDF · 18 pages · 4.2 MB
Accepted
Stored before any processing starts. Job job_parse_7ab2 was returned with HTTP 202.
Result
Waiting for the worker. Poll GET /v1/file-jobs/{id} until it finishes.
job
job_parse_7ab2
attempt
—
Problem

What teams build again and again

Every application that touches PDFs ends up running conversion binaries, parsers, upload handling, output storage, and cleanup somewhere other than the web request. That layer breaks in production long after the feature shipped.

What Flowyn provides

  • 01PDF parsing into text, Markdown, or structural JSON
  • 02DOCX parsing in document order
  • 03HTML to PDF rendering in an isolated worker
  • 04Intelligent splitting of mixed PDFs into child documents
  • 05Outputs linked to the source file and job
Behavior

What exactly happens

At the product-contract level. This is what your application and your agent can rely on.

  1. 01

    Upload

    Your request stores the operation and returns a job id with HTTP 202 before any processing starts.

  2. 02

    Start

    A managed worker claims the job, runs the operation, and records an attempt. Failures get up to 3 attempts.

  3. 03

    Work

    Outputs are stored as files attached to the job. Pages without a text layer stay empty; Flowyn does not perform OCR.

  4. 04

    Read

    You read the file job until it is complete, then download or read the output.

Statesqueuedprocessingretryingcompletefailed
API example

One request. One resource you can read back.

Use an Idempotency-Key on durable create calls. Exact schemas are in the docs and OpenAPI.

For coding agents

A coding agent uploads the file, calls POST /v1/pdf/parse, keeps the job id, polls GET /v1/file-jobs/{id} until status is complete, then downloads the output file. Every field is described in the OpenAPI document.

POSThttps://api.flowyn.dev/v1/pdf/parse202
curl -X POST https://api.flowyn.dev/v1/pdf/parse \
  -H "Authorization: Bearer flw_test_••••" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: parse-quarterly-001" \
  -d '{
    "file_id": "9c1e5b7a-2d4f-4a6b-8e3c-1f0a7d2b5c64",
    "output": "markdown"
  }'

Frequently asked questions

Does Flowyn perform OCR?
No. Flowyn reads the text layer of a PDF. Pages without a text layer are returned empty. Nothing is inferred.
Is document processing synchronous?
No. Every operation returns HTTP 202 with a job. Read the file job until it is complete, or have your system notified with an event.
Where do outputs live?
Outputs are stored by Flowyn as files linked to the job and the source file. Download them through the API or the dashboard.

Start with documents & files.

Create a workspace, make your first call in the test environment, and inspect every attempt.