Conversion Is Solved. Provenance Isn’t.
Drop a PDF into any capable LLM, ask for a web page, and you'll have something clean in under a minute. Optimizely now ships that as a feature: the Page Builder agent for CMS 13 takes a document, image or URL and creates a content item of the type you specify. The demo is real.
We recently worked through this problem: a large PDF library in a regulated industry, headed for a new CMS 13 site, with compliance reviewing everything. The conversion never worried us. What worried us was everything the conversion step can't answer: which sources count, who is allowed to see the result, which words must not change, and whether a published page still matches what compliance approved.
The corpus is smaller and messier than the estimate
The opening estimate was a four-figure PDF count. Deduplication cut it by more than half. The duplicates came from an earlier DAM migration: redirected assets, files sitting in a recycle bin, and the same PDF linked from several pages under different URLs.
Two habits paid off. Treat the asset ID in the system of record as the source's identity, not the URL or filename. And mine URL and redirect history to build the redirect map, collapsing chains so every legacy URL resolves in one hop. If someone has already done a manual disposition pass on the library, keep it. It's your evaluation gold set.
Let the DAM do the deterministic work
The rule we kept returning to: if a question has a single right answer, it belongs in a system of record, not a prompt. For files, that system is the DAM.
- Identity and dedupe. Asset IDs, checksums and version history catch exact duplicates before you spend tokens rediscovering them.
- Disposition as metadata. A status per asset (convert, merge, retire, keep as download), plus owner and package, turns progress tracking into a query instead of a spreadsheet.
- Entitlements and expiry on the asset. Visibility and review dates enter the pipeline as inputs. The model never infers them.
The catch: a DAM is only as deterministic as its metadata, and a messy migration is exactly how our duplicates got there. Budget for cleanup before you lean on it. The same rule applies to other tools: let a crawler build the link graph, the redirect manager hold the map, and the CMS own approvals.
Already on Optimizely DAM? CMS 13 indexes DAM assets into Optimizely Graph through External Sources, so a content query returns asset data alongside the page, and attribution and image placeholders can point at real assets. CMP workflows can hand a task to an Agent Platform workflow agent through an external step and webhook, which gives generation a deterministic trigger. One migration gotcha: exporting content that uses DAM assets from one CMS instance and importing it into another isn't supported, so "build in staging, promote to production" needs a different plan.
Package by owner, and carry the metadata
A big-bang batch fails for a human reason: nobody owns the output. Owner-driven packages, one topic or product line at a time, give every batch someone accountable. We also let the AI propose groupings, seeded by something deterministic: the page-to-PDF link graph.
Existing web pages are sources too. Some get replaced; others are context only, informing the output without being migrated. Owner instructions (audience, emphasis, exclusions, next-best action) should be a modeled input, not a chat message.
Scoping the work as "PDFs only" hid the biggest gap: visibility. Content was entitled by audience × product × geography, and that has to survive every stage, from merge decisions (never merge sources with different visibility) through generated pages to the CMS. Page-level attribution back to source PDFs travels with it.
Expect to regenerate each package several times. That makes token cost hard to estimate up front, so track it per package and per owner.
flowchart LR A["DAM assets + web pages"] --> B["Dedupe and identity"] B --> C["Owner packages"] C --> D["Generate (Markdown)"] D --> E["Protected language and entitlement checks"] E --> F["Word review"] F --> G["CMS 13 build"] G --> H["Divergence check"] H -->|"Changed"| FProtected language travels by reference
Compliance-approved wording can't be paraphrased, and "please don't paraphrase this" in a prompt is not a control. Carry it by reference: the model emits a token, the pipeline substitutes the approved text, and every registry entry is matched deterministically back to its source. Better still, swap protected passages for references before the model sees the source, so it has nothing to rewrite.
Owners often mark protected text by bracketing it in the source. Convenient, and also a prompt-injection surface: bracketed text is now something the pipeline acts on. Extract it outside the model and validate it as data.
The post-check is cheap. An illustrative version:
type ProtectedEntry = { id: string; text: string };
const REF = /<protected ref="([\w-]+)"\s*\/>/g;
const norm = (s: string) => s.toLowerCase().replace(/\s+/g, " ").trim();
export function checkProtected(
draft: string,
registry: Map<string, ProtectedEntry>,
required: string[],
): string[] {
const errors: string[] = [];
const used = new Set([...draft.matchAll(REF)].map((m) => m[1]));
for (const id of used)
if (!registry.has(id)) errors.push(`Unknown ref: ${id}`);
for (const id of required)
if (!used.has(id)) errors.push(`Missing required ref: ${id}`);
// Approved text should enter the page only through substitution.
const prose = norm(draft.replace(REF, ""));
for (const { id, text } of registry.values()) {
const head = norm(text).slice(0, 60);
if (head.length >= 20 && prose.includes(head))
errors.push(`Inline copy of ${id}; use the reference`);
}
return errors;
}
The missing-reference check does the most work: a paraphrase usually shows up as a required reference that never appeared.
Reviewers, charts and the IA you don't have yet
Markdown is for the model; Word is for people. SMEs, writers and compliance review in the tool they already use, with page-level attribution to the source PDFs.
Some PDFs are a chart and one sentence, and text extraction returns almost nothing. Detect them by text density, extract the images, and insert placeholders that reference the source asset.
The information architecture was still being redesigned when generation started, with no block designs yet. Placement had to be optional or provisional, and output started undesigned. Validate generated content against the block library as soon as blocks exist; an agent-based validation test is a cheap way to do it.
Compliance reviews twice
There's a review of the Word drafts and another of the built pages. Any CMS edit in between makes a page drift from its approved record. Design for it: fingerprint the approved content, compare on publish, and route divergent pages back for review instead of trusting a status flag.
Where Page Builder fits
Page Builder (CMS 13) landed in the Agent Directory on August 27, 2026. You give it a content type and a parent, plus an optional file and prompt; it builds a populated content item, uploads media and returns a preview URL. You run the Content Analysis agent for that content type first. Optimizely's credits page puts the averages at about 130 credits per Page Builder run and 120 per Content Analysis run.
It's a strong fit for one-off and editor-driven conversions. Nothing in its inputs covers dedupe, entitlements, protected-language enforcement, batch provenance or review workflow, and its required parent assumes your IA already exists.
The two coexist well: a pipeline for the migration, Page Builder for the editorial work that follows. And since Optimizely.Cms.Opal.Tools 13.2.0 added an MCP server exposing the same CMS tools, a custom pipeline has a supported path into CMS 13 as well.
Lessons
- Count after you dedupe. Every estimate made before that is wrong.
- If it has a right answer, keep it out of the prompt. Identity, entitlements and status belong in systems of record.
- Approved language is data, not prose. Reference it and check it; don't ask the model nicely.
- Approvals expire when editors touch the page. Detect drift instead of assuming it away.
- Budget per package. Nobody can price "until it's right."
None of this makes the model less useful. It makes the model safe to use. Page Builder and whatever follows it will keep getting better at the conversion itself, and that's good news: it frees budget for the parts that decide whether a regulated organization can actually publish the result. If you're planning a migration like this, spend your first week on the corpus, the metadata and the approval path. The prompt can wait.
I'll follow up once this one is in production with what held up and what didn't.