Skip to main content
This guide walks through @flowra/sdk for Node.js backends. Overview: SDKs. Full method map: SDK namespaces. Every method: SDK method examples. Source: github.com/flowradev/sdk.

Install

Package on npm.
From the SDK repo (optional):
Requires Node 18+.

Create a client

Scope to another end user without rebuilding options:
See Multi-tenancy.

Profile and tools

Copy tool slugs from tools.list. Do not invent them. Catalog actions are typically UPPER_SNAKE.
List toolkits (with nested tools):

Run a workflow

Recipe: Run a workflow. HITL: Human in the loop.

Connect an account

Per end user:
Recipe: Connect an account.

External users and triggers

Chat thread and stream

SSE helpers and usage events: Chat streaming.

Skills and MCP

Knowledge and database (per user)

Files

Sandbox, browser, LLM

Usage and credits

Details: Usage and credits.

Escape hatch: flowra.raw

Every API-key OpenAPI operation is on flowra.raw (generated). Pass the shared client:
Prefer the typed facade when it exists. Schemas: API reference.

Errors

With throwOnError: true (default), failed responses throw:
Set throwOnError: false if you want the generated { data, error } shape on raw calls; facade helpers still unwrap and throw when using namespace methods with the default client config.

Next