LevelIntermediate
Time40 minutes
TopicPDF automation
You'll need
- Microsoft Word (desktop or web)
- Adobe Document Generation Tagger add-in
- Adobe PDF Services connection
1. Prepare sample JSON
{
"customer": { "name": "Syarikat Maju Sdn Bhd", "regNo": "201901012345" },
"items": [
{ "product": "Acrobat Pro for teams", "qty": 10, "price": 1309.85 },
{ "product": "Acrobat Sign Solutions for business", "qty": 2, "price": 2184.00 }
],
"isGovernment": false
}2. Tag the template
- Open the add-in, paste the JSON, and click Generate Tags.
- Insert basic tags for
customer.name. - Insert a table tag bound to
itemsso each item becomes a row. - Add a conditional section that only shows when
isGovernmentis true (e.g. government terms).
3. Generate in a flow
- Add Generate document from Word template (Adobe PDF Services).
- Template = the tagged DOCX; JSON = your data; output = PDF.
4. Test edge cases
Empty arrays, long names, Malay and Chinese characters, and numbers with decimals — check each renders correctly.
Tips
- Keep templates in a controlled SharePoint library with versioning; flows should read the latest approved version.