Taking Range of Data and Generating Multiple PDFs thru Document Builder
Hello,
As I may have stated before I am very new at Smartsheet but have good understanding of Excel. I have attached a Smartsheet to this post, but in Excel format.
I want to take the data from this Sheet 1 and turn it into multiple PDF invoices automatically upon a trigger.
Lets say that trigger is checking the box in Column [INVOICE PAY PERIOD 1] Row 1.
Upon that trigger I want all the data in columns [PROJECT] thru [PAYROLL HANGER PAID] or (AW thru BO) to auto populate into fillable PDF forms and either be emailed or preferably automatically downloaded to my computer.
However, I need a PDF generated for each named person in the PAYROLL HANGER column that only includes the data related to them.
You can see an example of how each PDF would look for each individual on Sheet 2. The idea is for a single trigger to generate 3 separate PDF forms in this case, one for each person listed, but could be more depending on how many people are listed in the future. Each will be the same PDF form just with different data for each person listed. Please explain how I can do this.
You will see that the data is spread out in the columns with blank rows in between. There will need to be some sort of collection function to gather all the pertinent data and report it to the PDF.
I provided a mapping example invoice as well to show my thoughts on what columns in Sheet 1 will populate what fields on the PDF form. Additionally there would need to be a function that allow for summing one of the columns and reporting the result for Total Pay field on the PDF.
Also hoping there could be an auto-filling of the date the report was generated in one of the fields on the PDF.
The idea is to make this completely autonomous without the user needing to do anything other than trigger it.
Please help with how this might be accomplished and help determine how close I can get to the ideal state. There may need to be some considerations for field formats like $ or numbers with commas, I am hoping the PDF will handle this.
Thank you!
Answers
-
Hi @bkg73123
Currently Smartsheet's Document Builder can only fill a fillable PDF by looking at data in a single row.
This means if you check a box as your trigger, the workflow will look at that row where the box was checked to populate the PDF - it cannot read down your sheet to collate data. Does that make sense?
Here's more information:
Please feel free to add your vote to this related Product Idea as well: Select multiple records to fill in a document
What I would potentially recommend doing in your case is set up Reports in Smartsheet directly that filter your data and show only the rows you want to surface (for example, based on the person listed). Then you can send the Report on a scheduled cadence as a PDF to your email - see:
This won't have any calculations, but it will show the relevant rows based on what filter you've applied to the Report. Think of it like a separate tabbed Sheet like in your excel file - one report per person.
I hope this helps!
GenevieveNeed more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Thank you, Genevieve.
This was very helpful.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 58 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives