Connecting to SFTP Guide

Options

I keep seeing snippets and short discussions about connecting your flow to the STFP / Queue / Tenet folder but there seems to be precious little centralized / officially documented information about this. Also some of the info I'm seeing is 1-2 years old, and we all know that's a lifetime and a half in Power Automate years. Does anyone have a cheat sheet / handy how to / collection of wistful haiku that handles the basic set up and basic troubleshooting of running flows right from DB? Can there be specific Blackbaud session about this?

Comments

  • Glen Hutson
    Glen Hutson Blackbaud Employee
    Tenth Anniversary Kudos 3 Name Dropper Participant

    John Coburn:

    I keep seeing snippets and short discussions about connecting your flow to the STFP / Queue / Tenet folder but there seems to be precious little centralized / officially documented information about this. Also some of the info I'm seeing is 1-2 years old, and we all know that's a lifetime and a half in Power Automate years. Does anyone have a cheat sheet / handy how to / collection of wistful haiku that handles the basic set up and basic troubleshooting of running flows right from DB? Can there be specific Blackbaud session about this?

    Hi John,

    If you haven't already, check out these examples of using SFTP flows for items that aren't available in the Web View. There are two example flows depending on where your Raiser's Edge NXT is located. You could use these as the basis of other flows needing to get data out of the database view. https://docs.blackbaud.com/microsoft-connectors-docs/microsoft-power-platform/power-automate/acknowledgement-tutorial/simple-merge-export

  • Glen,

    I have followed your suggestions to check out this flow. This is one I am actually trying to do but am getting hung up when I import the flow to create the SFTP - SSH Connection. Is this a new connection? I can't find any documentation on this specifically. I have tried adding a new connection using both SFTP and SFTP - SSH and both times I'm getting errors. I watched the training video to extract the code within the URL but am not sure where this goes in the connection. We are hosted with AZURE and this would be used for membership cards.

  • Glen Hutson
    Glen Hutson Blackbaud Employee
    Tenth Anniversary Kudos 3 Name Dropper Participant

    Spencer Smith:

    Glen,

    I have followed your suggestions to check out this flow. This is one I am actually trying to do but am getting hung up when I import the flow to create the SFTP - SSH Connection. Is this a new connection? I can't find any documentation on this specifically. I have tried adding a new connection using both SFTP and SFTP - SSH and both times I'm getting errors. I watched the training video to extract the code within the URL but am not sure where this goes in the connection. We are hosted with AZURE and this would be used for membership cards.

    You'd be using the SFTP - SSH. You may have to click the three dots beside that action and create “Add new connection”. Accessing this isn't the same as the credentials you use to log into RENXT.

    d2a7bcb75f015c3f8e58b92acb404cdc-huge-im

    With the screen that shows up from there, you will have to enter the “FTP” credentials that you will have to get by logging into RENXT, Clicking on the “Pancake” / Database Icon at the upper-right, and then clicking on “Database Options”. (Our example environments are configured a bit differently than most organizations, so your menu layout may look a bit different).

    63561e5e0cc7107fcd8cc58397254474-huge-im

    On the resulting screen at the bottom, you'll see the “FTP Access Account Information” tile that will have your username, an option to “show password” and what the server name is. You will use that information to fill in the connection screen.

    8c3d9587b41b53c41fea97766af118b2-huge-im

    On the connection screen, when you put in that information, make sure you also select “Disable SSH host key validation”. You don't need to enter anything else that's labeled “SSH”, but make sure you put in “22” for the port number.

    ffc125fc8b55f2557f089de977ca5005-huge-im

    In regards to the code within the URL, you put that in the “Specific Folder” step.

    de951628c5184f35c3a8f606e233e17d-huge-im

    Let me know if you have any more questions. If you get specific errors, please post a screenshot of the error and the associated steps in the flow for review.

  • Glen, It is working. Thank you for your help.

  • Glen Hutson
    Glen Hutson Blackbaud Employee
    Tenth Anniversary Kudos 3 Name Dropper Participant

    Spencer Smith:

    Glen, It is working. Thank you for your help.

    Great to hear it's working. Even in my setup it looks like it has to go through a few retries before it connects (that's what the ‘Bad Gateway’ is coming from), though not sure why. If you (or anyone else reading this) runs into a similar issue, you may want to try upping the number of retries. This can be done by clicking the three buttons on the action, then clicking settings:

    56d1d70ea49528e6bc7c12c22c9b85f5-huge-im

    Then under the settings, there's a Retry Policy that you may want to tweak. The default is 4 retries, here's an example of changing it to 10 retries with an interval starting at 20 Seconds

    45ec0fe9290d53a3100caff3c1d25045-huge-im

    I have not validated the “sweetspot”, but thought to put one idea out there if others are running into the same issue. If you have multiple actions that involve the SSH - SFTP, you'll have to do this for each one.

Categories