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

# ocoya_run_workflow

> Run an Ocoya workflow immediately.

# `ocoya_run_workflow`

Runs an Ocoya workflow immediately through the background automation runner.

## Arguments

| Name         | Type   | Required | Description                      |
| ------------ | ------ | -------- | -------------------------------- |
| `workflowId` | string | Yes      | Ocoya workflow ID.               |
| `input`      | object | No       | Optional workflow input payload. |

## Example

```json theme={null}
{
  "name": "ocoya_run_workflow",
  "arguments": {
    "workflowId": "cmajvvb9q0003ja5vh0538j6r",
    "input": {}
  }
}
```

## Returns

Returns the workflow ID and whether the run was queued.
