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

# Workflows

> Design multi-step automations with a visual builder

<img src="https://mintcdn.com/sequence/dShTYSDybLSJ4uGB/images/product/agents/workflows_hero.png?fit=max&auto=format&n=dShTYSDybLSJ4uGB&q=85&s=ffcd65a854ea4fbb4638377288c209c2" alt="Workflows" width="1024" height="566" data-path="images/product/agents/workflows_hero.png" />

Workflows let you design quote approvals, contract intake, and other multi-step processes on a visual canvas. When a run requires human review, it sends a notification to [Watchtower](/agents/watchtower).

**Use Workflows to:**

<Card title="Route runs by conditions" horizontal href="/agents/workflows#switch-node" icon="code-branch" />

<Card title="Pause for human review" horizontal href="/agents/workflows#review-node" icon="shield-check" />

<Card title="Execute actions on approval" horizontal href="/agents/workflows#action-node" icon="bolt" />

## Getting started

<Steps>
  <Step title="Create a workflow and select a trigger">
    Go to Workflows in the sidebar and create a new workflow. Click the Start node and choose a trigger: Quote approval (when a sales rep submits a quote) or Contract uploaded (when a contract PDF is uploaded or forwarded). One active published workflow applies per trigger at a time.

    <Frame>
      <img src="https://mintcdn.com/sequence/dShTYSDybLSJ4uGB/images/product/agents/workflows_triggers.png?fit=max&auto=format&n=dShTYSDybLSJ4uGB&q=85&s=513c00190e36319e2695198aa2524a30" alt="Start node with trigger selection" width="1024" height="629" data-path="images/product/agents/workflows_triggers.png" />
    </Frame>
  </Step>

  <Step title="Add nodes and connect them">
    Use the toolbar at the bottom to add Switch, Review, Action, End, and Note nodes. Connect them by dragging edges between nodes. Click any node to open its configuration panel. Save to preserve your draft; Publish when the workflow is ready to go live.

    <Frame>
      <img src="https://mintcdn.com/sequence/dShTYSDybLSJ4uGB/images/product/agents/workflows_hero.png?fit=max&auto=format&n=dShTYSDybLSJ4uGB&q=85&s=ffcd65a854ea4fbb4638377288c209c2" alt="Workflow canvas" width="1024" height="566" data-path="images/product/agents/workflows_hero.png" />
    </Frame>
  </Step>
</Steps>

## Node types

| Node   | Purpose                                                         |
| ------ | --------------------------------------------------------------- |
| Switch | Route the run down different branches based on conditions       |
| Review | Pause the run and create an approval task in Watchtower         |
| Action | Run a Sequence operation (publish quote, create schedule, etc.) |
| End    | Terminate a branch                                              |
| Note   | Canvas annotation; does not execute                             |

## Switch node

The Switch node evaluates conditions against the quote or contract data and routes the run down the matching branch. Add branches with + and remove them with −. The final branch is always Else (catch-all for runs that do not match any condition).

Each branch has one or more conditions; multiple conditions on a branch use AND logic. Available properties: Total contract value, Total discount value, Products, Currency, Raw text, Comment.

<Frame>
  <img src="https://mintcdn.com/sequence/dShTYSDybLSJ4uGB/images/product/agents/workflows_switch_conditions.png?fit=max&auto=format&n=dShTYSDybLSJ4uGB&q=85&s=15952bcf652efa0a8a87800d56506847" alt="Switch condition builder" width="1024" height="575" data-path="images/product/agents/workflows_switch_conditions.png" />
</Frame>

## Review node

The Review node pauses the workflow and creates a task in Watchtower assigned to the approvers you configure. The run holds until someone completes it. Configure the review type (e.g. Quote) and add approvers. The node exposes Approved and Rejected output paths; connect each to the appropriate next step.

<Frame>
  <img src="https://mintcdn.com/sequence/dShTYSDybLSJ4uGB/images/product/agents/workflows_review.png?fit=max&auto=format&n=dShTYSDybLSJ4uGB&q=85&s=ff25a728920b03c83eba984e2376725b" alt="Review node configuration" width="1024" height="629" data-path="images/product/agents/workflows_review.png" />
</Frame>

## Action node

The Action node runs a Sequence operation when a condition is met or a review is approved. Available actions: Publish quote, Create schedule, Contract extraction.

<Frame>
  <img src="https://mintcdn.com/sequence/dShTYSDybLSJ4uGB/images/product/agents/workflows_action.png?fit=max&auto=format&n=dShTYSDybLSJ4uGB&q=85&s=b83abea1c11962fe49c4941f34bb2daf" alt="Action node configuration" width="1024" height="629" data-path="images/product/agents/workflows_action.png" />
</Frame>

## Note node

The Note node is a canvas annotation. It does not execute. Use it to explain branches, record policy decisions, or leave context for future editors.

<Frame>
  <img src="https://mintcdn.com/sequence/dShTYSDybLSJ4uGB/images/product/agents/workflows_note.png?fit=max&auto=format&n=dShTYSDybLSJ4uGB&q=85&s=b1d4d554366a272f6894eb9c5c3d8832" alt="Note node on canvas" width="1024" height="630" data-path="images/product/agents/workflows_note.png" />
</Frame>

## Publishing

Workflows start as drafts. Save and return as needed. When ready, Publish. The workflow then runs for every new trigger event. Version history records what was running at any point in time. Edit the draft and republish to update logic without interrupting in-flight runs.

## Quote approval flow

<Steps>
  <Step title="Quote submitted">
    A sales rep submits a quote for approval in Sequence. The request comment is captured and attached to the run.
  </Step>

  <Step title="Switch evaluates conditions">
    The workflow runs the Switch node against your conditions (deal size, discount, currency, products). The run takes the first matching branch.
  </Step>

  <Step title="Review task in Watchtower">
    The run pauses at the Review node. A task appears in Watchtower for the assigned approvers with the full quote, requestor details, and sales rep comment.

    <Frame>
      <img src="https://mintcdn.com/sequence/dShTYSDybLSJ4uGB/images/product/agents/workflows_cpq_approval.png?fit=max&auto=format&n=dShTYSDybLSJ4uGB&q=85&s=7da76afc9bd29f97b3064dc1d3f6f161" alt="Quote approval task in Watchtower" width="1024" height="565" data-path="images/product/agents/workflows_cpq_approval.png" />
    </Frame>
  </Step>

  <Step title="Approver decides">
    The approver opens the task in Watchtower and approves or rejects.
  </Step>

  <Step title="Action runs">
    On approval, the workflow continues to the Action node and publishes the quote (or executes the configured action).
  </Step>
</Steps>

Every branch, approval, and action is logged in Watchtower's audit trail.

## Monitoring

All workflow runs are tracked in Watchtower. Visibility is role-based:

| Role                           | Contract intake runs | Quote approval runs |
| ------------------------------ | -------------------- | ------------------- |
| Admin                          | All runs             | All runs            |
| Quote owner (non-admin)        | All runs             | Their own           |
| Approval requestor (non-admin) | All runs             | Runs they requested |
| Other non-admin                | All runs             | Not visible         |

Enable Admin mode in Watchtower to see all tasks across your workspace. You can manually override and approve tasks from there. Cancel any in-progress run from Watchtower if a quote was submitted in error or needs to restart.

## Permissions

Admin users can approve quote review tasks. Users assigned to a task can complete it; admins can complete any task. Finer-grained approver roles are planned.

## Best practices

<AccordionGroup>
  <Accordion title="Map the full flow before building" icon="pen-ruler">
    Sketch the happy path and edge cases first. Who approves what? What happens on rejection? Use Note nodes to capture decisions.
  </Accordion>

  <Accordion title="Use one workflow per trigger" icon="split">
    Model variation within a single workflow using Switch branches. Multiple overlapping workflows for the same trigger cause conflicting actions and a fragmented audit trail.
  </Accordion>

  <Accordion title="Layer conditions precisely" icon="sliders">
    Combine conditions on a branch (e.g. total contract value more than \$50,000 and currency equals USD). Route the Else branch somewhere sensible.
  </Accordion>

  <Accordion title="Test every branch before publishing" icon="flask">
    Walk through each branch before going live. Confirm Approved and Rejected paths on every Review node lead somewhere meaningful.
  </Accordion>

  <Accordion title="Keep approver assignments current" icon="user-check">
    Update the Review node when approvers change role or leave the team.
  </Accordion>
</AccordionGroup>

## Related

* [Watchtower](/agents/watchtower) — Review tasks, track runs, audit decisions
* [Contract intake agent](/agents/contract-intake) — End-to-end contract processing built on Workflows
