> For the complete documentation index, see [llms.txt](https://craft-agent.gitbook.io/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://craft-agent.gitbook.io/home/core-concepts/workflows.md).

# Workflows

Workflows are the heart of Craft Agent. A workflow is a visual pipeline of connected AI nodes that process data step by step.

## What is a Workflow?

Think of a workflow as a recipe:

* Each **node** is a step (ingredient or action)
* **Connections** between nodes define the order and data flow
* **Running** the workflow executes all steps in sequence

## Workflow States

| State         | Description                           |
| ------------- | ------------------------------------- |
| **Draft**     | Being edited, not yet run             |
| **Running**   | Currently executing                   |
| **Completed** | Finished successfully                 |
| **Error**     | Something went wrong during execution |

## Creating Workflows

There are three ways to create a workflow:

### 1. From Scratch

Click **"+"** and start with a blank canvas. Best for custom use cases.

### 2. From Templates

Go to **Settings → Templates** and pick a pre-built workflow. Best for learning.

### 3. From Community

Go to **Settings → Community** and import a workflow shared by another user.

## Managing Workflows

### Rename

Click the workflow title at the top of the canvas to rename it.

### Duplicate

Use the context menu on a workflow card to create a copy.

### Delete

Swipe left (iOS) or use the context menu to delete a workflow.

### Share

Share your workflow to the community so others can use it.

## Execution

When you run a workflow:

1. Nodes execute in **topological order** (following the connections)
2. Each node waits for its inputs before processing
3. Output from one node automatically feeds into the next
4. Credits are consumed based on the AI models and tools used

## Limits

| Plan | Max Workflows | Max Nodes per Workflow |
| ---- | ------------- | ---------------------- |
| Free | Unlimited     | Unlimited              |
| Pro  | Unlimited     | Unlimited              |

***

> **Tip:** Use meaningful names for your workflows. It makes them easier to find and share.
