Skip to main content
POST
This endpoint is not available on the developer API. POST /api/workflows is dashboard-only. Calling it on https://developer.encrata.com with an API key returns 404 with the body "That endpoint is not available on the developer API."Create workflows in the dashboard at app.encrata.com, then drive them with the API-key endpoints: List workflows, Get workflow, List workflow runs, Get workflow run, and Delete workflow.This page documents the request shape for reference only.

Authentication

Requires a dashboard session (JWT) on https://api.encrata.com.

Request

string
required
Workflow display name.
string
Human-readable description of what the workflow does.
object
Trigger configuration. type is one of manual, webhook, schedule, file_upload, or monitor_event.
array
The step definitions. Each step has id, type, and config.
array
Connections between steps. Omit for a linear workflow.
string
Records which template the workflow came from. It does not copy the template’s trigger or steps - you still have to supply them.

Step types

Step configuration

Lookup steps read their subject from config.input. Reference earlier data with templating:
  • {{trigger.<field>}} - a field from the trigger payload
  • {{steps.<n>.result.<path>}} - a value produced by step n
A condition step uses field (a steps.<n>.result.<path> reference, written without braces), plus operator and value.

Example request

Response

Returns the created workflow. New workflows start as draft - activate them before they will run.
The response carries no webhook_url. A webhook-triggered workflow’s ingest token is issued separately, in the dashboard.