You can also check out our two-step wizard to help you find the right placeholders for your document templates:
Introduction
Placeholders can be located anywhere in your document template.
There are three types of DocuGen placeholders (details below):
- Table placeholders insert a table of items or subitems in your document
- Column placeholders insert the value of a specific column for a specific item
- General placeholders insert information about your monday.com account or the user generating the document
Visit our Template gallery for sample templates using placeholders. You can also visit our Tutorials for step-by-step instructions.
Table placeholders for board items
Table placeholders insert a table (rows and columns) of items from your board.
Placeholder | Explanation |
<<table_header>> |
Tells DocuGen to insert the column labels from the board in one row in your document. You must insert the <<table_header>> placeholder inside a 'guide table' in your Word template so that DocuGen can generate the document using the same styling you applied to each column. For example, if the guide table in your Word template looks like this: ... the generated document will look like this: Note that the placeholder <<table_header>> and the dummy text ("Any text...") have all been replaced by the column labels from the board. No other rows are changed, since there are no other placeholders. |
<<table_body>> |
Tells DocuGen to insert the board items as a table in your document (without the column labels). You must insert the <<table_body>> placeholder inside a 'guide table' in your Word template so that DocuGen can generate the document using the same styling you applied to each column. If you apply a filter to your DocuGen view and click the green "Generate document" button, the table in your document will only contain the filtered items from your DocuGen view. DocuGen will insert one row for each item. For example, if you have 3 items in your board, DocuGen will insert 3 rows in your table, starting on the row where the <<table_body>> is located. For example, if the guide table in your Word template looks like this: ... the generated document will look like this: Note that the placeholder <<table_body>> and the dummy text ("Anything here...") have all been replaced by the items from the board. Also, since there are 3 items on the board, DocuGen inserted 2 more rows. |
Combining <<table_header>> and <<table_body>> |
You can use both placeholders together to generate totally dynamic tables. For example, if the guide table in your Word template looks like this: ... the generated document will look like this: |
Table placeholders for subitems
Table placeholders insert a table (rows and columns) of subitems from your board.
Placeholder | Explanation |
<<subitems_header>> |
Tells DocuGen to insert the column labels from the subitems in one row in your document. You must insert the <<subitems_header>> placeholder inside a 'guide table' in your Word template so that DocuGen can generate the document using the same styling you applied to each column. This placeholder works the same way as the <<table_header>> above. |
<<subitems_body>> |
Tells DocuGen to insert the subitems as a table in your document (without the column labels). You must insert the <<table_body>> placeholder inside a 'guide table' in your Word template so that DocuGen can generate the document using the same styling you applied to each column. This placeholder works the same way as the <<table_header>> above. |
Combining <<subitems_header>> and <<subitems_body>> |
You can use both placeholders together to generate totally dynamic tables. This works the same way as combining the table placeholders above. |
Column placeholders
Column placeholders insert the value of a specific column into your document.
Any styling you apply to the placeholder in your Word template (bold, italic, paragraph positioning, etc.) will be preserved when generating the document.
Placeholder | Explanation |
---|---|
<<column_firstrow:COLUMN LABEL>> |
The value in the column “COLUMN LABEL”. For example, if you have a column called “Due Date”, the placeholder should be <<column_firstrow:Due Date>>
Click here for more details on how you can use this placeholder. |
<<column_firstrow:Item>> |
This placeholder is similar to the previous one, but it specifically returns the item name (the very first column in your board). For example, if you have a row called “Send Tony a birthday card”, this placeholder will be replaced by "Send Tony a birthday card" when you generate the document.
Click here for more details on how you can use this placeholder. |
<<column_sum:COLUMN LABEL>> |
The sum of the values in the column “COLUMN LABEL”. <<column_sum:Amount>> Click here for more details on how you can use this placeholder. |
<<group_name>> | The group name of the first row being sent to DocuGen. Click here for more details on how you can use group names. |
General placeholders
General placeholders insert values from your monday.com account or user details.
Any styling you apply to the placeholder in your Word template (bold, italic, paragraph positioning, etc.) will be preserved when generating the document.
Placeholder | Explanation |
---|---|
<<user_name>> | Full name of the user who generated the document: “John Doe” |
<<user_id>> | monday.com ID of the user who generated the document: “9238839299” |
<<user_email>> | Email address of the user who generated the document: “john@doegroup.com” |
<<user_phone>> | Phone number of the user who generated the document: “+1 512 988 9999” |
<<user_profilepic>> | monday.com profile picture of the user who generated the document, in the original size |
<<account_name>> | Your monday.com account name: “Marketing Wizards” |
<<account_id>> | Your monday.com account ID: “9238839299” |
<<account_url>> | Your monday.com account URL before the “.monday.com”: “wizards-team” |
<<board_name>> | The name of board from where the document was generated: “Project Takeoff” |
<<board_id>> | The monday.com ID of board from where the document was generated: 9238839299 |
<<board_state>> | The state of board from where the document was generated: active / archived / deleted |
<<board_description>> | The description of the board from where the document was generated |
<<board_owner>> | The name of board owner: “Bill Smith” |
<<board_owneremail>> | The email address of the of board owner: “bill@doegroup.com” |
<<board_ownerphone>> | The phone number of board owner: “+1 512 766 3444” |
<<board_ownerprofilepic>> | The monday.com profile picture of board owner, in the original size |
<<view_name>> | The name of the monday.com view from where the document was generated |
Comments
0 comments
Please sign in to leave a comment.