SendLang: A DSL for Email Automation

SendLang introduces two domain-specific languages, SendQL and SendFlow, to manage email automation and drip campaigns as version-controlled code. This approach allows developers to treat marketing workflows as text that can be reviewed, diffed, and generated by AI agents.
Why it matters
It represents a shift toward 'infrastructure as code' for marketing operations, moving away from proprietary visual editors.
SendLang is the home of two small, focused languages. SendQL describes who a message is for. SendFlow describes what happens to them over time — and speaks SendQL natively.
Try it in SendOps Written by people and by coding agents — a published grammar, a type checker to iterate against, and a diff you approve. See how .
SendFlow trial-onboarding.flow workflow "Trial onboarding" v1 { enter on segment "trial-started" exit "converted" when attr . plan != "trial" send "welcome" via topic "onboarding" wait 2d if not exists ( open where template = "welcome" ) { send "welcome-reminder" via topic "onboarding" wait 2d } send "activation-tips" via topic "onboarding" wait up to 7d until count ( activity . login within 7d ) >= 2 { timeout : send "need-a-hand" via topic "onboarding" } } Already in production at
Get smarter about the news
Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.
Create free accountAlready have an account? Sign in