Executor configuration lifecycle
Before an executor can be used in a workflow, it moves through the following lifecycle:

/v1/executors endpoints (list, get, update, delete). The lifecycle states (unconfigured, configured, tested, active, disabled) are tracked internally — transitions happen through the service layer.
| Status | What it means | Next step |
|---|---|---|
unconfigured | Created with connection details but not fully set up. | Configure it (PATCH) |
configured | Connection details defined and validated. | Test connectivity |
tested | Connectivity test passed. | Activate it |
active | Available for workflow execution. | — |
disabled | Temporarily out of service. | Enable it |
The executor configuration lifecycle is managed through the service layer (
MarkConfigured, MarkTested, Activate, Disable, Enable commands). Note that the current HTTP API exposes GET, PATCH, and DELETE endpoints. PATCH updates configuration data but does not trigger status transitions.Step 1: Explore the catalog
Before creating an executor configuration, browse the catalog to see what’s already available. The catalog is a read-only registry of built-in executors and triggers that ship with Flowker. You don’t need to create catalog entries — you discover them and then configure the ones you need.
List available executors
Call the List catalog executors endpoint to see all executor types Flowker supports out of the box — HTTP requests, data transformations, and more.
List available triggers
Call the List catalog triggers endpoint to see how workflows can be started — webhooks or manual API calls.
Step 2: Configure a provider connection and executor
Executors are built-in components that ship with Flowker. You do not create them via the API — they are discovered through the catalog (
GET /v1/catalog/executors) in Step 1.
To use an executor, you first create a provider configuration that defines the connection to the external service, and then manage executor configurations that bind a catalog executor to a provider connection with operation-specific settings.
Create a provider configuration
CallPOST /v1/provider-configurations to set up the connection to your external service — including the base URL, credentials, and environment-specific settings. The config field is validated against the provider’s JSON Schema from the catalog.
See Provider configurations below for details and examples.
Manage executor configurations
Once you have a provider configuration, manage executor configurations through the/v1/executors endpoints:
| Operation | Endpoint |
|---|---|
| List | GET /v1/executors |
| Get | GET /v1/executors/{id} |
| Update | PATCH /v1/executors/{id} |
| Delete | DELETE /v1/executors/{id} |
Authentication types
Flowker supports multiple authentication methods. Use the method required by your external service.
| Type | Description | Config fields |
|---|---|---|
none | No authentication. | — |
api_key | API key in header or query. | key, value, location |
bearer | Bearer token in Authorization header. | token |
basic | Username and password (Base64). | username, password |
oidc_client_credentials | OAuth 2.0 client credentials flow with automatic token management. | tokenURL, clientID, clientSecret, scopes |
oidc_user | OAuth 2.0 resource owner password flow. | tokenURL, clientID, clientSecret, username, password, scopes |
Example — OIDC client credentials
Example — OIDC client credentials
Provider configurations
Provider configurations are separate from executor configurations. While an executor configuration defines how Flowker calls a specific operation on an external service, a provider configuration represents a configured connection to a provider instance — including its base URL, credentials, and environment-specific settings. Think of it this way: a provider configuration is the connection, and an executor configuration is the operation you run over that connection.
Creating a provider configuration
Create a provider configuration by calling the Create provider configuration endpoint. Provide theproviderId from the catalog and the provider-specific configuration (base URL, credentials, and so on).
The config field is validated against the provider’s JSON Schema from the catalog. If it doesn’t match, the request returns a 422 error.
Example request
Example request
Testing connectivity
After creating a provider configuration, test it with the Test provider configuration endpoint. The test runs three stages — connectivity, authentication, and end-to-end — and returns results for each.Enabling and disabling
Provider configurations are created inactive status. You can temporarily disable one with the Disable provider configuration endpoint and re-enable it later with the Enable provider configuration endpoint.
See the Provider configurations API for the full reference.
Step 3: Configure the executor
Mark the executor as configured by calling the Update executor configuration endpoint. This transitions the status from
unconfigured to configured.
Step 4: Validate your configuration
Before using an executor in a workflow, validate its configuration against the catalog schema using the Validate executor config endpoint (
POST /v1/catalog/executors/{id}/validate).
This performs JSON Schema validation only — it checks that your configuration object matches the structure the executor expects (required fields, types, formats). It does not test connectivity to the external service.
To test actual connectivity to an external service, use the Test provider configuration endpoint on the provider configuration instead. That endpoint runs connectivity, authentication, and end-to-end checks against the real service.
Field mapping and data transformation
When workflow data doesn’t match the format an external service expects — or when a service returns data in a shape the next step can’t consume — use field mappings and transformations to bridge the gap. Field mappings and transformations are defined inside the
data object of executor nodes. Flowker applies input mappings before calling the external service, and output mappings after receiving the response.
Quick example — mapping workflow fields to an executor
Quick example — mapping workflow fields to an executor
Step 5: Use the executor in a workflow
Once your executor configuration is validated, reference it in a workflow. The executor becomes active when it’s used in an active workflow. To temporarily take an executor out of service, update its configuration using the Update executor configuration endpoint.
Using an executor in a workflow
Reference the executor in a workflow node of type
executor.
The example below creates a payment validation workflow. When a payment arrives, Flowker calls the fraud check executor, evaluates the risk score, and either approves or rejects the payment based on the result.
The workflow has five nodes: a webhook trigger that receives the payment, an executor node that calls the fraud check service, a conditional node that evaluates the score, and two action nodes for the approve and reject outcomes. Edges connect them in sequence, with the conditional node branching to either path based on the score threshold.
Use the Create workflow endpoint to define the workflow, then Activate it, and finally Execute it.
Example — Create a payment validation workflow
Example — Create a payment validation workflow
Example — Execute the workflow
Example — Execute the workflow
Triggering workflows
Workflow executions are triggered via the Execute workflow endpoint:
inputData for the execution. All fields are available to subsequent nodes via the workflow namespace — for example, workflow.transactionId or workflow.amount. Node outputs are available via the node’s ID — for example, check-fraud.score.
Idempotency
To prevent duplicate executions, include anIdempotency-Key header in the request. If no Idempotency-Key is provided, duplicate protection is not guaranteed.
Webhook triggers
Webhooks are the primary way external systems trigger Flowker workflows. Instead of your system calling the executions API directly, you register a webhook path in a workflow and external services send HTTP requests to that path.
How it works
- Add a trigger node of type
webhookto your workflow with apathandmethodin itsdata. - When the workflow is activated, Flowker registers the path in its webhook registry.
- External systems send requests to
POST /v1/webhooks/{path}(or the method you configured). - Flowker resolves the path to the matching workflow and executes it.
Defining a webhook trigger node
The webhook trigger is a node withtype: "trigger" and the following fields in data:
| Field | Type | Required | Description |
|---|---|---|---|
triggerType | string | Yes | Must be "webhook". |
path | string | Yes | The webhook path to register (e.g., "payments/received"). |
method | string | Yes | HTTP method to match (e.g., "POST"). |
verify_token | string | No | Static token for webhook verification. When set, requests must include a matching X-Webhook-Token header. |
Example — Webhook trigger node
Example — Webhook trigger node
Webhook metadata
Flowker automatically injects a_webhook object into the execution’s inputData with metadata about the incoming request:
| Field | Description |
|---|---|
_webhook.method | HTTP method used (e.g., POST). |
_webhook.path | The resolved webhook path. |
_webhook.headers | Request headers (excluding Authorization, X-API-Key, and X-Webhook-Token). |
_webhook.query | Query string parameters. |
_webhook.remote_ip | IP address of the caller. |
workflow._webhook namespace.
Important notes
- Each webhook path + method combination can only be registered by one active workflow. Activating a second workflow with the same path fails with a conflict error.
- Webhook paths support nested segments (e.g.,
payments/stripe/received). - The request body maximum size is 1 MB.
- Deactivating a workflow automatically unregisters its webhook routes.
Error handling
If a node fails, the execution stops and is marked as
failed.
There is no automatic fallback. After retries are exhausted, the execution fails.
Each failure includes:
- Failed node and reason
- Step number and output
- Error code
| Error code | Meaning | Action |
|---|---|---|
FLK-0504 | Node execution failed. | Check step results and external service response. |
FLK-0507 | Circuit breaker open. | Wait for recovery or check service health. |
Retry and circuit breaker
Flowker includes built-in resilience for executor calls.
Retries
When an executor call fails with a transient error, Flowker retries automatically:- Max retries: 5 attempts
- Backoff strategy: Exponential — 1s, 2s, 4s, 8s
- Non-retryable errors: Circuit breaker open, context cancelled, invalid configuration
Circuit breaker
Flowker uses a circuit breaker to protect external services from being overwhelmed by repeated failing calls:| Parameter | Value |
|---|---|
| Failure threshold | 5 consecutive failures opens the circuit |
| Recovery timeout | 30 seconds before trying again (half-open state) |
| Half-open requests | 1 request allowed to test if the service recovered |
FLK-0507 instead of reaching the external service. This prevents cascading failures and gives the external service time to recover.

What’s next
Core concepts
Understand workflows, nodes, edges, and executions.
Executor configurations API
Explore the executor configuration API.

