# The Sendfire Brand export format

Version **1.0.0**, the same version as the record schema in this folder.

Licence: CC BY 4.0, see LICENSE-CC-BY-4.0.md.

A Brand export is one zip archive holding one Brand's record from Sendfire: a set of Markdown files a person reads in order, the same record as JSON for other tools, and a manifest. This document describes the archive as Sendfire writes it. `brand-record.schema.json` describes the JSON file field by field, and `README.md` in this folder maps its names to Sendfire's product terms.

## How an export is made

A Marketer of the Brand, or a workspace admin, downloads the export from the Brand's Manage tab, under Maintenance. For a workspace that has closed, Sendfire writes the same archive for each of its Brands. Sendfire records each download in the workspace's own log, with the member who asked; that member is not named anywhere in the archive.

## The archive

The archive is named `<brand>-record-<YYYY-MM-DD>.zip`. Every file sits in one folder of the same name, without `.zip`.

- `<brand>` is the Brand's name in lower case, with accents removed and every run of other characters replaced by one hyphen, cut to 60 characters. A name with no letters or digits becomes `brand`.
- `<YYYY-MM-DD>` is the day of the export in UTC.
- Every file in the archive carries the export time as its modified time.

```
<brand>-record-<YYYY-MM-DD>/
  README.md                   where to start, with the files in reading order
  manifest.json               schema version, export time, every file, counts
  brand-record.json           the record as JSON, against brand-record.schema.json
  markdown/1-brand-brief.md
  markdown/2-brand-memory.md
  markdown/3-campaigns.md
  markdown/4-tests.md
  markdown/5-flow-retros.md
  markdown/6-reports.md
  markdown/7-reviews.md
```

The Markdown files and the JSON file are written from the same record, so they hold the same facts. Retros, Flow Retros and Reports appear in the Markdown as they were written. Only their heading levels change, so that their headings sit under the export's own headings; text inside code fences is left alone.

## Reading order

Start with `README.md`, then read the numbered files in order: the Brand Brief, Brand Memory, Campaigns, Tests, Flow Retros, Reports and Reviews. Each part comes before the parts that cite it: a Campaign's decisions refer to Suggestions that `2-brand-memory.md` sets out in full.

## How the Markdown writes values

- A date is written as a day, such as "October 20, 2026", in the Brand's time zone. A value that is already a day, such as a send date or the start of a Flow Retro's window, is written as that day. A missing date reads "no date".
- A rate is a percentage with one decimal place: 0.482 reads "48.2%".
- An amount is rounded to a whole number and follows the Brand's reporting currency code, such as "USD 12,480".
- The author of a record is written as "Sendfire" for Sendfire's AI, "the Marketer", or "a connected agent". Copy written by a connected agent names the agent's client when Sendfire knows it, such as "Claude, a connected agent".
- A person in a review is written as "A Member", "The Marketer" or "Sendfire". No member is named.

## The Markdown files

### README.md

The title is "<Brand>: the record from Sendfire". Under it: the export time in UTC, the record schema version, the reading order as a numbered list with a count beside each file (Brief revisions across the six sections, memories and Suggestions, Campaigns and Retros, Tests, Flow Retros, Reports, reviewed items), and one line on what the export leaves out.

### markdown/1-brand-brief.md

The Brand Brief's six sections, in this order: Identity, Voice, Audience, Offers, Constraints, Goals.

Each section shows its current text, then a line naming its revision number, its date and where it came from: "edited by the Marketer", "from an accepted Suggestion" or "carried over from earlier Brand notes". Under "Earlier revisions of <section>" every earlier revision follows, newest first, quoted. A section with no revision reads "Not written yet."

### markdown/2-brand-memory.md

The Brand's active memories, under Learnings, Examples and Personas, oldest first. Each memory has:

- a heading: its label, or its first line cut to 80 characters;
- its text. A persona is written as five fields: Who, What they buy and why, What they respond to, Objections, and Relationship. The primary persona says so;
- when it was added and by whom, and the days it holds from and until when it has them;
- its sources: what kind each is (a Campaign, Campaign results, the Marketer, a Test conclusion, a Flow Retro, feedback on generated copy, a connected agent, or earlier Brand notes), its label, when it was observed and how fresh its evidence was. A memory with none reads "No sources recorded."

Under "Replaced memories" follow the memories that were true once and have been replaced, each with the day it was replaced.

Under "Suggestions" follow every proposed change to Brand Memory or to the Brief: first those waiting for a decision, then those decided. Each Suggestion says what it proposes (a new learning, example or persona; more evidence for one; a revision; or a change to a Brief section), where it came from (a named Campaign's Retro, a Test conclusion, a Flow Retro, Sendfire's first read of the Brand, feedback on generated copy, a connected agent, or earlier Brand notes), the day it was raised, any question it asked, the proposed text quoted, why, and the decision: accepted as written, accepted with edits (with the final text quoted), dismissed (with the reason when one was given), set aside by Sendfire before it reached the Marketer, or waiting for the Marketer.

### markdown/3-campaigns.md

Every Campaign with work in Sendfire, oldest first by send date, or by the day it was created for a Campaign without one. A Campaign has work in Sendfire when it has a Brief, copy, a Retro, a review, or a Suggestion that came from it. Each Campaign has:

- a heading with its name, and a line with its send date, its channel (Email or SMS), its status and, when it applies, "Archived";
- **Brief**: goal, offer, audience, key message, concept, primary call to action, context, the Campaign intent and who set it, and reference links. Empty fields are left out; a Campaign with none reads "No Brief written.";
- **Copy**: each element of the accepted copy (subject line, preview text, from name, headline, subhead, body, call to action, SMS message, SMS link) with who wrote it. A body is quoted;
- **As sent from Klaviyo**: the subject line and preview text Klaviyo sent, and the results Klaviyo reported for the send: recipients, open rate, click rate, revenue and orders, as Sendfire last read them;
- each **Retro**, as written, with who wrote it and what it decided for Brand Memory: it raised a Suggestion (and whether the Marketer accepted or dismissed it, or it is still waiting), it found nothing to change, or it proposed a change that Sendfire set aside;
- **Decisions**: each Suggestion that came from the Campaign, with its outcome. The full Suggestion is in `2-brand-memory.md`;
- **Review**: each event of the Campaign's review and of its direction approval, in order.

At the end, "Other Campaigns synced from Klaviyo" lists every send that was read from Klaviyo and has no work in Sendfire, with its send date and subject line.

### markdown/4-tests.md

Every Test, oldest first. Each Test has a line saying whether it runs in Campaigns or a flow, its channel, whether it is open or concluded and the day it started; then its hypothesis ("Needs a hypothesis" when it has none), primary KPI, category, control, variant, decision rule and the Campaigns it ran in. Each conclusion follows with its date, its result (Supports the control, Supports the variant, No meaningful difference, Mixed, Inconclusive, or Not enough evidence), what we learned, what we'll do, and the decision taken. A Test with no conclusion reads "Not concluded yet."

### markdown/5-flow-retros.md

Every flow that has a Flow Retro, in alphabetical order by name. Under each flow, its Flow Retros oldest first, each headed by the window it read (or the day it was written) and given as written.

### markdown/6-reports.md

Every monthly Report, oldest month first, as last written. Each Report has its state (shared with members, a private draft, ready for the Marketer's review, shared with newer results available, or no reportable activity that month), the day it was reviewed, its revision number, and the Marketer's note for the month. Then its headline, summary, What mattered, What we learned, Next month, and Flow work: flow Revisions with their step, change, the day they went live and the reason, and Flow Retro paragraphs. A month with no report text says so.

### markdown/7-reviews.md

The reviews of everything that is not a Campaign: Campaign plans, Reports, Tests, Flow Retros, Flow Specs and Revisions. Each has a heading naming what was reviewed, the day it was shared (or how many versions were shared and the day of the latest), and each review event in order. A Campaign's own review is in `3-campaigns.md`.

A review event is one line: its day, who acted, and what they did (shared it for review, commented, asked a question, replied, approved it, asked for changes, resolved a comment, marked it reviewed, marked it approved, or skipped approval), with the version and whether the text was edited, and any comment text quoted beneath. A mention of a person in a comment reads `@Member`.

## brand-record.json

The record as one JSON object, indented by two spaces, against `brand-record.schema.json`. `format` is `sendfire.brand-record` and `schemaVersion` names the schema version it was written against. Record ids are opaque: they join records inside one export and mean nothing outside it.

## manifest.json

One JSON object, against `export-manifest.schema.json`:

- `format` is `sendfire.brand-export`; `schemaVersion` is the record schema version; `recordFormat` is `sendfire.brand-record`.
- `exportedAt` is the export time.
- `brand` holds the Brand's id and name.
- `files` lists every Markdown file and `brand-record.json` by its path inside the export folder, with `contents` set to `markdown` or `record`. The manifest does not list itself.
- `counts` gives the number of Brief revisions, memories, Suggestions, Campaigns, Retros, Tests, Reports, Flow Retros and reviewed items in the record.

## What is never in an export

- Klaviyo, Shopify and Anthropic credentials, and anything else Sendfire stores encrypted.
- Member names, email addresses and sign-in ids. A review event says only who acted (a Member, the Marketer or Sendfire), and a mention of a person in a comment reads `@Member`.
- Anything about individual recipients. Campaign results are Klaviyo's totals for the send.
- Sendfire's storage names: no table or column name, and no Clerk or Stripe id, appears in the Markdown or the JSON.

## Versioning

The export format follows the record schema's version. A new optional field, a new value in a list or a new Markdown section is a minor version. Removing or renaming a file or field, or changing what one means, is a major version. A wording fix in this document is a patch.

## Change log

- **1.0.0** (prepared 2026-10-21, HIG-1511). First version, describing the archive Sendfire writes for record schema 1.0.0 (HIG-1504).
