Upload and manage files in Dropbox by using Azure Logic Apps
With the Dropbox connector and Azure Logic Apps, you can create automated workflows that upload and manage files in your Dropbox account.
This article shows how to connect to Dropbox from your logic app, and then add the Dropbox When a file is created trigger and the Dropbox Get file content using path action.
An Azure subscription. If you don't have an Azure subscription, sign up for a free Azure account.
A Dropbox account, which you can sign up for free. Your account credentials are necessary for creating a connection between your logic app and your Dropbox account.
Basic knowledge about how to create logic apps. For this example, you need a blank logic app.
Before your logic app can access any service, you must create a connection between your logic app and that service. If you didn't previously create this connection, you're prompted for connection information when you add a trigger or action for that service to your logic app. The Logic Apps Designer provides an easy way for you to create this connection directly from your logic app.
Under the search box, choose All. In the search box, enter "dropbox" as your filter. From the triggers list, select this trigger: When a file is created
Sign in with your Dropbox account credentials, and authorize access to your Dropbox data for Azure Logic Apps.
Provide the required information for your trigger.
In this example, select the folder where you want to track file creation. To browse your folders, choose the folder icon next to the Folder box.
Now add an action that gets the content from any new file.
Under the trigger, choose Next step.
Under the search box, choose All. In the search box, enter "dropbox" as your filter. From the actions list, select this action: Get file content using path
If you haven't already authorized Azure Logic Apps to access Dropbox, authorize access now.
To browse to the file path you want to use, next to the File Path box, choose the ellipses (...) button.
You can also click inside the File Path box, and from the dynamic content list, select File path, whose value is available as output from the trigger you added in the previous section.
When you're done, save your logic app.
To trigger your logic app, create a new file in Dropbox.
For technical details, such as triggers, actions, and limits, as described by the connector's OpenAPI (formerly Swagger) file, see the connector's reference page.
- For questions, visit the Azure Logic Apps forum.
- To submit or vote on feature ideas, visit the Logic Apps user feedback site.
- Learn about other Logic Apps connectors