Typed SDKs, a real REST + GraphQL API, webhooks you can trust, and tooling that fits the way modern teams ship.
TypeScript and Python SDKs, RESTful APIs, CLI tools — integrate KaryaFlow into any workflow in minutes.
import { KaryaFlow } from "@karyaflow/sdk";
const kf = new KaryaFlow({ apiKey });
// Create a workflow
await kf.workflows.create({
name: "onboarding-flow",
triggers: [{ type: "webhook", url: "/api/leads" }],
nodes: [
{ action: "enrichContact", config: { source: "crm" } },
{ action: "sendEmail", config: { template: "welcome-v2" } },
],
});import karyaflow as kf
client = kf.Client(api_key="sk_...")
# Create a workflow
wf = client.workflows.create(
name="onboarding-flow",
triggers=[{"type": "webhook"}],
nodes=[
{"action": "enrich_contact"},
{"action": "send_email", "template_id": "welcome-v2"},
],
)
print(f"Created workflow: {wf.id}")# Create a new workflow
karyaflow workflows create \
--name onboarding-flow \
--trigger webhook \
--node enrich-contact \
--node send-email
# Deploy to production
karyaflow deploy --workflow wf_abc123 \
--region us-east-1