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
- 211 bbcon®
- 1.4K Blackbaud Altru®
- 402 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 655 Blackbaud Grantmaking™
- 577 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 940 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.7K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 119 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 240 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 37 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Grid View Batch
- 3 (Closed) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 796 Community News
- 3K Jobs Board
- 54 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
