Article may be outdated

This article is 83 days old. Some details may have changed since publication.

Hacker News·4 min read·hard

SendLang: A DSL for Email Automation

K
ksajadi
SendLang: A DSL for Email Automation
✦AI Summary

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.

✦Dive DeeperCreate a free account to unlock

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

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
technologybusiness
✦

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 account

Already have an account? Sign in