diff --git a/docs/nodes/nodes-library/nodes/Dropbox/Dropbox1_node.png b/docs/nodes/nodes-library/nodes/Dropbox/Dropbox1_node.png new file mode 100644 index 000000000..0d00cf900 Binary files /dev/null and b/docs/nodes/nodes-library/nodes/Dropbox/Dropbox1_node.png differ diff --git a/docs/nodes/nodes-library/nodes/Dropbox/Dropbox2_node.png b/docs/nodes/nodes-library/nodes/Dropbox/Dropbox2_node.png new file mode 100644 index 000000000..fa667513b Binary files /dev/null and b/docs/nodes/nodes-library/nodes/Dropbox/Dropbox2_node.png differ diff --git a/docs/nodes/nodes-library/nodes/Dropbox/Dropbox_node.png b/docs/nodes/nodes-library/nodes/Dropbox/Dropbox_node.png new file mode 100644 index 000000000..6ac0e9877 Binary files /dev/null and b/docs/nodes/nodes-library/nodes/Dropbox/Dropbox_node.png differ diff --git a/docs/nodes/nodes-library/nodes/Dropbox/HTTPRequest_node.png b/docs/nodes/nodes-library/nodes/Dropbox/HTTPRequest_node.png new file mode 100644 index 000000000..1df46c8c9 Binary files /dev/null and b/docs/nodes/nodes-library/nodes/Dropbox/HTTPRequest_node.png differ diff --git a/docs/nodes/nodes-library/nodes/Dropbox/README.md b/docs/nodes/nodes-library/nodes/Dropbox/README.md index 3b72c4b1c..6f7129a77 100644 --- a/docs/nodes/nodes-library/nodes/Dropbox/README.md +++ b/docs/nodes/nodes-library/nodes/Dropbox/README.md @@ -27,9 +27,10 @@ You can find authentication information for this node [here](../../../credential ## Example Usage -This workflow allows you to create a folder in Dropbox. You can also find the [workflow](https://n8n.io/workflows/439) on this website. This example usage workflow uses the following two nodes. -- [Start](../../core-nodes/Start) +This workflow allows you to create a folder in Dropbox, upload a file into that folder, and list the contents of the folder. You can also find the [workflow](https://n8n.io/workflows/615) on n8n.io. This example usage workflow uses the following nodes. +- [Start](../../core-nodes/Start/README.md) - [Dropbox]() +- [HTTP Request](../../core-nodes/HTTPRequest/README.md) The final workflow should look like the following image. @@ -39,9 +40,38 @@ The final workflow should look like the following image. The Start node exists by default when you create a new workflow. -### 2. Dropbox node +### 2. Dropbox node (create: folder) 1. First of all, you'll have to enter credentials for the Dropbox node. You can find out how to do that [here](../../../credentials/Dropbox/). -2. Select 'Folder' from the *Resource* dropdown list. -3. Enter the name of the new folder in the *Folder* field. -4. Click on *Execute Node* to run the workflow. +2. Select 'Folder' from the ***Resource*** dropdown list. +3. Enter the name of the new folder in the ***Folder*** field. +4. Click on ***Execute Node*** to run the workflow. + +![Create a folder in Dropbox using the Dropbox node](./Dropbox_node.png) + +### 3. HTTP Request node (GET) + +1. Enter `https://n8n.io/n8n-logo.png` in the ***URL*** field. +2. Select 'File' from the ***Response Format*** dropdown list. +3. Click on ***Execute Node*** to run the workflow. + +![Get a file to upload in Dropbox using the HTTP Request node](./HTTPRequest_node.png) + +### 4. Dropbox1 node (upload: file) + +1. Select the credentials that you entered in the Dropbox node. +2. Enter the path of the Dropbox folder you created in the previous steps along with a file name in the ***File Path*** field. +3. Set the ***Binary Data*** toggle to true. +4. Click on ***Execute Node*** to run the node. + +![Upload a file in Dropbox using the Dropbox node](./Dropbox1_node.png) + +### 5. Dropbox2 node (list: folder) + +1. Select the credentials that you entered in the Dropbox node. +2. Select 'Folder' from the ***Resource*** dropdown list. +3. Select 'List' from the ***Operation*** dropdown list. +4. Enter the path of the Dropbox folder you created in the previous steps in the ***Folder Path*** field. +5. Click on ***Execute Node*** to run the node. + +![List the contents of a Dropbox folder using the Dropbox node](./Dropbox2_node.png) diff --git a/docs/nodes/nodes-library/nodes/Dropbox/workflow.png b/docs/nodes/nodes-library/nodes/Dropbox/workflow.png index 7f7888d81..f1668d39d 100644 Binary files a/docs/nodes/nodes-library/nodes/Dropbox/workflow.png and b/docs/nodes/nodes-library/nodes/Dropbox/workflow.png differ