Skip to main content
Pull templates and all their variants from a SuprSend workspace into your local directory. Each template - including all its channel content, variant definitions, conditions, and mock data - is written to a local directory (<dir>/<slug>/) that you can edit and push back. This action does not delete local files of templates that are not being pulled. For each pulled template, its existing <slug>/ directory is replaced, so local variant files that no longer exist in the workspace are removed; new slugs are created as new directories. By default, templates are saved to ./suprsend/templates/. Use --dir to change this. Specifying a directory is recommended when working across multiple workspaces.

Syntax

Flags

Example

After pulling, the local files serve as your source of truth for editing. Make changes to variant content, conditions, or mock data, then run suprsend template push to upload the changes as a draft, and suprsend template commit to make them live.