Skip to main content

PDF to Markdown

Learning goals​

Process a binary document through a server conversion Bead.

Quick reference: Level 3; intermediate; output type markdown; estimated cost: none.

Architecture​

Text alternative: The graph contains FlowBeads/input, Conversion/PDFToMarkdownNode, Test/DataProbe, FlowBeads/output. It accepts public input and returns a public result.

Prerequisites​

  • A base64-encoded PDF fixture

Connections​

None.

Secrets​

No paid secret is required.

Build and run​

  1. Replace the placeholder fixture.
  2. Run the conversion.
  3. Inspect Markdown and conversion errors.

Use this fixture in the Test panel:

Base64 PDF
<replace-with-base64-pdf>

Expected result​

  • Markdown is returned
  • Data Probe summarizes the text

Open the persisted run and verify the node timeline. Browser sinks appear in the Inspector; public output appears in the run result when enabled.

Side effects and cost​

This Braid has no external side effect.

Cost: none. DataBraid stores summaries and structured errors, not secret values.

Extensions​

  • Change the fixture and compare the node-level timeline.
  • Add a Data Probe before the final output.
  • Save a known-good fixture for regression testing.