mirror of
https://github.com/devkitshq/notifkit.git
synced 2026-10-19 18:24:52 +02:00
Multi-step Workflows Example
This example demonstrates how to define, sync, and trigger multi-step drip notification workflows using the NotifkitClient SDK.
Workflow Structure
- Step 1: Dispatches immediate welcome email (
onboarding-welcome). - Step 2: Pauses execution using
wait(1h). - Step 3: Dispatches follow-up email (
onboarding-followup).
How to Run
export NOTIFKIT_API_URL="http://localhost:4000"
export ADMIN_API_KEY="your_admin_api_key"
node index.js