Fill a .docx template from Windmill object storage with `data` and write the result back to object storage, returning its S3 reference. The template uses docxtemplater tags: `{name}` for a value, `{#items}...{/items}` to repeat a block per array element or show it when truthy, `{^items}...{/items}` when empty. A tag with no matching key is left blank. Needs no Microsoft connection and works with any workspace object storage; for a PDF, upload the result with the OneDrive Upload File script and download it with `convert_to_pdf`.
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |
27 | |
28 | |
29 | |
30 | |
31 | |