Salesforce
Complete Enterprise Feature Specification
The only free, AI-assisted, and scheme-driven document generation engine built for the modern Salesforce Cloud & web ecosystem.
DocEngine combines a developer-first JSON Scheme Matrix Architecture with no-code Salesforce Cloud Native data orchestration. Unlike legacy tools that trap users in rigid subscription fees, it provides a completely free, flexible, and security-first alternative.

1. Core Architecture & Deployment Options
DocEngine decouples data structure from layout presentation, giving developers and administrators the choice of how and where they want to compute documents.
- 100% Free Core Model: No per-user monthly licenses, no template caps, and no unexpected enterprise tiers.
- Salesforce Cloud Native Package: Runs directly inside the Salesforce Lightning Experience UI as a secure managed package.
- Infrastructure Agnostic: Can be deployed locally, self-hosted on private servers, or integrated into any standalone custom web portal using an embedded
<iframe>communication layer. - DevOps & Git-Friendly: All template designs, conditional rule trees, and layout structures save directly as raw text-based JSON configuration files. Track changes in Git and migrate programmatically through standard CI/CD pipelines (SFDX, GitHub Actions) across Sandboxes.
Related docs: Storage & versions · API & hosts
2. Advanced Document Layout Components
DocEngine replaces basic text tags with an interactive, rich component canvas optimized for structured enterprise datasets.
- Child (Repeater Blocks): A layout iterator that replicates complex multi-line blocks (e.g. repeating shipping addresses or line-item blocks vertically or horizontally) without manual HTML table wrapping.
- Tree (Data Source Schema): Visually maps the structure of incoming JSON data packages into an easy-to-read schema reference map, independent of how relational CRM databases display objects.
- List (Dynamic Query Collections): Queries any standard or custom Salesforce sObject regardless of direct database lookup paths.
- Choice (Single Selection): Isolates single-value selection rules and keeps layout definitions clean.
- Barcode: Drag-and-drop native generator that dynamically outputs scannable barcodes on the face of the document.
- Signature: Native digital signature capture built into the generation layout layer.
3. High-Fidelity “Fill Mode” Experience
Traditional document generation engines are static “one-way” printers that spit out unchangeable files from flat data records. DocEngine features an interactive Fill-Time Workspace.
- Interactive Editing Panel: Users can modify drop-down menus, type custom choices, or add inline rows into dynamic data blocks before locking in the final production.
- Fill-Time Live Search: Rather than forcing users to link records in the CRM beforehand, the List component lets users search the live Salesforce database on-the-fly (e.g. accounts or price catalogs by typing) from within the document workspace.
- Comprehensive Multi-Select Formatting: Solves the classic Salesforce Multi-Select Picklist formatting bottleneck natively. Admins select standard dropdown properties to format multi-select outputs as Bullet lists, Numbered lists, One per line, or horizontally on the Same line with a semicolon delimiter — without writing a single Salesforce text formula.
4. Intelligent AI Ingestion & Parsing Pipeline
DocEngine slashes template onboarding and migration friction through a hybrid pipeline that uses Artificial Intelligence as an enhancement layer over a deterministic baseline.
Pipeline
Upload (.docx / .pdf)
└── 1. File Ingestion ──> Mammoth HTML (DOCX) / pdf.js (PDF) [Deterministic]
└── 2. Layout Vision Layer ──> Multimodal Vision Suggests Grids/Tables [Optional]
└── 3. IR -> Template ──> Identifies Fields, Columns, Repeaters [Deterministic]
└── 4. Label Enrichment ──> LLM Identifies Types (Text/Date/Number) [Optional]Ingestion stages
- Deterministic Intermediate Representation (IR): Ingests incoming files through client-side engines — Mammoth.js for Word and pdf.js for PDFs — to map standard layouts, headings, paragraphs, and lists with zero hallucination risk.
- Layout Vision Layer (Optional): When enabled (
IMPORT_VISION=1), a vision model renders pages to spot irregular layout structures like intricate column tables and visual borders, merging them accurately back into the IR. - Template Generation: Translates the parsed components directly into DocEngine’s native layout sections and interactive field grids.
- Label & Type Enrichment (Optional): If an environment key is present, an LLM evaluates scalar variables to assign explicit text, numeric, or date constraints and clean up messy titles (e.g. renaming “DOB” to “Date”).
- Fail-Safe Architecture: The AI never invents text structure. On any timeout, API disconnect, or structural processing failure, the pipeline instantly falls back to the clean, deterministic layout mapping baseline.
5. Enterprise Data Privacy & Security Guardrails
Built for strict regulatory environments in finance, healthcare, and governmental operations.
- Bring Your Own Model (BYOM): The AI/Vision layer is entirely environment-configured. Corporate users plug in their own authorized, secure LLM API gateway (e.g. private Azure OpenAI, Amazon Bedrock, or local air-gapped clusters). Customer data never routes to a third-party DocEngine cloud.
- 100% Client-Side Platform Processing: DocEngine copies its parsing framework onto the Salesforce Platform using secure Lightning Web Components (LWC) and bundled Static Resources. File reading and IR translation execute entirely within the local user’s browser view, ensuring zero data leakage outside the core CRM boundary.
6. Comprehensive Market Comparison Summary
| Capability | DocEngine | Junodoc | S-Docs | Conga Composer |
|---|---|---|---|---|
| Licensing Cost | 100% Free | $14 – $38 / user / mo | $24+ / user / mo | $20+ / user / mo |
| Template Legacy Migration | AI-Powered Auto Ingestion | Manual Copy-Paste | Manual HTML Assembly | Manual Merge Tagging |
| Data Architecture | Scheme/JSON Driven | CRM Record Bound | CRM Record Bound | Query / Report Bound |
| DevOps & Git Pipeline | Excellent (JSON Schemes) | Poor (Database Records) | Poor (Database Records) | Poor (Template Files) |
| Data Storage Perimeter | Client-Side / Salesforce | Salesforce Cloud | Salesforce Cloud | Hybrid External Cloud |
| Dynamic Table Processing | Pivot & Matrix Native | Flat Child-Row Only | Manual HTML Rows | Complex Word Tokens |
| Dynamic Fill-Time Search | Yes (Direct Live-Query) | No (Static Pre-fetch) | No (Static Pre-fetch) | No (Static Pre-fetch) |