Skip to content

Template gallery

Four annotated example journeys cover the shapes most automations take. Each one is the real source that ships with @cowliss/cli, along with its emails and a scenario, so what you read here is exactly what lands in your project.

Copy any of them into your project with one command:

Terminal window
cow add example abandoned-checkout
# writes ./journeys/abandoned-checkout.ts, ./emails/…, and ./scenarios/…

The copied files are the example’s own source. cow add example never overwrites an existing file unless you pass --force, and cow init --example <name> starts a whole new project from one.

Template Shape Triggers on
activity-decay timer loop: trait set, silence clock, unset activity
abandoned-checkout recovery window with a mark on success checkout_started
winback timer loop with an email at the end of silence purchase_completed
cross-app-pitch app-scoped trigger, durable wait, condition plan_upgraded in one app

Each page renders the full annotated source, its scenario, and an explanation of the pattern, so cow test <name> --scenario scenarios/<file> watches it run before you touch production.