Sharing My PowerAutomate Workflow: Attach Files from SharePoint to RENXT Gift Records

I mentioned this in my #devdays session & there seemed to be interest, so I thought I'd share :)

Description: This workflow adds gift documentation as a link from SharePoint to RENXT gift records. Saves lots of time if you manually update this field, and ensures that staff reviewing gifts for stewardship, letters, etc, have quick and easy access to the documentation that came with a gift.

Required Connections:

  • SharePoint
  • RENXT Gifts

Suggested Skill Level: Beginner/Intermediate

Configuration Details:

  • Gift Custom Field "Gift doc name" should have the name of the file as its value (the name before the file extension). This can be added in the batch entry process.
  • SharePoint library that includes these columns (mine includes more, but these are needed for the flow to work):
    • GiftID - (Single line of text)
    • RENXT_Attachment Single line of text. Be sure to train staff to not include apostrophes in these file names. Apostrophes = chaos.

This workflow has two parallel branches--one looking for gifts, and one looking for files that have a gift ID and are not marked as ‘attached’ (this can be used for attaching records that may not have gone through a different process).

Category: Automation, Data Management

----

About the flow:

Branch 1 (looking by gifts):

  • List gifts: looks for gifts of certain types that were added within the last 5 days. These filters can be changed to meet the needs of your organization.
  • For each gift, pull gift custom fields and filter on those with category “Gift doc name”
  • Seach SharePoint library for files with name listed in “Gift doc name”
  • Condition: if a SharePoint file is found matching the name, and the comments for the gift custom field is blank, the flow will
    • get the file properties,
    • create a gift attachment as a link,
    • update the file properties with the gift ID and the attachment ID, and
    • add a comment to the gift custom field to ‘mark’ that the attachment has been created

Branch 2 (looking at unmatched files):

  • List files in the SharePoint library that have a Gift ID listed in properties but do not have an attachment ID
  • Get the gift (by ID) in NXT
  • Create gift attachment as a link
  • Update file properties with attachment ID

giftdocumentationtemplate_1_0_0_1 (1).zip

Comments

  • Hi!

    I am so excited to use this flow! It could just be user error on my end, but when I try to import this package, I get the "Something went wrong. Please try again later." error banner. I've tried it a few times over the last few weeks to no avail :( Any idea what could be going wrong?

  • Rochelle Toomer
    Rochelle Toomer Community All-Star
    Fourth Anniversary First Reply Kudos 1 Name Dropper
    edited May 21

    Hi @Christiana Congelio,

    Try it this way! Instead of starting from My Flows, go to Solutions >Import Solution. Import the .zip file like you would using the Legacy import process; it's very similar! It might churn a bit longer, but it should import successfully. When it does, you can then go to My Flows, and it should be at the top.

    I hope this helps! 🤞

  • Thank you for the troubleshooting help! Importing the solutions worked (and I was glad to have a contingency plan to boot, so thanks, Alex)!

    I feel silly not knowing this, but I'm not entirely sure what to input for "Library Name" in the template I downloaded. Is that just the name of the library? Or a link? Or does this string of letters and numbers live somewhere in my sharepoint site that I can find and add? Thanks for considering!

    image.png
  • Nicole Holt
    Nicole Holt Community All-Star
    Tenth Anniversary Kudos 5 Name Dropper Participant

    @Christiana Congelio , 'Library' is a function of SharePoint—documents are in libraries, often a shared document library unless you make a specific one

  • @Nicole Holt This helps! It turned out that I needed to put the site link in, save, and then a dropdown appeared to choose the library name. I do have another question though-our deposits are pretty buried in our sharepoint site (the current folder path is: Development Team>Documents>Projects>Budget>Deposit Reports>June>June 3, 2026 Deposits). Does that matter? Is the flow contingent on the deposits having their own site with their own document library or are more steps needed for it to find the deposits this far down in a pretty large document library? Thanks for helping talk me through this, I've learned so much from this community!

  • Nicole Holt
    Nicole Holt Community All-Star
    Tenth Anniversary Kudos 5 Name Dropper Participant

    You should be able to do it with as long as they are all grouped somehow (looks like it would be documents added to 'Deposit Reports'). You may want to test it.

    We have a folder where backup is saved by day, but I have a flow that when something is saved in that area, it is copied to a specific library that has no folders—that was mostly due to people loving to rename or move files or folders, so we have just one long list of documentation. This does make your naming conventions important (I mean, they were already important, but this can add to that importance).

  • Hi @Nicole Holt. Thanks for this flow. I was super excited to get it going once you spoke about it at bbdev days. Do you have a solution for attaching the same document to multiple gift records? I can't seem to get this to work.

  • Alex Wong
    Alex Wong Community All-Star
    Tenth Anniversary Facilitator 5 Kudos 5 bbcon 2025 Attendee Badge
    edited June 30

    the steps to create an attachment is to:

    1. load the file to get the content
    2. create a document location in Blackbaud
    3. HTTP upload using dynamic content returned from #2 above
    4. create an attachment on the record of you chossing.

    You can do #4 multiple times to multiple gift (even across constituent attachment).

    image.png

    THE BIG NOTE: if you select to delete the attachment from ONE of the gift, the attachment location is GONE. When you go to the other gift that's pointing to the same attachment, you will get an error.

  • Thanks @Alex Wong for the guidance. And thank you @Nicole Holt for this flow. This is game changer for us!

Categories