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

Announcements

News and Announcements icon
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,830 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 605

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard