Getting Started
Welcome to Qwunk! This guide will help you set up your first workflow in under 5 minutes.
First, create a new project from your dashboard. Each project acts as a container for related workflows and integrations.
npm install @qwunk/sdk
import { Qwunk } from '@qwunk/sdk';
const client = new Qwunk({
apiKey: process.env.QWUNK_API_KEY,
});
// Create your first workflow
const workflow = await client.workflows.create({
name: 'My First Workflow',
trigger: { type: 'webhook' },
steps: [
{ action: 'transform', config: { template: '{{input}}' } },
{ action: 'notify', config: { channel: '#general' } },
],
});
console.log('Workflow created:', workflow.id);Was this helpful?