Workflows

Create a workflow

Creates a new workflow in draft status.

post/workflows

Request

  • Base URL
    https://workflow.loopfour.ai/api/v1
  • URL
    https://workflow.loopfour.ai/api/v1/workflows
  • Auth
    API key in header x-api-key

Request body

namestring required

Workflow name (1-255 chars).

descriptionstring

Human-readable description.

triggerobject required

Trigger configuration.

stepsobject[] required

Array of workflow steps.

inputSchemaobject

JSON Schema for input validation.

outputSchemaobject

JSON Schema for output.

settingsobject

Workflow settings.

Example request

{
  "name": "Invoice Processing"
}

Response

Workflow created

successunknown

Example response

{
  "data": {
    "id": "wf_abc123",
    "name": "Invoice Processing",
    "version": 3
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.