npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@velocity-bpa/n8n-nodes-braze

v1.0.0

Published

n8n community node for Braze customer engagement platform

Readme

n8n-nodes-braze

[Velocity BPA Licensing Notice]

This n8n node is licensed under the Business Source License 1.1 (BSL 1.1).

Use of this node by for-profit organizations in production environments requires a commercial license from Velocity BPA.

For licensing information, visit https://velobpa.com/licensing or contact [email protected].

This n8n community node provides comprehensive integration with Braze's customer engagement platform. With 7 resources and extensive operations, it enables automated customer lifecycle management, campaign orchestration, and personalized messaging workflows directly from your n8n automation platform.

n8n Community Node License TypeScript Braze API Customer Engagement Marketing Automation

Features

  • User Management - Create, update, delete, and track user profiles with custom attributes and events
  • Campaign Orchestration - Launch, pause, and monitor email, push, and in-app messaging campaigns
  • Canvas Automation - Manage multi-step customer journey workflows and trigger sequences
  • Audience Segmentation - Create and manage dynamic user segments based on behavior and attributes
  • Message Personalization - Send targeted messages across email, SMS, push, and in-app channels
  • Event Tracking - Record custom events, purchases, and user interactions for behavioral targeting
  • Template Management - Create and manage reusable email and message templates
  • Real-time Analytics - Access campaign performance metrics and user engagement data

Installation

Community Nodes (Recommended)

  1. Open n8n
  2. Go to SettingsCommunity Nodes
  3. Click Install a community node
  4. Enter n8n-nodes-braze
  5. Click Install

Manual Installation

cd ~/.n8n
npm install n8n-nodes-braze

Development Installation

git clone https://github.com/Velocity-BPA/n8n-nodes-braze.git
cd n8n-nodes-braze
npm install
npm run build
mkdir -p ~/.n8n/custom
ln -s $(pwd) ~/.n8n/custom/n8n-nodes-braze
n8n start

Credentials Setup

| Field | Description | Required | |-------|-------------|----------| | API Key | Your Braze REST API key with appropriate permissions | Yes | | Instance URL | Your Braze instance URL (e.g., rest.iad-01.braze.com) | Yes | | App ID | Your app identifier for app-specific operations | No |

Resources & Operations

1. User

| Operation | Description | |-----------|-------------| | Create | Create a new user profile with attributes and events | | Update | Update existing user attributes and custom properties | | Get | Retrieve user profile information and engagement history | | Delete | Remove user profile from your Braze workspace | | Track Event | Record custom events for behavioral targeting | | Track Purchase | Log purchase events with product details and revenue | | Export | Export user data for analysis and compliance |

2. Campaign

| Operation | Description | |-----------|-------------| | Create | Create new email, push, or in-app messaging campaigns | | Launch | Start campaign delivery to target audiences | | Pause | Temporarily halt active campaign delivery | | Resume | Restart paused campaign delivery | | Get Details | Retrieve campaign configuration and performance metrics | | List | Get all campaigns with filtering and pagination | | Update | Modify campaign settings and targeting criteria | | Delete | Remove campaign from workspace |

3. Canvas

| Operation | Description | |-----------|-------------| | Create | Build multi-step customer journey workflows | | Launch | Activate canvas for user entry and progression | | Pause | Stop canvas entry while preserving in-progress journeys | | Resume | Restart canvas entry for new users | | Get Details | Retrieve canvas configuration and performance data | | List | Get all canvases with filtering options | | Update | Modify canvas steps and entry criteria | | Delete | Remove canvas from workspace |

4. Segment

| Operation | Description | |-----------|-------------| | Create | Build user segments based on attributes and behaviors | | Update | Modify segment criteria and filters | | Get Details | Retrieve segment definition and user count | | List | Get all segments with metadata | | Export Users | Export segment member list for analysis | | Delete | Remove segment from workspace |

5. Message

| Operation | Description | |-----------|-------------| | Send | Deliver immediate messages to users or segments | | Schedule | Schedule future message delivery | | Get Status | Check delivery status and engagement metrics | | Cancel | Cancel scheduled messages before delivery | | Send Transactional | Send triggered transactional emails | | Send Push | Deliver push notifications to mobile devices | | Send SMS | Send SMS messages to user phone numbers |

6. Event

| Operation | Description | |-----------|-------------| | Track Custom | Record custom events for user behavior tracking | | Track Purchase | Log purchase events with product and revenue data | | Get Analytics | Retrieve event analytics and funnel data | | List Events | Get all custom events with usage statistics | | Update Properties | Modify event property definitions | | Delete | Remove custom event definitions |

7. Template

| Operation | Description | |-----------|-------------| | Create | Design email and message templates | | Update | Modify template content and styling | | Get | Retrieve template HTML and configuration | | List | Get all templates with metadata | | Preview | Generate template preview with sample data | | Duplicate | Create copies of existing templates | | Delete | Remove templates from workspace |

Usage Examples

// Create a new user with custom attributes
{
  "external_id": "user_12345",
  "email": "[email protected]",
  "first_name": "John",
  "last_name": "Doe",
  "custom_attributes": {
    "subscription_tier": "premium",
    "last_login": "2024-01-15T10:30:00Z",
    "total_purchases": 15
  }
}
// Launch a promotional email campaign
{
  "campaign_id": "abc123-def456-ghi789",
  "send_id": "promo_spring_2024",
  "recipients": {
    "segment_id": "premium_users_segment"
  },
  "schedule": {
    "time": "2024-03-15T09:00:00Z",
    "in_local_time": true
  }
}
// Track a purchase event with product details
{
  "external_id": "user_12345",
  "purchases": [{
    "product_id": "widget_pro_v2",
    "currency": "USD",
    "price": 49.99,
    "quantity": 2,
    "time": "2024-01-15T14:22:00Z",
    "properties": {
      "category": "widgets",
      "discount_applied": true
    }
  }]
}
// Send immediate push notification
{
  "external_user_ids": ["user_12345", "user_67890"],
  "messages": {
    "apple_push": {
      "alert": "Your order has shipped! Track it now.",
      "badge": 1,
      "sound": "default",
      "custom": {
        "tracking_id": "TRK123456789"
      }
    }
  }
}

Error Handling

| Error | Description | Solution | |-------|-------------|----------| | Invalid API Key | Authentication failed with provided credentials | Verify API key is correct and has required permissions | | Rate Limit Exceeded | Too many requests sent in time window | Implement exponential backoff and respect rate limits | | User Not Found | Specified user ID does not exist in workspace | Check external_id format or create user first | | Campaign Already Launched | Cannot modify campaign that is already active | Pause campaign before making modifications | | Invalid Segment Query | Segment filter criteria contains syntax errors | Review segment logic and field names | | Template Validation Failed | Template HTML or content has formatting issues | Check template syntax and required fields |

Development

npm install
npm run build
npm test
npm run lint
npm run dev

Author

Velocity BPA

Licensing

This n8n community node is licensed under the Business Source License 1.1.

Free Use

Permitted for personal, educational, research, and internal business use.

Commercial Use

Use of this node within any SaaS, PaaS, hosted platform, managed service, or paid automation offering requires a commercial license.

For licensing inquiries: [email protected]

See LICENSE, COMMERCIAL_LICENSE.md, and LICENSING_FAQ.md for details.

Contributing

Contributions are welcome! Please ensure:

  1. Code follows existing style conventions
  2. All tests pass (npm test)
  3. Linting passes (npm run lint)
  4. Documentation is updated for new features
  5. Commit messages are descriptive

Support