Run Workflow
Triggers a workflow execution. Creates a workflow request with the given payload, enqueues it for processing, and returns a workflow_request_id for tracking.
Usage
How It Works
- The API creates a
WorkflowRequestwith statuspending - The request is enqueued for processing
- Execution begins at the specified entry node(s)
- The entry node receives a payload:
{ "text": "<query>", "chat_id": "<chat_id>", "files": [...] } - Downstream nodes access this via
{{ start.text }},{{ start.chat_id }}, etc.
Prerequisites
Before running a workflow, you need:- A workflow version ID — Get it via List Workflows or Get Latest Version
- Entry node IDs — Get them via Get Entry Nodes
- A chat session — Create one via Create Chat
Response
Returns aworkflow_request_id you can use to:
- Stream results in real-time: Listen to Execution (SSE)
- Get the full execution tree: Get Execution Tree
- View execution history: Get History
Rate Limit
20 workflow executions per minute per user.Notes
Authorizations
API token generated from your Splox account settings. Create tokens at https://app.splox.io/account?tab=settings
Body
ID of the workflow version to execute
Chat session ID (used for context memory and SSE streaming)
IDs of the entry nodes to begin execution at
The user message or query text. Available as {{ start.text }} in the workflow.
Optional file attachments. Available as {{ start.files }} in the workflow.
Optional extra parameters merged into the payload
Response
Workflow execution started successfully
ID of the created workflow request. Use this to listen for results, get the execution tree, or check status.

