Plug-in (Component)Advanced Plug-in

Document Generator

by Appian Corporation

Description

Document Generator automates document creation by combining styled document templates with structured, dynamic data. You design a Word (.docx) or PowerPoint (.pptx) template once, place markup tags and visual placeholders where dynamic content belongs, and the plug-in populates those placeholders at runtime while preserving the template's typography, colors, layout, and visual design.

Document Generator keeps document design separate from application logic. Templates contain no business logic or conditional scripts. You prepare and format all data in an expression using a library of tag-specific SAIL helper functions, then pass the data to a smart service that generates the finalized document. Document Generator is ideal for creating invoices, dynamic reports, personalized customer communications, financial statements, executive briefing decks, and other business documents that require dynamic content and consistent formatting.

Features

Document Generator provides the following capabilities:

Style preservation: All formatting applied to a template tag—including fonts, colors, text alignment, margins, and inline styling—is preserved in the generated document. Logic separation: Templates contain no business logic. You handle all data transformation and formatting in a SAIL expression before populating the template through a smart service. Strict data validation: Mark tags as required to enforce critical data delivery. The Document Generator smart service validates the data payload and halts generation with a descriptive error if a required field is missing. Rich media placeholders: Beyond text substitution, Document Generator supports dynamic placeholders for images, data tables, charts, HTML, links, sections, and page breaks. Path traversal: Access nested object properties and array items directly within tag names using dot-notation indexing syntax. Helper functions: A library of tag-specific helper functions handles data preparation, dynamic table binding, and image and chart sizing before generating.