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

# Workflows

> Build linear automations by chaining specialized agents together.

A workflow connects multiple agents in a sequence.
The output of one agent becomes the input of the next, letting you automate complex, multi-step processes.

## What workflows can do

Use workflows to automate processes like:

* research → summarize → send email
* monitor news → filter by topic → post to Slack
* receive form submission → enrich lead → add to CRM
* pull calendar → draft agenda → send to team

## Build a workflow

<Steps>
  <Step title="Open Workflows">
    Click **Workflows** in the sidebar and then **New Workflow** to start in the [builder](https://dopamine.chat/builder).
  </Step>

  <Step title="Add steps">
    Add steps and assign an agent to each one.
  </Step>

  <Step title="Define the flow">
    Configure how each step connects to the next.
  </Step>

  <Step title="Save and run">
    Save the workflow. Run it manually or attach a trigger to automate it.
  </Step>
</Steps>

## Example: daily news briefing

| Step | Agent      | Action                               |
| ---- | ---------- | ------------------------------------ |
| 1    | Monitor    | Searches for news on a topic         |
| 2    | Summarizer | Condenses results into bullet points |
| 3    | Sender     | Posts the summary to Telegram        |

## Workflows vs teams

|                  | Workflows                | Teams                    |
| ---------------- | ------------------------ | ------------------------ |
| **Structure**    | Linear (step A → step B) | Collaborative            |
| **Task routing** | Fixed, pre-defined       | Dynamic, based on goal   |
| **Best for**     | Repeatable processes     | Tasks requiring judgment |

<Tip>
  Specialise each agent for its step - a focused agent performs better than a general one. Workflows often pair best with [triggers](/triggers) and [integrations](/integrations).
</Tip>

## Next steps

* [Set up a trigger](/triggers) to run your workflow automatically
* [Build a team](/teams) for collaborative agent tasks

<RelatedLinks pageId="workflows" />
