# Overview

Workflows help you automate a task from start to finish. You build a workflow by adding nodes to a canvas and connecting them.

## What a workflow includes

Most workflows have 3 parts:

* **Trigger:** starts the workflow.
* **Nodes:** process data step by step.
* **Output:** shows or sends the final result.

Each node does one job. Together, they complete the full process.

{% hint style="info" %}
If you are new to workflows, start with one input, one processing step, and one output.
{% endhint %}

## How data moves

Lines between nodes show how data moves through the workflow. When the workflow runs, each node uses the result from the previous step. Some nodes only accept specific input types.&#x20;

**For example**, a text-based AI step expects text input.

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

## Add, rename, and test nodes

Use **+ Add** to insert a new node.

Use the three-dot menu on a node to rename it or add a description.

Use ▶ to test the node before executing. You can enter sample inputs and confirm the result looks right.

<figure><img src="/files/3d7IAXMH4SXdrMeAyZYY" alt=""><figcaption></figcaption></figure>

## Reuse data from earlier steps

Each node creates an output you can use later in the workflow.

Type `@` to insert available values from previous steps.

**For example**, if your trigger collects text, you can reuse that text in another node.

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

## Configure each node

Most nodes include basic settings directly on the node card.

**For example**, you can choose the AI model, output format, or action type.

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

## Use advanced settings when needed

Select **Show Advanced Configurations** to open more options.

Use these settings when you need extra control over behavior, inputs, or outputs.

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

## Tips for first-time users

* Start with one trigger, one node, and one output.
* Rename important nodes so the flow stays easy to read.
* Check **Result** after each change instead of testing everything at the end.

### Next steps

* Learn how to [create a workflow](/workflow-builder/create-a-workflow.md).
* Learn how to [manage a workflow](/workflow-builder/manage-a-workflow.md).
* Browse the [Node Reference](/workflow-builder/nodes.md).


---

# Agent Instructions: 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/workflow-builder/overview.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.
