# Execute a workflow

> Launches a new execution of the workflow's current published version. The workflow must use a manual trigger and be published and enabled, and the caller's role must have permission to run it. The request body must be empty: manual workflow executions accept no input parameters. Executions are not idempotent: every successful call starts a real execution with real side effects (messages, callbacks), and a duplicate request starts a second execution. Do not retry automatically; check an execution's status with GET /workflows/{id}/executions/{execution_id} instead.

POST

/workflows/{id}/executions/

Launches a new execution of the workflow's current published version. The workflow must use a manual trigger and be published and enabled, and the caller's role must have permission to run it. The request body must be empty: manual workflow executions accept no input parameters. Executions are not idempotent: every successful call starts a real execution with real side effects (messages, callbacks), and a duplicate request starts a second execution. Do not retry automatically; check an execution's status with GET /workflows/{id}/executions/{execution\_id} instead.

### Required Scopes

-   workflow-executions.read-write
    

### Request

Path Parameters

**id** string required

The workflow's id.

## Responses

-   201

Successful response

-   application/json

-   Schema
-   Example (from schema)

**Schema**

**id** string required

Unique identifier for this workflow execution. Poll it with GET /workflows/{id}/executions/{execution\_id}.

**workflow\_id** string required

The ID of the workflow this execution belongs to. Matches the {id} path parameter.

**version\_id** string required

The workflow version that ran. An execution always runs the workflow's current published version; the current version\_id is available from GET /workflows/{id}.

**status** string required

The execution status. Transitional values are `pending`, `in_progress`, `waiting_for_response`, and `cancellation_pending`; terminal values are `completed`, `failed`, and `cancelled`. Poll until the status reaches a terminal value.

-   `pending`: The execution is queued and has not started.
-   `in_progress`: The workflow is executing.
-   `waiting_for_response`: The execution is paused on a human input or approval step.
-   `cancellation_pending`: A cancellation was requested and is being applied.
-   `completed`: Every step finished successfully.
-   `failed`: The execution stopped on an error.
-   `cancelled`: The execution was cancelled before completing.
-   `unknown`: The status could not be mapped. Contact support if this persists.

**Possible values:** \[pending,in\_progress,completed,failed,cancelled,cancellation\_pending,waiting\_for\_response,unknown\]

**created\_at** string required

When the workflow was launched, in UTC (ISO 8601).

```json
{
  "id": "string",
  "workflow_id": "string",
  "version_id": "string",
  "status": "pending",
  "created_at": "string"
}
```

Source: https://developer.rippling.com/documentation/rest-api/reference/create-workflow-execution

> For the complete documentation index, see [llms.txt](https://developer.rippling.com/llms.txt). Public pages have a Markdown version at the same URL with .md added.
