Add a PDF template editor to your application and allow power users to define templates that build PDF files incorporating data.
PDF generation can be incorporated into workflows, back-end processes or UIs to create PDF files from the appropriate templates when needed.