> For the complete documentation index, see [llms.txt](https://docs.stackai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stackai.com/workflow-builder/inputs/url-input-node.md).

# URL Input Node

### What is a URL Node?

<figure><img src="/files/prLxQO3OmjixiO6dEiaP" alt=""><figcaption></figcaption></figure>

The URL Node allows users to add a URL to the flow and scrape the HTML or Metadata of a website to use as an input to the LLM. If an LLM node returns a URL as its output, it can feed into the URL node to scrape a website in a more complex workflow. The entire output of the URL Node will be given to the LLM as context.

#### **Mode**

Defines what type of content to fetch from the provided URL.

* `Page HTML`: Downloads the full HTML content of the page. Suitable for use cases like content parsing, summarization, or extraction of visible page elements.
* `Metadata only`: Fetches only metadata (e.g., `<title>`, `<meta>` tags such as description and Open Graph data). Useful for lightweight previews or indexing.

#### **Scrape Subpages**

When enabled, the node will attempt to crawl and include linked subpages within the same domain.

#### **Enable URL as Input**

When checked, this enables dynamic input of URLs via upstream nodes or user input, rather than hardcoding a static value in the interface.

### How to use the URL Node

1. Add a URL node to your flow.
2. Connect the URL node to an LLM node.
3. Mention the URL node in the LLM node by pressing **"/"** and selecting the URL node.
4. Add an Output node to your flow.
5. Connect the Output node to the LLM node.

### URL Node Settings

If you click the gear icon in the node, you will see the available settings.

**Chunking Settings**

* **Chunking Algorithm**: Defines how the data is split (e.g., Sentence-based).
* **Chunk Overlap**: The number of overlapping tokens between chunks.
* **Chunk Length**: Max length of each chunk sent to the LLM.

**Additional Features**

* **Advanced Data Extraction**: Enable more precise field-level parsing (toggle option).
* **Text in Images (OCR)**: Extract and include text from profile images or banners (toggle option)


---

# 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.stackai.com/workflow-builder/inputs/url-input-node.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.
