Sheets
I am trying to convert my excel spreadsheet into a Smartsheet and I want to be able to attach pdfs of receipts that exist on my Dropbox folders to each of the relevant cells in Smartsheet. The data is worth 6 years (a lot!). Is there a way or a code that I can use so that I don't have to attach all the files manually one by one as this would literally take me months.
Answers
-
I hope you're well and safe!
Are the pdfs names with anything that could be matched to the row in Smartsheet?
I hope that helps!
Be safe, and have a fantastic weekend!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Thank you so much for responding. I appreciate your help.
The pdf names are in the following format: DATE_VENDOR_PO# number.pdf
For example: 20230630_ABC_PO# 2789.pdf
My sheet has a DATE column, a VENDOR name column and a column with the PO# numbers.
The pdfs are also sorted by Vendor names. So the path is Dropbox>Main folder>Vendor folder>pdfs, where the pdfs are sorted by date in the Vendor folder.
Would you be able to help?
Thanks!
-
Dropbox's file URL structure is as follows;
https://www.dropbox.com/s/{url_id}/{file_name}.
Use Dropbox API to get all url_ids.
If you have API access to your Dropbox account, you will be able to get the list of url_id and file_name so that you can create a sheet with the file_name column and url_id columns with the data obtained by API calls. (*)
Then, if your Smartsheet converted Excel sheet has file_name columns, you cat get url_id using the file_name as the key. (VLOOKUP or INDEX())
To create a Dropbox URL, use a simple formula like this; (Even if you omit the /{file_name} part, the URL still works.)
="https://www.dropbox.com/s/"+[url_id]@row
(*) Example snippet to get url_id
-
You should definitely be able to use the API to create links to your dropbox locations or even attach the PDFs directly to the appropriate rows since it looks like you have a pretty clear way of matching things up.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives