Flowlib
Drop-in workflow orchestration for any Node.js app.
Flowlib is an open-source workflow orchestration library that you mount directly into your existing Node.js application. Visual flow editor, AI agents, 190+ integrations, and batch processing — all as npm packages, not a separate platform.
Get started in one command
npx flowlib-cli initThe CLI detects your framework, installs the right packages, creates your config, and sets up the database. Or see the framework-specific code below.
Quick look
import express from 'express';
import { createFlowlibRouter } from '@flowlib/express';
const app = express();
const router = await createFlowlibRouter({
database: { type: 'sqlite', connectionString: 'file:./dev.db' },
encryptionKey: process.env.FLOWLIB_ENCRYPTION_KEY,
});
app.use('/flowlib', router);
app.listen(3000);import { Module } from '@nestjs/common';
import { FlowlibModule } from '@flowlib/nestjs';
@Module({
imports: [
FlowlibModule.forRoot({
database: { type: 'sqlite', connectionString: 'file:./dev.db' },
encryptionKey: process.env.FLOWLIB_ENCRYPTION_KEY,
}),
],
})
export class AppModule {}import { createFlowlibHandler } from '@flowlib/nextjs';
const handler = createFlowlibHandler({
database: { type: 'sqlite', connectionString: 'file:./dev.db' },
encryptionKey: process.env.FLOWLIB_ENCRYPTION_KEY,
});
export const GET = handler.GET;
export const POST = handler.POST;
export const PATCH = handler.PATCH;
export const PUT = handler.PUT;
export const DELETE = handler.DELETE;That's it. You have a visual flow editor and a full REST API for managing and executing workflows.
Start here
Quickstart
Install, run, and build your first flow in under 5 minutes.
Installation
Set up Flowlib with Express, NestJS, or Next.js.
Triggers
Start flows manually, on a schedule, or from webhooks.
Execution Model
How flows execute — node ordering, data flow, and state.
Plugins
Auth, RBAC, webhooks, version control, and custom.
Security
Credential encryption, template sandboxing, and best practices.
Reference
API endpoints, CLI, config, and database schema.