> ## Documentation Index
> Fetch the complete documentation index at: https://www.wirebase.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Workflows

> Build multi-step AI pipelines visually, then call them from chat with an @mention.

## Overview

A workflow is a fixed sequence of steps, drawn as connected nodes on a canvas. Data flows from an **Input** node, through steps like LLM calls, conditions, HTTP requests and connector tools, to an **Output** node.

Once published, a workflow becomes a tool: mention it in chat with `@` and the assistant fills in its inputs from your message and runs it.

Find workflows under **Workspace → Workflows**.

<Note>
  Creating and editing workflows requires the **editor** or **admin** role. Every member can run workflows shared with them.
</Note>

## Build a workflow

<Steps>
  <Step title="Create it">
    Click **Create Workflow**. Give it a name and description. The assistant sees the name as the tool name and the description as the tool description, so make both clear.
  </Step>

  <Step title="Define inputs">
    Select the **Input** node and add input fields. These are the parameters the assistant will provide when it calls the workflow.
  </Step>

  <Step title="Add steps">
    Use **Add Next Node** to add nodes. Inside a node, type `/` to reference the output of an earlier node.
  </Step>

  <Step title="Collect the result">
    Connect the last steps to the **Output** node and choose which values to return.
  </Step>

  <Step title="Test it">
    Click **Run**, enter test values for the inputs, and check each node's result.
  </Step>

  <Step title="Publish">
    Click **Publish**. Published workflows are available in chat but can't be edited. Switch back to **Draft** to edit; while in draft, the workflow is unavailable in chat.
  </Step>
</Steps>

The editor auto-saves every 10 seconds. Use **Auto Layout** to tidy the canvas.

## Node types

| Node | What it does |
| - | - |
| **Input** | Defines the parameters the workflow accepts. |
| **LLM** | Generates text with a model. Turn on **Structured Output** to return JSON matching a schema. |
| **Condition** | Branches with if / else-if / else logic on earlier values. |
| **Tool** | Runs a connector tool. You write instructions; an LLM fills in the tool's parameters. |
| **HTTP** | Calls an external API or webhook. |
| **Template** | Builds text, such as an email or report, from earlier values. |
| **Code** | Transforms data with sandboxed JavaScript. |
| **Note** | A comment on the canvas. Doesn't run. |
| **Output** | Collects and returns the final result. |

See the [node reference](/docs/developer-guide/workflow-nodes) for every option.

## Share a workflow

Set visibility to **Private** (only you), **Read Only** (everyone can use it, only you edit) or **Public** (everyone can use and edit). Shared workflows appear under **Org Workflows**.

## Run on a schedule

To run a workflow automatically, create an [automation](/docs/user-guide/workspace/automations) that targets it.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.