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

# Flows

## Listing flows

The `getOperate flow` list command is used to list all flows in the remote workspace.

```bash theme={null}
getOperate flow
```

## Pushing a flow

Pushing a flow to a getOperate instance is done using the `getOperate flow push` command.

```bash theme={null}
getOperate flow push <file_path> <remote_path>
```

### Arguments

| Argument      | Description                                                    |
| ------------- | -------------------------------------------------------------- |
| `file_path`   | The path to the flow file to push.                             |
| `remote_path` | The remote path where the flow specification should be pushed. |

### Examples

* Push the flow located at `path/to/local/flow.yaml` to the remote path `f/flows/test`.

```bash theme={null}
getOperate flow push path/to/local/flow.yaml f/flows/test
```

## Creating a new flow

The getOperate flow bootstrap command is used to create a new flow locally.

```bash theme={null}
getOperate flow bootstrap [--summary <summary>] [--description <description>] <path>
```

### Arguments

| Argument | Description                         |
| -------- | ----------------------------------- |
| `path`   | The path of the flow to be created. |

### Examples

Create a new flow `f/flows/flashy_flow`

```bash theme={null}
getOperate flow bootstrap f/flows/flashy_flow
```

## Running a flow

Running a flow by its path s done using the `getOperate flow run` command.

```bash theme={null}
getOperate flow run <remote_path> [options]
```

### Arguments

| Argument      | Description                     |
| ------------- | ------------------------------- |
| `remote_path` | The path of the flow to be run. |

### Options

| Option         | Parameters | Description                                                                                                                                                                                                                                                                                                   |
| -------------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `-d, --data`   | `data`     | Inputs specified as a JSON string or a file using @filename or stdin using @- . Resources and variables must be passed using "$res:..." or "$var:..." For example `getOperate flow run u/henri/message_to_slack -d '{"slack":"$res:u/henri/henri_slack_perso","channel":"general","text":"hello dear team"}'` |
| `-s, --silent` | `None`     | Do not ouput anything other then the final output. Useful for scripting.                                                                                                                                                                                                                                      |

## Remote path format

```bash theme={null}
<u|g|f>/<username|group|folder>/...
```
