Sharing my Power Automate Template: Daily Gift Error Checking (Missing Campaign or Appeal)

Alex Wong
Alex Wong Community All-Star
Ninth Anniversary Kudos 5 Facilitator 3 Raiser's Edge NXT Fall 2025 Product Update Briefing Badge

- Description: Flow will check daily for gifts entered since beginning of yesterday for gifts that has missing Campaign or missing Appeal, which is a problem in webview gift batching where these 2 fields can be omitted ignoring database view requirement. If any errors are found, an email will be sent with the details.

- Required connections: Blackbaud RE NXT Gifts, Blackbaud RE NXT Constituents, and Office 365 Outlook

- Suggested skill level required to use this template: Beginner

- Configuration details:

  • Download the zip file and import into your flow environment
  • Edit flow as per instructions below, DO NOT USE New Designer of flow

- Category: Automation and Data Management

- Instructions:

  • (Optional) Edit Trigger to run at different time of day
  • Edit Compose Notification Email Receiver action to have email address(es) of those that should get the error checking email. If multiple, separate by semi-colon
  • (Optional) Edit Filter Array of Splits Blank Campaign or Appeal

    • current value is @or(empty(item()?['campaign_id']), empty(item()?['appeal_id'])) which is to check for blank campaign or blank appeal
    • you can change to @empty(item()?['campaign_id']) for checking only for blank campaign or @empty(item()?['appeal_id']) for checking only for blank appeal
  • (Optional) Create a new action just before Compose Error Handling for Sending Email or Sending Team Chat message, go to edit HTML code of the new action and copy and paste the Inputs in the Compose Error Handling action into the body of the send email/chat message. Delete the Compose Error Handling action. Click on the 3-dots for the send email/chat message action and select Configure run after and check off ONLY has failed.

    • If you do not want to deal with error handling, you can just delete the Compose Error Handling action

Comments

  • Alex Wong
    Alex Wong Community All-Star
    Ninth Anniversary Kudos 5 Facilitator 3 Raiser's Edge NXT Fall 2025 Product Update Briefing Badge

    This is what the email would look likt

    d265564e5702743c6050e3efe810e993-huge-im
  • Thanks, @Alex Wong! That's awesome!

  • @Alex Wong Thank you. I am new to Power Automate and I was able to get this working. I am curious to know if it can be altered to also look at Gift Code/Source and check for blanks. I tried to alter the Filter Array step to include Gift Code but when the test ran, it showed gifts that were not missing any of the three values - Campaign, Appeal or Gift Source.

    Any thoughts on how I can add the Gift Source/Code to the flow?

  • Alex Wong
    Alex Wong Community All-Star
    Ninth Anniversary Kudos 5 Facilitator 3 Raiser's Edge NXT Fall 2025 Product Update Briefing Badge

    which field are you talking about (a screenshot of the field would help)

  • We use Gift Code, see below for NXT. In DBV it's on the Miscellaneous tab.

    image.png
  • Alex Wong
    Alex Wong Community All-Star
    Ninth Anniversary Kudos 5 Facilitator 3 Raiser's Edge NXT Fall 2025 Product Update Briefing Badge

    Gift Code does come back from the list gift api call

    image.png

    Since gift code is only 1 per gift (unlike gift split's campaign/appeal, that there can be more than one split per gift), you do not need to add this to the Filter Array of Splits Blank Campaign or Appeal action. You can simply add to the Condition on Blank Campaign or Appeal action.

    image.png

    Add a row of condition, change the operator to Or.

    empty(items('For_Each_Gift')?['gift_code'])

    is equal to

    true

  • @Alex Wong Thank you! I got it to work.