Skip to content

Template.promoted

Emitted each time a Template is promoted.

Template.promote emits Template.promoted when it completes on a Template.

PropertyValue
Emitted byTemplate.promote
NounTemplate
WakesNone.

Payload

Each delivery is an Event record. data holds what Template.promote returns.

FieldTypeRequiredDescription
namestringrequiredTemplate.promoted.
atdatetimerequiredWhen it happened.
seqintegerIts position in the namespace, one more than the Event before; any seq is a cursor into the history.
datajsonrequiredThe Thing as the Action left it.
data.changeChangerequiredThe Change against the Template.
data.templateTemplaterequiredThe Template that received the refinement.
data.template.bodytextrequiredThe MDX source with its variables.

Example

JSON
{
  "$id": "https://api.sb/tutorloop.com/events/event_1",
  "$type": "Event",
  "name": "Template.promoted",
  "at": "2026-10-22T12:00:00Z",
  "data": {
    "change": {
      "$id": "https://api.sb/tutorloop.com/changes/change_1",
      "$type": "Change",
      "status": "Open",
      "base": "version_1"
    },
    "template": {
      "$id": "https://api.sb/tutorloop.com/templates/template_1",
      "$type": "Template",
      "body": "Example body"
    }
  },
  "seq": 1
}