Workflows

Describe the business flow. Review it. Run it. Executable YAML workflows orchestrate modules with retries, branching, and Kafka — and import external OpenAPI specs into the same catalog after your BRD and schemas exist.

Workspace

Plan workflows with AI
After modules and contracts exist, open Workflows in QuickCode Studio. The workspace is List · Editor · Ask: plan endpoint or Kafka flows from your project catalog, review YAML and diagrams in the editor, then Ask AI about a selected workflow — grounded in that workflow’s definition rather than a blank chat.
List · Editor · Ask
Browse workflows, edit YAML and diagrams in sync, then Ask AI about the selected workflow — grounded in that definition, not a blank chat.
Endpoint and Kafka kinds
Plan HTTP endpoint flows or Kafka-backed event flows against module contracts that already exist after DBML.
Suggested from analysis
Project Analysis can surface workflow ideas on the Workflows tab so planning starts from the same approved product brief.
When workflows are written
Suggestions may appear during analysis; authoring and apply happen after modules and contracts exist. QuickCode does not invent full orchestration from the first prompt alone.

Executable YAML

Workflow List and Editor in QuickCode Studio Workflow List and Editor in QuickCode Studio
Workflow workspace
Business logic you can run and version
Workflows are executable YAML with retries, timeouts, branching, and failure/compensation paths. Modules talk over Kafka-backed events and internal API calls — cross-service consistency is orchestrated, not silent two-phase commit.
Branching & parallel
Conditional paths, parallel steps, and foreach-style iteration where the flow needs them.
Triggers
Before/after triggers and service-request triggers keep side effects explicit in the workflow definition.
Reliability knobs
Retry, timeout, fire-and-forget, and idempotency options so integrations fail loudly and recoverably.
Saga / compensation
Failure and compensation branches model long-running business flows without pretending the database is a distributed transaction manager.
Versioning
Workflow definitions are versioned with the project so you can compare and evolve flows the same way you evolve DBML.
Diagram sync
YAML and diagrams stay aligned as you iterate; Ask AI can explain steps or propose YAML changes you still confirm.

Integrations

Internal module APIs and external OpenAPI
Workflows call QuickCode module APIs and third-party services from one catalog. Under Workflows → APIs, import OpenAPI 3 / Swagger JSON: specs are versioned, environments hold base URLs and keys, and parsed operations join Kafka and endpoint flows with the same contract lock as your generated modules.
Internal QuickCode APIs
Steps invoke your generated module endpoints with the same contracts Studio already knows.
Import OpenAPI
Paste or upload OpenAPI JSON for payment, CRM, ERP, or other vendors. QuickCode stores the service, active spec version, and environments — then exposes ops in the workflow catalog as parameter-locked BaseUrl steps.
Versioned specs and environments
Replace a spec to create a new version; keep staging and production base URLs and secrets per environment without hard-coding them into YAML.