Power Automate Flow for Data Warehouse
Hi,
Sharing a Power Automate (PA) flow here for those that would like to explore using MS Power Automate to load RE data (via SKY API) and FE data into a data warehouse.
Prereq:
- Azure SQL Server instance that is already setup with tables that will get loaded with data
- this is what I used, but I'm sure the flow can be modified for any other DBMS that can connect via PA
- Blackbaud Developer account already setup with application registered to do SKY API calls via HTTP
- SharePoint List setup that has the Subscription Key and Authentication Token ready for use at any moment
- I do things a little differently with the “headless” authentication in order to issue HTTP calls to the SKY API, you can read from here on what I did: https://community.blackbaud.com/forums/viewtopic/486/59706#p234008
Short explanation:
- This flow is a slightly more complex situation where I am actually dumping into 3 tables: gift table, gift soft credits table, and gift split table. (I separate them out as they are 1-many relationship with a gift)
- Flow runs on schedule depending on your need to:
- Truncate the tables (quick way to delete all rows from the table)
- Calls SKY API for gift listing via HTTP action, 5000 gifts at a time (max limit) until no more next_link
- Parse the JSON returned to get next_link and the gift json array
- Execute an INSERT INTO gift table through selecting data from the json
- Execute another INSERT INTO gift soft credit and gift split table
What to expect:
- full dump our constituent table of 400K+ records in ~23min
- full dump consittuent code table of 400K+ records in ~5min
- full dump gift table (and soft credit and gift split) of 1.5M+ records in 1hr 50min
Comments
-
@Alex Wong Hi Alex, this is really really good for any Microsoft shops out there. Takes away the barrier of running a small server and brings a solution that is even more low-code/no-code.
If there are any organizations out there starting to explore PowerApps as a front-end for light data retrieval using Alex's back-end here it will be an awesome time saver and I highly recommend you check this out !!!
Alex: I think some of the organizations here may or may not want to do a full Azure SQL setup, in the sense that it might be a barrier. An idea for those organizations might be to point the retrieved data (or a lighter dataset they want to action/query on) to a SharePoint list which are super easy to work with.
Lucien Piekut
txtstring.com Data Development0
Categories
- All Categories
- 6 Blackbaud Community Help
- 206 bbcon®
- 1.4K Blackbaud Altru®
- 394 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 357 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 646 Blackbaud Grantmaking™
- 561 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 934 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.4K Blackbaud Raiser's Edge NXT®
- 3.6K SKY Developer
- 242 ResearchPoint™
- 117 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 238 The Tap (Just for Fun)
- 33 Blackbaud Community Challenges
- 28 PowerUp Challenges
- 3 (Open) 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
- 777 Community News
- 2.9K Jobs Board
- 53 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)
