Skip to main content

Setup

import { KadoaClient } from "@kadoa/node-sdk";

const client = new KadoaClient({ apiKey: "your-api-key" });

// Use your account email
await client.notification.setupForWorkflow({
  workflowId: "your-workflow-id",
  events: ["workflow_finished", "workflow_failed"],
  channels: { EMAIL: true },
});

// Or specify custom recipients
await client.notification.setupForWorkflow({
  workflowId: "your-workflow-id",
  events: ["workflow_data_change"],
  channels: {
    EMAIL: {
      name: "team-alerts",
      recipients: ["[email protected]", "[email protected]"],
    },
  },
});
For API configuration, see the API reference.

Dashboard Setup

  1. Go to Notifications in the sidebar
  2. Click Add ChannelEmail
  3. Add a single or group of recipient email addresses
  4. Save changes
Email Channel UI

Email Templates

Each event type has a dedicated email template with relevant information.
Data change email

System Emails

These emails are sent automatically and cannot be configured.
Sent to the workflow author when sample data is ready for review.Sample ready email