Dashboard
How it Works Documentation Quick Start PAPI — Pages & Assets MAPI — Dynamic Data Integrations SAPI — Sessions & Forms MCP Server OpenClaw Skill Tools Deploy Dashboard
Flow Framework

Flow Framework

⚡ Built-in — Platform Built-in

Status-driven workflow engine. Define multi-actor workflows with states, transitions and guards. Internal and external actors collaborate via a tamper-proof state machine.

⚡ Built-in — No Setup Required This integration is built into the WebsitePublisher platform. All endpoints are available immediately — no API key needed.

Endpoints (11)

POST create_definition

Create a flow definition with states, transitions and optional steps.

Field Type Required Description
name string ✓ Yes
slug string ✓ Yes
initial_state string ✓ Yes
states array ✓ Yes
transitions array ✓ Yes
steps array No
POST get_definition

Get a flow definition by slug.

Field Type Required Description
slug string ✓ Yes
POST list_definitions

List all flow definitions for this project.

No input parameters required.

POST delete_definition

Delete a flow definition. Only allowed if no active instances exist.

Field Type Required Description
slug string ✓ Yes
POST create_instance

Start a new flow instance from a definition.

Field Type Required Description
definition_slug string ✓ Yes
external_actor_email string No
internal_actor_id integer No
meta object No
POST list_instances

List flow instances, optionally filtered by state or definition.

Field Type Required Description
state string No
definition_slug string No
limit integer No
POST get_instance

Get a flow instance with current state and available transitions.

Field Type Required Description
instance_id integer ✓ Yes
POST advance

Trigger a state transition on a flow instance. Guards are evaluated server-side before applying.

Field Type Required Description
instance_id integer ✓ Yes
trigger string ✓ Yes
data object No
POST submit_step

Save step data without triggering a transition.

Field Type Required Description
instance_id integer ✓ Yes
step_id string ✓ Yes
data object ✓ Yes
POST get_history

Get the full audit trail for a flow instance.

Field Type Required Description
instance_id integer ✓ Yes
POST get_available_transitions

Get all transitions the current actor can trigger from the current state.

Field Type Required Description
instance_id integer ✓ Yes
actor_type string No

MCP Tool Names

When using this integration through an AI assistant (Claude, ChatGPT, Cursor, etc.), the endpoints are available as MCP tools:

EndpointMCP Tool Name
create_definition flow_framework_create_definition
get_definition flow_framework_get_definition
list_definitions flow_framework_list_definitions
delete_definition flow_framework_delete_definition
create_instance flow_framework_create_instance
list_instances flow_framework_list_instances
get_instance flow_framework_get_instance
advance flow_framework_advance
submit_step flow_framework_submit_step
get_history flow_framework_get_history
get_available_transitions flow_framework_get_available_transitions
← Back to all integrations