soft proofing.md
Documentation Index
Fetch the complete documentation index at: https://filecheck.io/docs/llms.txt Use this file to discover all available pages before exploring further.
Soft-proofing
Let customers approve automated changes before they proceed. How the proof gate works.
When the merchant enables proofing on a Workflow, the Element renders a visual soft-proof of the file after automated changes (for example, RGB to CMYK conversion or a padded canvas) and asks the customer to sign off.
Flat pages or the product
The Workflow's Soft-proofing step chooses what the customer approves on:
- Flat pages: the proof pages, as they will print.
- A 3D Scene: the artwork on the product itself, such as a mug, a folded leaflet, a booklet or a business card. See 3D Proofs.
The approval gate works the same way with either one.
The proof event
The Element fires proof once pages are rendered:
interface ProofPayload {
pages: Array<{ url: string; page: number; width: number; height: number; mimeType: string; bytes: number; key: string }>;
approvalRequired?: boolean; // if true, the workflow halts until respondToProof() is called
message?: string;
affirmButtonText?: string;
}
intake.on('proof', ({ pages, approvalRequired }) => {
if (!approvalRequired) return; // informational only
showProofGallery(pages, {
onApprove: () => intake.respondToProof(true),
onReject: () => intake.respondToProof(false),
});
});
[!NOTE]
If you don't build a custom gallery, ignore the
proofevent. The built-in iframe gallery handles approval automatically.
See Events for the full event list.
This documentation is built and hosted on Mintlify, a developer documentation platform.