For AI agents: an index of this documentation is at https://developer.rippling.com/llms.txt. Public pages have a Markdown version at the same URL with .md added.

Skip to main content
api

Execute a workflow

POST
/workflows/{id}/executions/

Use with AI:Rippling AI ChatGPT Claude Cursor

Execute a workflow

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 stringrequired

    The workflow's id.

Responses​

Successful response
Schema
    id stringrequired

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

    workflow_id stringrequired

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

    version_id stringrequired

    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 stringrequired

    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 stringrequired

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

Loading...