Design first, automate second
The fastest template system starts with a document people already like. Use Google Docs or Word for flowing agreements and letters. Use Slides or a fillable PDF for certificates, cards, and other fixed layouts.
Keep the original as the design source. Automation should work from a separate prepared copy so a mapping mistake cannot damage the file your team approved.
Use stable placeholders
A placeholder is a clear name for a value that changes, such as {{client_name}} or {{approval_date}}. Stable names are easier to review than positional rules such as “replace the third line on page two.”
Map placeholders to stable field IDs. A question label can change from “Company” to “Organization” without breaking the document.
The source-safe preparation loop
- Share or select the source. Add the exact Google Doc, Slides file, DOCX, or PDF you want to reuse.
- Inspect visible text and fields. Identify every replaceable value and its location.
- Review exact replacements. Confirm what text becomes each placeholder before editing.
- Prepare a copy. Apply the approved replacements to a separate reusable version.
- Generate and inspect a sample. Fill realistic long values and verify the exported file page by page.
Test for real data
Short sample names hide layout problems. Test the longest expected company name, a multi-line address, an empty optional field, and the largest repeating table. Check fonts and pagination after DOCX-to-PDF conversion because the converted result can differ from Word.
Pin the version you publish
A running workflow should use the exact template version that was reviewed. New design edits can become a new version without silently changing documents generated by an existing process.
- Preserve the original source.
- Generate a new output for each request.
- Keep the template version with the workflow run.
- Use the same operation ID when retrying an uncertain generation.
Prepare a template in Optiform
Add the source from the Documents tab, then ask Optiform to inspect its placeholders.