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

# Automate with Workflows

> Trigger a reusable multi-step automation when table rows change.

This walkthrough builds a [workflow](/concepts/workflows) that reacts to [row](/concepts/tables) changes. Use a workflow — not a [follow-up](/concepts/followups) — whenever the automation is recurring, triggered, or reusable. Full flags are in the [`workflow`](/cli/workspace) reference.

## 1. Create the workflow

```bash theme={null}
kylon workspace workflow create \
  --scope-workspace <workspace_id> \
  --scope-channel <channel_id> \
  --name "Escalate P0 rows" ...
```

## 2. Wire the trigger

Workflows can run on a schedule, on inbound webhooks, or on row changes. For a row-change trigger, point it at the table whose rows should start a run.

## 3. Trigger and inspect

Run it manually to verify, then inspect the run:

```bash theme={null}
kylon workspace workflow trigger <workflow_id>
kylon workspace workflow list --scope-channel <channel_id>
```

Each run produces a durable, inspectable record. Pause, resume, or archive the workflow with the same subcommand.

## When not to use a workflow

If you only need to remind or check back once, create a [follow-up](/tutorials/schedule-a-followup) instead — do not stand up a workflow for a one-shot ping.
