WOML examples

See how readable workflows grow into capable systems.

These are complete, real-world patterns for systems that quickly outgrow a visual canvas. Open one to study the architecture, copy the source, and adapt it to the work running on your infrastructure.

Example library

Begin with a pattern. Make the workflow your own.

01.woml
BusinessParallelApproval

Orchestrate high-value order fulfillment

Validate orders, check inventory and fraud concurrently, route risky purchases to a durable human decision, and publish one auditable outcome.

View example
02.woml
AI agentTelegramState

Build a Telegram support agent with durable memory

Wrap an AI model with normalized messages, durable conversation memory, supervised replies, retries, and an asynchronous human escalation workflow.

View example
03.woml
DataFor eachPostgreSQL

Import thousands of customers with durable per-row progress

Validate a dataset, process up to ten thousand customers with bounded concurrency, upsert valid rows, and preserve ordered results.

View example
04.woml
Human operationsApprovalStorage

Automate expense compliance without hiding the human decision

Apply deterministic expense policy, archive receipts, share one approval across providers, and publish the accounting decision.

View example
05.woml
BackendWebhookIdempotency

Process payment webhooks into an idempotent ledger

Turn repeated payment deliveries into an idempotent ledger, exact event routing, and independently durable fulfillment work.

View example
06.woml
DevOpsApprovalModules

Put a durable safety gate in front of production deployments

Run parallel preflight checks, require production approval, call your infrastructure API, verify health, and roll back explicitly.

View example
07.woml
CommunicationEventsSwitch

Run one incident assistant across Slack, Telegram, and Discord

Handle Slack, Telegram, and Discord with one provider-independent incident flow and broadcast critical events to responder workflows.

View example
08.woml
ContentAIFork

Research, approve, and distribute content from one workflow

Research and draft with AI, wait for editorial approval, then publish through independent multi-step channel branches.

View example
09.woml
LocalSQLiteSchedule

Generate a local operations report with no cloud account

Query local SQLite, calculate metrics in JavaScript, generate CSV, and store a versioned report without a cloud account.

View example
10.woml
PlatformWorkflow callsAI

Build a multi-workflow document processing API

Expose one product endpoint and route tenant jobs to independently durable invoice, contract, and summarization workflows.

View example
11.woml
IntervalParallelHTTP

Monitor services in parallel

Check several live endpoints on one durable interval, then turn their individual results into one readable health report.

View example
12.woml
WebhookApprovalDurability

Hold an order for human approval

Accept a validated order webhook, pause durably for a decision, and make the approved and rejected paths explicit.

View example
13.woml
Local moduleAPISecrets

Add Google Maps as a local service

Create the integration your workflow needs in TypeScript, import it as a service, and keep the orchestration readable in WOML.

View example
14.woml
EventsSQLiteValidation

Record customer events in SQLite

Subscribe to an internal event, validate its payload, and write an auditable record through WOML’s supervised database service.

View example

Beyond the library

Your next workflow begins where these examples end.

Keep the structure visible, bring the JavaScript and services your work requires, and let one readable file grow as far as the automation demands.