ONLINE
Deliverability Letter

Connect Node.js to Bento

Connect Node.js to Bento

Use the official Bento Node.js SDK to track user events, automate email campaigns, and boost conversions with minimal code. Perfect for Express.js, Next.js, and serverless applications seeking powerful marketing automation capabilities.
Bento Logo

Fast Setup • Easy Cancellation • 30 Day Free Trial

Ready to dive deeper?

Explore our comprehensive Node Sdk integration documentation and examples to get the most out of your automation.

Everything you need to ship fast

Express & Next.js

API routes ready

Events & purchases

trigger Flows instantly

TypeScript support

full type definitions

Serverless friendly

works with Lambda/Vercel

Your Node.js app is already tracking users. Now turn that data into revenue.

Every signup, purchase, and page view can trigger personalized campaigns that keep customers engaged and drive repeat business. The Bento SDK makes it happen with just a few lines of code.

5 minutes

to first automation

Zero config

visual automation builder

Real Results

higher customer lifetime value

Built for Node.js developers who demand reliability

Minimal Setup Required

Import the SDK, drop in your API key, and start tracking immediately with just a few lines of code.

Real-time Event Capture

Stream events directly into Bento for segmentation and automation with zero latency.

First-party Data Control

Keep complete ownership of your customer and event data with our privacy-first approach.

Cross-platform Support

Works seamlessly with Bun, Node, serverless runtimes, and Next.js APIs.

Everything you need for Node.js email marketing and automation

npm install @bentonow/sdk

Get up and running with our official Node.js SDK in seconds. Full TypeScript support and comprehensive documentation included.

Track custom events

Send custom events like user_signed_up, order_completed, page_viewed with simple JavaScript methods.

Identify and upsert users

Attach traits to unify profiles and create or update users in Bento without duplicates.

Trigger marketing campaigns

Send events that automatically kick off sophisticated marketing automations in Bento.

Fetch campaign data

Pull campaign, subscriber, or event details programmatically with our comprehensive API.

Delivery monitoring

Monitor email delivery status and engagement metrics detailed analytics.

Bento Node SDK works with your backend stack

Designed for the services and runtimes your Node.js teams already rely on.

Express

Works perfectly with Express.js

MongoDB

Sync user data from MongoDB

Redis

Fast performance with Redis

TypeScript

Full TypeScript support included

Get started in 3 simple steps

1

Install

npm install @bentonow/sdk

Add the official SDK or connect the integration.

2

Configure

Initialize with your API key

Add your keys and basic settings.

3

Send your first event

await bento.track({ event: 'user_signed_up' })

Trigger a Flow and see it live.

Real ways teams use this

Welcome series

Send a warm welcome when users sign up.

event: user_signed_up → welcome

Abandoned cart

Rescue near‑purchases with automated follow-up.

event: checkout_started → rescue

Engagement campaigns

Re-engage inactive users automatically.

event: user_inactive → re_engage

Newsletter

Send regular updates to your audience.

broadcast: newsletter → segment: active

Tired of your current email provider?

We'll help you move from
Klaviyo
to Bento.
No hassle. No surprises. Just better email.

Frequently Asked Questions

What events can I track with the Node.js SDK?

Track custom events like user_signed_up, order_completed, page_viewed, subscription_canceled, and any business-specific events. The SDK automatically captures event properties and timestamps for marketing automation triggers.

Does the Bento SDK work with TypeScript?

Yes, the Bento Node.js SDK includes full TypeScript support with complete type definitions. You get IntelliSense, type checking, and improved developer experience out of the box.

Can I use Bento SDK with Next.js API routes?

Absolutely. The Bento Node SDK works seamlessly with Next.js API routes, middleware, and serverless functions. Perfect for tracking user events in modern React applications.

How fast can I set up marketing automation with Node.js?

Setup takes less than 5 minutes. Install the SDK, add your API key, send your first event, and start building automations in Bento's visual editor immediately.