Skip to content
Cowliss is in beta: features and pricing may change.

cow templates

The email templates an automation sends: who sends them, rendering one, writing one, and sending yourself a test.

cow templates [options] [command]

List the organization’s email templates

cow templates list [options]

Options

Flag Description
--cursor <cursor>
--limit <n>
--app-id <appId>
--q <q>

Create a template

cow templates create [options]

Options

Flag Description
--app-id <appId> appId is the appId in the app’s cow.json.
--key <key>
--template <json>

Save a template’s next version

cow templates update [options] <key>

Options

Flag Description
--app-id <appId> appId is the appId in the app’s cow.json.
--template <json>

Inspect one email template

cow templates get [options] <key>

Options

Flag Description
--app-id <appId> appId is the appId in the app’s cow.json.

Render a template with the props you pass

cow templates preview [options] <key>

Options

Flag Description
--app-id <appId> appId is the appId in the app’s cow.json.
--props <json>

Send a rendered template to your own address

cow templates testSend [options] <key>

Options

Flag Description
--app-id <appId> appId is the appId in the app’s cow.json.
--props <json>

Delete an email template

cow templates delete [options] <key>

Options

Flag Description
--app-id <appId> appId is the appId in the app’s cow.json.