Create a Workflow
Step-by-step guide to creating a new notification workflow
Create from Dashboard
- Open the Enbbox dashboard
- Navigate to Workflows in the sidebar
- Click New Workflow
- Enter a name for your workflow (e.g., "Welcome Email")
- The workflow identifier is automatically generated from the name
Workflow Properties
When creating a workflow, you configure:
| Property | Description |
|---|---|
| Name | Human-readable name displayed in the dashboard |
| Identifier | URL-safe slug used in API triggers |
| Description | Optional description of the workflow's purpose |
| Tags | Labels for organizing workflows |
| Critical | Whether 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
- Configure Workflow — Set up workflow settings
- Add Steps — Build your notification sequence