Overview
A Flow Builder campaign keeps a numbered version for each change saved to it, and each component in the campaign can be read at any of those versions. This page covers how to see that history, how to compare a component at two versions, and how to tell whether a creative was changed by hand or is still the library template it was copied from. Every read on this page uses your own access token and changes nothing.Versions
Three version numbers describe a component:- Campaign version: the campaign’s own version. The campaign gets a new version each time a change is saved to it. The published version is the one participants see. The latest version holds the most recent saved change, and it can be a draft that is not published yet.
- Component version: the component’s
version. It goes up by one each time the component itself changes. - Origin version: when the component was copied from another component, its
originrecords that component and the version that component had. See Compare a Creative With Its Library Template.
The component changed once between campaign versions 172 and 207. Its origin did not change. The two numbers count different things: the component’s
version counts changes to this component, and origin.component_version is the template’s own version when this component took its origin, so either one can be higher.
See Versions in My Extole
The Component Diff in My Extole compares a component at two campaign versions, setting by setting. Compare a Component Across Campaign Versions has the steps to open it, read it, and bring settings from one version into your draft. Each side of the Component Diff has a version picker. It offers Published, Latest draft, and the campaign’s version history, with each version’s state and date. You can also type a version number.
The version picker on the incoming side, listing the campaign's version history.

The Settings tab comparing version 207, the published version, with version 172.
Read Version History Over REST
These reads list a campaign’s versions, and return a campaign or a component as it was at one of them.List a Campaign’s Versions
GET /v2/campaigns/{campaignId}/versions (Get Campaign Version History) lists the campaign’s versions from the most recent to the oldest. Use limit and offset to page through them. A limit above 1000 is rejected.
Each entry describes one version:
version: the campaign version.parent_version: the version this one was made from. It is usually the version just before it. A version restored from an older version names that older version.created_date: when the version was saved.published_date: when the version was published. It is empty for a version that was never published.message: a note saved with the version. It is often empty.
Read a Campaign or Component at a Version
GET /v2/campaigns/{campaignId}/version/{version}(Get a Campaign by Version) returns the whole campaign at a version.versionis a version number,latest, orpublished.GET /v1/components/{component_id}/version/{version}(Get a Component by Version) returns one component at a version of its campaign.versionis a campaign version number. Any other value reads the latest version of a component in your own campaign, or the published version of a component that another account shares.
version and origin in the response are the values it had at that campaign version.
Compare Two Versions Over REST
GET /v1/components/{component_id}/diff/{other_component_id} (Diff Two Components) compares the settings of two components. To compare one component at two campaign versions, give the same component ID twice, and the two versions as component_version and other_component_version:
settings_diff for each setting that was added, removed, or changed. Each entry has the setting_name, the current_setting read at component_version, and the other_setting read at other_component_version. The diff leaves out image settings, the settings that hold child components, and any variable that both components inherit. Without a version, each side is read at the latest version of a component in your own campaign, or the published version of a component that another account shares.
The diff compares settings only. It does not compare a creative’s code.
Compare a Creative With Its Library Template
Use this section when you need to know whether a Flow Builder campaign’s creative was changed by hand, or is still the library template. Your account can read the library templates that Extole’s own accounts hold. It can read a component in any other account only if it subscribes to that account.What You Compare
A participant sees the result of three things. Only one of them can hold a hand-made code change.- Component settings: copy, colors, images, amounts, and toggles that someone can change in the campaign editor. A difference here is configuration, not a customization of the creative.
- The creative archive: the source code behind one experience, in folders such as
html/,js/,less/, andvariables/. Which folders an archive has depends on the experience: an email has noless/folder, and only some experiences have afont/folder. A hand-made change lives here, often inless/custom-overrides.less. - The library template: the library component the campaign’s component was copied from.
Find the Template
A Flow Builder component can record its origin: a component, the account that owns that component, and that component’s version. Read it in the component’sorigin, with Get a Component by Version. Copying a component sets its origin, as step 2 describes. Connecting a component to a template, or upgrading it, sets the origin to the template at the template’s version at that time.
- Find the campaign’s creative action for the experience in question. The component on that action is the campaign’s copy.
- Read the origin. If an Extole account owns the origin component, that component is the library template. Otherwise the origin is the component this one was copied from. A copy made inside the same account keeps the source’s origin when the source has one, so it points past the source. It points at the source itself when the copy came from another account, or when the source recorded no origin. Read the origin component’s own origin, and repeat until you reach a component that Extole owns. If you reach a component that records no origin, or one your account cannot read, there is no library template to compare against.
- Read the template’s campaign, and find the creative action whose component is the template. That action’s archive is the one to compare against.
- Compare the version the origin recorded with the template’s current version. If the template’s current version is newer, the template has had a new version since the copy or the last upgrade. In the rest of this section, that is what “the library has changed since the copy” means. The template’s version goes up on any change to the template component, including a change to its settings alone, so a new version does not always change the code.
- The component records no origin. The platform does not know what it was copied from. Some edits to a component clear its origin.
- The library no longer holds the template. Reading the origin answers Component not found.
Find the Template as It Was Copied
If the library has changed since the copy, the template’s current archive mixes two kinds of difference: changes made in the campaign, and changes the library made afterwards. A version of the campaign, or of the template’s own campaign, holds the template as it was copied, and comparing against it separates the two.- Read the campaign’s version history, as in List a Campaign’s Versions. Count back from the latest version to the last one where the component holds its current origin, with the same component and version. That version took the origin. Read its message to see how. These steps cover a version that duplicated a campaign, restored an older version of this campaign, upgraded the component, or connected the component to its origin. If the version took the origin some other way, compare with the template’s current archive. A difference the library could have made then has two possible sources, and the comparison cannot tell them apart.
- If that version restored an older version of this campaign, and that older version holds the same origin, repeat step 1 from the restored version. A version restored an older one when its
parent_versionis older than the version just before it. - If that version duplicated another campaign, and its message reads
Campaign duplicated: sourceCampaignId=…, sourceCampaignVersion=…, the message names the source campaign and version. If the message does not name them, compare with the template’s current archive as in step 1. If the source is the template’s campaign, the copying version holds the template as copied. Otherwise, find the same component in the source at that version, and repeat step 1 in the source. - If that version upgraded the component or connected it to its origin, the template’s own campaign holds the template as it was taken. When the template is in another account, that is the newest published version of the template’s campaign at or before the time the origin was taken. When it is in your own account, it is the newest version saved at or before that time. Download the template’s archive at that version.
- Otherwise, download the creative archive of the copying version.
- The template as copied against the campaign’s archive. Every difference was made after the copy, in the campaign. Each one is a customization.
- The template as copied against the template’s current archive. Every difference is a library change after the copy. None of them is a customization.
Read Each Difference
The archive download puts every file under a folder named for the creative action’s ID. Remove that first folder from every path in both archives before you compare, so the two action IDs do not show up as a difference. When you compare with the template’s current archive, read each difference with this table.
A library change after the copy is common. When the campaign lacks code the template has, that difference is usually the library moving on, not a hand-made removal.
Read the Setting Differences
Compare the campaign’s component with the template’s component with Diff Two Components, as in Compare Two Versions Over REST. Name the campaign’s component and the template’s component, each with the campaign version to read it at. A setting that points at another component can differ because each side points at a component in its own campaign. Check what each value points at before you count the difference as a customization. The rest are configuration: copy, colors, and options someone set in the campaign editor.What a Clean Result Proves
Identical archives prove that the creative’s code is the template it was compared with: the template as copied, or the template at its current version. They do not prove:- That the settings match. Settings are compared separately.
- That the page looks like the template. Settings and images still change what renders.
