> For the complete documentation index, see [llms.txt](https://docs.diaflow.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.diaflow.io/getting-started/lets-start-with-the-basics/how-a-node-works.md).

# How a node works

For example, a component can convert a **YouTube video into text**. In this case, a video is provided as input, and the component takes over the transcription to generate text output.&#x20;

A component contains inputs as mentioned above, but also advanced configurations that provide different functionality, such as adjusting the flow cache or the precision of the answer.

Use a component to perform one task in a workflow. Each component receives data, processes it, and returns a result.

## **How a node works**

Each component usually has:

* **Input:** the data it receives
* **Nodes:** the advanced configurations you choose
* **Output:** the result it produces

Connect the output of one node to the input of the next one to build your flow.

For example, a node can turn a **YouTube video into text**.

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

### Next steps

* Learn the full structure in [How a Workflow works](/getting-started/lets-start-with-the-basics/how-a-workflow-works.md).
* Build an example in [Creating your first Workflow](/getting-started/lets-start-with-the-basics/creating-your-first-workflow.md).
* See all nodes in [Node Reference](/workflow-builder/nodes.md).


---

# 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:

```
GET https://docs.diaflow.io/getting-started/lets-start-with-the-basics/how-a-node-works.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
