web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Instant Flow to Copy a...
Power Automate
Unanswered

Instant Flow to Copy a File from Sharepoint to Dropbox

(0) ShareShare
ReportReport
Posted on by 2

Hi all! I'm a new user and have gotten the hang of a few simpler flows. However, the one I'm trying to build now I'm at a bit of a loss for how to implement. 

 

I would like a button flow for a Sharepoint Document library that will copy a selected file, allow the user to choose which dropbox folder it will go into, and then copy the file to that Dropbox folder. It seems like this should be possible based on my (limited) experience messing around with this tool. 

 

Kind of like this:

 

Button w/user input --> Copy file --> Search through Dropbox folders to find match to user input --> Send file

 

Thanks for the help!

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,189 Most Valuable Professional on at

    Hi @mjgreg 

     

    Yes, you would be able to create a button via column formatting, this button can trigger a flow and ask for your input. After that input the flow will copy the file. Below is an example of such a concept.

     

    conceptdropbox.png

     

    1. Create a flow with three actions. Use the SharPoint For a selected file trigger. Use a text input and add drop-down list of options. Populate this list of options with your destination Dropbox folder names and configure it to use your source SharePoint document library. This dropdown list is static.

     

    dropdownlist.png


    2. Add a get a SharePoint file content using path action and DropBox create file action. You can use the filename from the trigger to get the file content. You can use the file content, file name and folder name to create a new file in Dropbox.

     

    createfiledropbox.png


    3. Make a note of your flow id

     

    flowid.png

     

    4. Go to the source document library. Add a button column (single line of text) to the source document library.  Format this column and add the json. Adjust the flow id with your flow id. 

     

    dropboxcopycolumn.png



    {
     "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
     "elmType": "button",
     "customRowAction": {
     "action": "executeFlow",
     "actionParams": "{\"id\": \"613d895a-038b-46cd-8435-efde0da2b441\"}"
     },
     "attributes": {
     "class": "ms-fontColor-themePrimary ms-fontColor-themeDarker--hover"
     },
     "style": {
     "border": "none",
     "background-color": "transparent",
     "cursor": "pointer"
     },
     "children": [
     {
     "elmType": "span",
     "attributes": {
     "iconName": "Copy"
     },
     "style": {
     "padding-right": "6px"
     }
     },
     {
     "elmType": "span",
     "txtContent": ""
     }
     ]
    }

     

  • mjgreg Profile Picture
    2 on at

    Thank you for the help! I'm getting an error message on the "Get file content from Path" action: File not found. The screenshot below is from that action and I believe where the error occurred. 

    mjgreg_0-1605579323589.png

     

    I believe this is because we have 3-4 layers of subfolders within our main document library. How would you correct for this in this flow?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard