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.

Prerequisites

  • 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.

Add trigger

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.

  1. 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

    Select Dropbox trigger

  2. Sign in with your Dropbox account credentials, and authorize access to your Dropbox data for Azure Logic Apps.

  3. 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.

Add action

Now add an action that gets the content from any new file.

  1. Under the trigger, choose Next step.

  2. 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

  3. If you haven't already authorized Azure Logic Apps to access Dropbox, authorize access now.

  4. 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.

  5. When you're done, save your logic app.

  6. To trigger your logic app, create a new file in Dropbox.

Connector reference

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.

Get support

Next steps