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.
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.
Create a connection to Dropbox
- A Dropbox account
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:
- 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:
- 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:
- Provide your Dropbox user name and password to authorize your Logic app:
- Authorize the Logic app to use your Dropbox account:
- Notice the connection has been created and you are now free to proceed with the other steps in your Logic app:
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.
- Enter dropbox in the search box on the Logic Apps designer, then select the Dropbox - When a file is created trigger.
- 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.
- Select + New Step to add the action you would like to take when a new file is created.
- Select Add an action. This opens the search box where you can search for any action you would like to take.
- Enter dropbox to search for actions related to Dropbox.
- 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.
- 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.
- Save your work and create a new file in Dropbox to activate your workflow.
View any triggers and actions defined in the swagger, and also see any limits in the connector details.
Go back to the APIs list.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.