Skip to main content
Push templates, email templates and in-app messages are edited as drafts and reach your users when you Publish them. A journey, a campaign or a trigger always sends a template’s published copy, never the draft you are still working on.

Save and Publish

  • Save stores your edits as a draft. Nothing that is already sending changes.
  • Publish makes the saved draft the copy that every journey, campaign and trigger sends. The editor saves your current edits first, then publishes them.
  • An editor shows Unpublished changes when the draft differs from the published copy.
Where you find Publish: An in-app message that is not itself active but that a journey sends is published the same way. Publishing it captures the copy the journey sends; it is not served to the whole app, so the editor says Captured; the journey sends this copy. A refused Publish says why: a push that is too large for the APNs or FCM payload limit, a message that fails validation, or one of the reasons below.

Discard draft

Discard draft throws the draft away and puts the published copy back into the editor. It is offered when a template has a published copy and unpublished changes. The discarded edits are kept in Version history, so you can restore them.

Templates that belong to a journey

A template generated together with a journey belongs to that journey, and publishes with it: activating the journey publishes the journey’s own templates. While the journey is a draft, the template’s editor shows Publishes with the journey instead of a Publish button. If the journey is archived, it shows Its journey is archived, because nothing sends it. A template that belongs to one journey and is also used by another live journey is published like any other template.

Using an unpublished template

A template that has never been published has nothing to send. Activating a journey that uses one, scheduling, sending or resuming a campaign with one, and enabling a trigger on one are refused with Publish this template first. A campaign’s preview shows the published copy it will send, and says when the template has unpublished changes.

Deleting a draft journey

Deleting a draft journey deletes the templates that belong to it (an email template is archived rather than deleted). A template another journey (a draft included), a campaign or a trigger still uses is kept, and so is an active in-app message, which stays as an ordinary message.

Apps still on the previous behaviour

Each app moves to the publish model on its own. Until it does, the app keeps the previous behaviour: a saved push or email template is sent as soon as it is saved, and the push dialog has no Publish. The email editor’s Publish does what Activate did. An app stays on the previous behaviour while some of its messages differ from their published copy. The message lists then show a banner: This app is still on today’s behaviour, because N messages differ from their published copy. Publish them, or discard the drafts. Publish or discard each in-app message the banner counts, and the app moves over on its own shortly after.

Content variants

A push or email template can carry content variants: other versions of some of its fields, each with a weight. Open the template (the push template’s dialog, or the email template’s editor) and use Content Variants.
  • A push variant can set the title, body, media URL and tap action. An email variant can set the subject, preheader, HTML body and text body. Email variants carry no hero image: every variant sends the template’s.
  • A field you leave empty sends the template’s own content. The Control variant sends the template as it is.
  • Each recipient gets one variant, chosen from the weights, and the same one on every send of that template. Changing the weights can move a recipient to another variant on a later send.
  • A push variant’s title, body or image replaces the template’s iOS and Android overrides for that field. An override on a field the variant leaves empty still applies.
  • A journey step that sets one of the fields the variants differ in sends the template’s own content, without variants, at that step.
  • The push dialog’s Preview and the email preview each have a variant selector that renders the chosen variant over the template (the push preview per platform, overrides applied).
  • Send test in both editors has a Variant selector, which sends the saved variant you pick. A test send is not counted in the variant stats.
  • Each variant must fit what a send needs: a push under the 4 KB payload limit, deep links that open, {{tokens}} that resolve, and an email with a subject and a body. It is checked alone and with each live journey step that sends the template, and a save or publish that fails is refused with the variant and the step named.
  • Variant stats under the variants show, per variant, its sends, deliveries, opens (push: taps) and clicks (email). They are descriptive only: run an experiment to test a difference. The panel also lists the live journey steps that set a field the variants differ in, which send the template’s own content. A journey step shows the same note in the journey editor.
  • A push or email campaign’s page shows the same stats per variant.
  • Variants are saved with the template and published with it. Sends use them once AppDNA turns template variants on.
A template that is an arm of a running or paused experiment cannot have variants: an experiment’s arms must be single templates. Its editor names the experiment and links to it, and a save that adds variants is refused with This template is in a live experiment (‘<name>’). Variants would split its arm. Once the experiment ends, variants can be added again.