Enbbox Docs

Create a Workflow

Step-by-step guide to creating a new notification workflow

Create from Dashboard

  1. Open the Enbbox dashboard
  2. Navigate to Workflows in the sidebar
  3. Click New Workflow
  4. Enter a name for your workflow (e.g., "Welcome Email")
  5. The workflow identifier is automatically generated from the name

Workflow Properties

When creating a workflow, you configure:

PropertyDescription
NameHuman-readable name displayed in the dashboard
IdentifierURL-safe slug used in API triggers
DescriptionOptional description of the workflow's purpose
TagsLabels for organizing workflows
CriticalWhether to bypass subscriber preferences

Create via API

const workflow = await enbbox.workflows.create({
  name: "Welcome Email",
  description: "Sent when a new user signs up",
  tags: ["onboarding"],
  steps: [
    {
      type: "email",
      content: {
        subject: "Welcome to {{appName}}!",
        body: "Hi {{firstName}}, thanks for joining!",
      },
    },
  ],
});

Next Steps

On this page