Get started with the Dropbox connector

Connect to Dropbox to manage your files. You can perform various actions such as upload, update, get, and delete files in Dropbox.

To use any connector, you first need to create a logic app. You can get started by creating a Logic app now.

Connect to Dropbox

Before your logic app can access any service, you first need to create a connection to the service. A connection provides connectivity between a logic app and another service. For example, in order to connect to Dropbox, you first need a Dropbox connection. To create a connection, you would need to provide the credentials you normally use to access the service you wish to connect to. So, in the Dropbox example, you would need the credentials to your Dropbox account in order to create the connection to Dropbox. Learn more about connections

Create a connection to Dropbox

Prerequisites

Before you can use your Dropbox account in a Logic app, you must authorize the Logic app to connect to your Dropbox account. Fortunately, you can do this easily from within your Logic app on the Azure Portal.

Here are the steps to authorize your Logic app to connect to your Dropbox account:

  1. To create a connection to Dropbox, in the Logic app designer, select Show Microsoft managed APIs in the drop down list then enter Dropbox in the search box. Select the trigger or action you'll like to use:
    Dropbox step 1
  2. If you haven't created any connections to Dropbox before, you'll get prompted to provide your Dropbox credentials. These credentials will be used to authorize your Logic app to connect to, and access your Dropbox account's data:
    Dropbox step 2
  3. Provide your Dropbox user name and password to authorize your Logic app:
    Dropbox step 3
  4. Authorize the Logic app to use your Dropbox account:
    Dropbox step 4
  5. Notice the connection has been created and you are now free to proceed with the other steps in your Logic app:
    Dropbox step 5

Use a Dropbox trigger

A trigger is an event that can be used to start the workflow defined in a logic app. Learn more about triggers.

In this example, we will use the When a file is created trigger. When this trigger occurs, we will call the Get file content using path Dropbox action.

  1. Enter dropbox in the search box on the Logic Apps designer, then select the Dropbox - When a file is created trigger.
  2. Select the folder in which you want to track file creation. Select ... (identified in the red box) and browse to the folder you wish to select for the trigger's input.

Use a Dropbox action

An action is an operation carried out by the workflow defined in a logic app. Learn more about actions.

Now that the trigger has been added, follow these steps to add an action that will get the new file's content.

  1. Select + New Step to add the action you would like to take when a new file is created.
  2. Select Add an action. This opens the search box where you can search for any action you would like to take.
  3. Enter dropbox to search for actions related to Dropbox.
  4. Select Dropbox - Get file content using path as the action to take when a new file is created in the selected Dropbox folder. The action control block opens. You will be prompted to authorize your logic app to access your Dropbox account if you have not done so previously.
  5. Select ... (located at the right side of the File Path control) and browse to the file path you would like to use. Or, use the file path token to speed up your logic app creation.
  6. Save your work and create a new file in Dropbox to activate your workflow.

Connector-specific details

View any triggers and actions defined in the swagger, and also see any limits in the connector details.

More connectors

Go back to the APIs list.