Smart document
Before you start
A Smart document step fills a template with data and saves the result as a file on a record. Use it to produce a contract PDF, a purchase order or an invoice at the moment a workflow reaches it.
When should I use Smart document?
Section titled “When should I use Smart document?”Use it when the file must exist before the next step. You make the template first, under Document templates. A Send email step can then attach the file if you also put it in a file field.
Add a Smart document step
Section titled “Add a Smart document step”- Click + and choose Smart document. It sits in the Communicate group.
- Under Template, choose the template.
- Under Fill the placeholders, give each placeholder a value. Use Insert data for fields.
- Under Save the file, type the Name. Beezr adds the file extension.
- Optional: turn on Also put it in a file field and choose Which field.
${name} in the template.What do the settings do?
Section titled “What do the settings do?”| Setting | What it does |
|---|---|
| Template | A document template. Shows Page template · makes a PDF, Word template or Excel template |
| Fill the placeholders | A value for each placeholder. A table placeholder takes a list |
| Name | The file’s name. The extension is added for you |
| Also put it in a file field | Writes the file into a file field of the record, so later steps can use it |
| Attach it to a different record | Under Advanced. Choose a module and a record key |
| Add a signature | Under Advanced. Bookmark name in your Word file and Signature field |
If the template gains a placeholder after you chose it, the step offers Add it. Remove placeholders you deleted from the template.
Worked example: a contract PDF
Section titled “Worked example: a contract PDF”Layla chooses the Contract template. She fills ${contractNumber} and ${vendorName} with inserted fields, and the lines table with her contractLines list. Name is Contract. She switches on Also put it in a file field and picks the contract’s file field. A Send email step later attaches that field.
What should I watch for?
Section titled “What should I watch for?”- The file is always attached to a record, by default the one that started the workflow.
- Add a signature in Word templates.
- If you delete a template, choose another one in the step.