---
title: run_workflow
description: Runs a workflow once, now, as a test, as the live site has it, whatever
  its trigger.
sidebar:
  order: 55
---

Runs a workflow once, now, as a test, as the live site has it, whatever its trigger. Typed inside `bash`, where `help run_workflow` prints the same.

```text
Usage: run_workflow WORKFLOW [options]

Runs a workflow once, now, as a test, as the live site has it,
whatever its trigger. It does what its steps do: it fetches and writes rows for
real. The run goes on in the background, and get_workflow_run says
how it went.

Options:
  --workflow TEXT (required)
      The workflow's uuid, from list_workflows.
  --input JSON
      What the first step is handed, as the trigger would hand it. Empty when left out.
  --json OBJECT
      Every argument at once, as one JSON object; --json - reads it from stdin.
```
