Enbbox Docs

Introduction

Introduction to the Enbbox Framework. Learn how code-first workflow definitions work, supported channels, and how to integrate with Next.js and Express.

Why Code-First?

While the Enbbox dashboard provides a powerful visual workflow editor, some teams prefer defining workflows in code:

  • Developers who want type-safe, version-controlled notification logic
  • Teams using GitOps or infrastructure-as-code patterns
  • Projects with complex conditional notification logic

Framework vs Dashboard

FeatureDashboardFramework
Workflow creationVisual drag-and-dropTypeScript code
Version controlDashboard historyGit
Type safetyN/AFull TypeScript
TestingManual testingUnit tests
DeploymentInstantCI/CD pipeline
Best forNon-technical users, rapid prototypingEngineering teams, complex logic

How It Works

  1. Define workflows in TypeScript using the Enbbox Framework SDK
  2. Serve the workflow definitions via an Enbbox endpoint in your application
  3. Sync workflows to Enbbox using the CLI or Bridge API
  4. Trigger workflows using the standard trigger API

The Framework acts as a bridge between your codebase and the Enbbox platform, allowing you to define notification content and logic in code while leveraging Enbbox's delivery infrastructure.

Architecture

Your App (Framework SDK) ←→ Enbbox Platform ←→ Channel Providers
         ↕                        ↕
    Your Codebase           Dashboard UI

On this page