Sharing my Power Automate Flow: Get Query results from Blackbaud CRM
Description: While there isn't a dedicated Query connector for Blackbaud CRM, we can still get query results returned in Power Automate using the Send an HTTP request action.
I am sharing two versions of this Flow. Version 1 is the simpler version and can be used for most query scenarios. Version 2 should be used for more complex or slow running queries as it uses as a static query and refreshes the static query before returning the query results.
This Flow only brings the results into Power Automate. It doesn't do anything else with the results like automatically saving to OneDrive or SharePoint. This should be used as a starter to help with other automations
Skill Level: Beginner/Intermediate
Note: More of a beginner skill level to run this template but moving into more intermediate skills to manipulate the data from the query.
Configuration Details:
- Update the Initialize Variable queryID action with the System Record ID of the query.
- Add additional rows to the Select query fields action to account for the total number of fields in the output of the query.
- Instead of mapping each field individually, this Select action uses as a pre-defined array to reference the column names as defined in the query.
- The Select action only includes two columns in the template. (The first template is referenced by a 0).
- The "key" expression for the first column is
variables('fieldsArray')?[0] - The "value" expression for the first column is
item()?[0] - Additional fields/columns can be included by adding new rows to the Select action and incrementing by 1 each time. The first two columns are included.
Additional Configuration Details for the Static query Flow:
Note: All configuration details above still apply.
- Make sure your query is saved as a Static query.
- Update Initialize Variable Parameter Set ID with the System Record ID of the Business Process Parameter Set of the Ad-hoc Query Refresh Static Selection business process. To obtain this ID:
- Create a Business Process Parameter Set query.
- Filters:
- Name = the name of your query
- Business process > Name = Ad-hoc Query Refresh Static Selection Process
- Output:
- Business Process Parameter Set Record
- The ID in the results will be the System Record ID that needs to be added to the variable in the Flow
Flow files:
Basic flow -
With static query -
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)
