Mastering DocuGen Templates for CPQ Quotes & Work Orders
If you’re struggling to use DocuGen Templates for generating quotes and work orders in Salesforce CPQ, I completely understand—I’ve spent the last three weeks figuring it out with minimal help from DocuSign’s documentation. Now, I want to share what I’ve learned to hopefully save you time and frustration!
Key Processes for CPQ Users:
Below are some critical steps that CPQ users can apply to generate well-structured quotes and work orders using DocuGen.
💡 Grouping Quote Line Items by CPQ Groups
If you need to organize your quote by CPQ groups and separate optional vs. non-optional items, here’s what worked for me:
QUOTE Grouping Template with Dynamic Table
The result of this template is as follows.
Work Order Template with Dynamic Table and Aggregate Table
Resulting output
Keep in mind that you will get "NaN" for the sum amounts if they are over 999 unless you make a formula text field in the record and then reference that field for the Sum() in the template.
Hope this help anyone who need it.
Good Luck!
This is great work. I've been struggling to figure out how to exclude items from a Grouping for about 6 months. Just curious how you figured that out and if you found any documentation that you would share :)