Customer journeys built for code and AI
Sendwend is an open-source TypeScript SDK for lifecycle email, push, Slack, and Discord. Keep journeys in your repo: coding agents can write them, the compiler catches mistakes before anything sends, and everything runs on your own infrastructure.
$ npm add sendwendJourneys built like the rest of your software
Every journey is type-checked, reviewed in Git, verified by tests, and deployed on the infrastructure you already run.
Type-safe and AI-native
Every journey is written in a typed TypeScript DSL. Whether a teammate or an AI agent edits it, the compiler catches typos, unknown fields, and missing props before anything sends. Because the entire flow lives in code, agents can also review it and suggest smarter lifecycle strategies.
Multichannel
Combine email, push notifications, and Slack or Discord messages in a single workflow. Across web, iOS, and Android, every touchpoint shares the same user data, so users get one coherent experience instead of disconnected campaigns on each platform.
Easy to test
Test a seven-day journey in minutes instead of waiting a week. Run unit tests on a virtual clock, or speed up time in development (at 600x, a full day takes just 2.4 minutes) so your team can verify changes the same day.
Infrastructure-agnostic
Run the same journeys on Cloudflare Workers, AWS Lambda, or self-hosted Node with Postgres. Because the engine stays decoupled from the runtime, every platform gets native integration with identical behavior. Use the stack your team already knows, and switch hosts later without touching your workflow code.
Why a DSL
Visual builders trap your logic in clicks where mistakes slip through and AI can't help. General-purpose code gives up visual flows, consistent metrics, and guardrails. Sendwend's DSL is the middle ground: declarative TypeScript that catches errors early, keeps AI on track, and doubles as a visual canvas.
Local time, local language
9 AM in Tokyo, Berlin, and San Francisco are three different moments. Time windows read each user's time zone and deliver at the right local hour automatically. Localization works just as naturally: templates are React components that take the user's locale as a prop and reuse your app's existing i18n setup.
Pay for usage, not profiles
Most platforms charge per stored profile, so your bill climbs as your user base grows, even when most of them are inactive. Sendwend runs on your own cloud and existing Postgres database: you only pay for what you actually send, typically over 90% less than Customer.io.
Frequently asked questions
Didn't find your answer? Send us a message and we'll reply by email.
Start with one journey
Install the SDK, define your first workflow in TypeScript, and verify it locally before sending a single message.
$ npm add sendwend