Sharing my Power Automate Flows: Saving Emailed Gift Receipt as PDF (Outlook & SharePoint)
Inspired by @Dan Snyder 's flow for Gmail gift receipts, this flow converts email received in Outlook to a specific folder into a PDF document and saves to SharePoint. This serves as gift documentation should a data review be needed.
Required connections:
Outlook
OneDrive
SharePoint
Suggested skill level: Beginner
Configuration needs:
1. Create a rule in Outlook to move gift receipts to a specific folder.
2. "Compose: Supporter Name", steps returns text based on the email receipt format of Online Express, which in the sample instance assumes the following format:
Supporter: NAME
Email address: EMAIL@ADDRESS.COM
Gift Date: MM/DD/YYYY
Amount: $XX.XX USD
The Compose function uses a formula that gets text between "Supporter:" and "Email Address" (trim(first(split(last(split(body('Html_to_text'),'Supporter:')),'Email address'))). If your email receipts look different, you'll need to adjust this formula so the flow will know where to grab donor names.
3. This flow uses OneDrive because it has an available “Convert File” function that does not exist in SharePoint. You could use a 3rd party connector to bypass this file step.
4. While the file is created/converted in OneDrive, it is saved to SharePoint. The final step removes the OneDrive document.
SaveOutlookEmailasPDFinSharepoint_20220613160015.zip
Comments
-
@Nicole Holt this flow is awesome and saves our gift processor a ton of time! Thank you!!
1 -
@Kelly Hatton I'm so happy it is useful!
0 -
@Nicole Holt we've been using it this week but ran into an issue with the file name/path being too long on some. Any ideas on how to bypass or fix that? I don't think I can trim the original OneDrive path. I've edited the flow to remove the date to just use the name but it still fails saying the path is too long. Not failing on all just on some so the flow is good. This is the path to the OneDrive folder when I click to copy the link:
https://hanovercollege-my.sharepoint.com/:f:/g/personal/hattonk_hanover_edu/Eumd9JDNDlFDg3YEnmV3mkABIoCwBaR1X9onHOL5MOeFIA?e=ep1tT60 -
@Kelly Hatton maybe try only grabbing the first ~10 characters from the name? I found this item on the Microsoft community that may help:
1 -
@Nicole Holt thanks! I'm in the bbdevdays23 low code q/a and they said something about path limit being 255 characters and trying to truncate the path but I'm not sure how to do that so this link looks promising.
1
Categories
- All Categories
- 6 Blackbaud Community Help
- High Education Program Advisory Group (HE PAG)
- BBCRM PAG Discussions
- Luminate CRM DC Users Group
- DC Luminate CRM Users Group
- Luminate PAG
- 186 bbcon®
- 1.4K Blackbaud Altru®
- 389 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 14 donorCentrics®
- 355 Blackbaud eTapestry®
- 2.4K Blackbaud Financial Edge NXT®
- 616 Blackbaud Grantmaking™
- 542 Blackbaud Education Management Solutions for Higher Education
- 33 Blackbaud Impact Edge™
- 3.1K Blackbaud Education Management Solutions for K-12 Schools
- 909 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 207 JustGiving® from Blackbaud®
- 6.2K Blackbaud Raiser's Edge NXT®
- 3.5K SKY Developer
- 236 ResearchPoint™
- 116 Blackbaud Tuition Management™
- 375 YourCause® from Blackbaud®
- 160 Organizational Best Practices
- 232 The Tap (Just for Fun)
- 31 Blackbaud Community Challenges
- Blackbaud Consultant’s Community
- 19 PowerUp Challenges
- 3 Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 Raiser's Edge NXT PowerUp Challenge: Events
- 3 Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 Raiser's Edge NXT PowerUp Challenge #1 (Query)
- 71 Blackbaud Community All-Stars Discussions
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 743 Community News
- 2.8K Jobs Board
- Community Help Blogs
- 52 Blackbaud SKY® Reporting Announcements
- Blackbaud Consultant’s Community
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
- Blackbaud Francophone Group
- Blackbaud Community™ Discussions
- Blackbaud Francophone Group