> For the complete documentation index, see [llms.txt](https://docs.flora.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flora.ai/nodes/document-node/pdf-to-text.md).

# PDF to Text

## Summary

There are two ways to get text from a document node into your workflow: wire it to a downstream text node to pass the full document as context, or open the fullscreen reader and select specific text to spawn it as a text node.

## How to use

### Connect downstream

1. Drop a PDF onto the canvas to create a Document Node.
2. Drag a connection from the document node to a Text Node.
3. The downstream node receives the full document as context.

### Extract selected text from fullscreen

1. Click the fullscreen button on the document node to open the focused viewer.
2. Select any text on the page.
3. Right-click the selection and choose **Create text node** — FLORA spawns a text node on the canvas containing exactly what you selected.

## Example workflows

* **Research summarizer** — Document Node → Text Node prompted with "Summarize the methodology of this paper in three sentences."
* **Brand-voice rewrite** — Document Node (style guide) → Text Node ("Rewrite this draft in the voice and tone described above.")
* **Pull a specific quote** — open fullscreen, select the passage, right-click → Create text node, then wire that text node wherever you need it.
* **Script breakdown** — Document Node (screenplay) → Batch Node → per-scene Text Node prompted with "Pull out every prop and wardrobe note in this scene."

{% hint style="info" %}
Even more connectivity is coming soon! If you have thoughts, comments, or suggestions, please let us know.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.flora.ai/nodes/document-node/pdf-to-text.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
