Architecture & trust

Document generation that never leaves the Salesforce trust boundary.

ZeroExport is a managed package. Templates compile and render in Apex, the builder runs in LWC, and output stays in Salesforce. The package makes no outbound connection at generation time, so there is no external service to review, contract with or monitor.

For CISOs, InfoSec reviewers and Salesforce technical architects.

What you are approving

Apex and LWC only

Compilation, data assembly, layout and PDF rendering execute in Apex inside the customer org. The builder is a Lightning Web Component. There is no hosted rendering tier and no sidecar service.

Zero external callouts

No HTTP callouts, no named credentials, no remote site settings, no third-party LLM or rendering API in the generation path. The Ask Agent add-on documents the same rule: no outbound connections of any kind.

No external document repository

Record data is read in the org, rendered in the org and the output stays in Salesforce. Retention, sharing and deletion stay under your existing Salesforce controls.

Fail-closed pre-flight validation

Fields marked required on the data source are checked against the record before generation, and schema problems halt the run upstream. A document with missing data is stopped at the gate; it is not generated and left for a person to notice.

Deterministic compilation

A template version is compiled once, on save, into an Abstract Document Tree. Layout geometry, merged cells, grouping and conditional visibility are resolved from that tree, so the same record and the same version produce the same document.

Governed overrides

Override mode lets a user adjust one document for one record without touching the master template. From 1.13, Live User Override Mode adds section-level lock and unlock, so an admin decides which parts of a document a user may edit on the record before it ships.

Governor-aware by design

Templates are compiled and validated when a version is saved, and required-field and schema checks run before rendering starts. Problems surface upstream instead of as a failure halfway through a document.

Native Agentforce action

The package includes an Apex action that takes a template Id and a record Id and generates the document. Create an agent, add the action, and users can request documents in plain language. Generation is the same deterministic Apex as everywhere else: no external API key, no prompt to maintain, and the agent never writes the document.

AI at authoring time, never at render time

The ZeroExport DocGen MCP server (generally available in 1.13) lets an assistant such as Claude or Codex build or migrate templates from Conga, Nintex and S-Docs. What it produces is a normal template that you validate and import. Rendering stays deterministic Apex. See the MCP server architecture page for its capabilities and limits.

Execution model, side by side

TopicTypical approachZeroExport
Where documents are builtA vendor-hosted service or an external rendering tierApex inside your org
Where output is storedAn external repository, then synced backInside Salesforce
Third-party AI in the generation pathOften present, with API keys and prompts to governNone. Generation is deterministic Apex
Handling of missing dataGenerated, then caught (or not) by human reviewStopped by a pre-flight gate before generation
Security review scopeVendor SOC reports, DPAs, subprocessors, data-flow diagramsA managed package, reviewed like any other

Questions

Does ZeroExport work with Agentforce?

Yes. The managed package ships an Apex action that accepts a template Id and a record Id and generates the document. You create the agent and add the action in your org. The action runs inside Salesforce and ZeroExport adds no external LLM call or API key.

Does ZeroExport send Salesforce data outside the org?

No. Generation runs in Apex inside the org and the package makes no outbound callouts. Output stays in Salesforce.

What does fail-closed mean for document generation?

If required data is missing or the schema does not validate, generation halts before a document is produced. The default outcome is no document, not an incomplete one.

Does the MCP server break the zero-egress model?

The MCP server is an authoring and migration tool that you run on your own machine against a template file. It does not sit in the generation path. Generation remains Apex in the org.

Can users edit a generated document?

In override mode, for a single record, without changing the master template. From 1.13, admins can lock sections so they cannot be edited.