Upload files to Dropbox and generate direct download links
Ready for 3.0What this workflow does
This workflow has 14 nodes and runs when another workflow calls it (plus 1 other trigger). Along the way it connects Dropbox. It also calls api.dropboxapi.com over HTTP.
How it runs
Trigger: When another workflow calls it (plus 1 other trigger).
- Upload a file (Dropbox): uses Dropbox
- Call '[SUB] Dropbox upload links' (Execute Sub-workflow): calls another n8n workflow
- Normalize Path (Edit Fields (Set)): sets or maps fields
- Dropbox: List Shared Links (HTTP Request): calls api.dropboxapi.com (POST)
- Extract Existing Link (Edit Fields (Set)): sets or maps fields
- If: checks a condition and branches into true / false
- Get DropBox access token (Data table): get
- Rewrite Dropbox Host (Edit Fields (Set)): sets or maps fields
- Dropbox: Create Shared Link (HTTP Request): calls api.dropboxapi.com (POST)
- Build Direct Link (Edit Fields (Set)): sets or maps fields
…plus 1 more step. See the full node list below.
Services it uses
HTTP calls to: api.dropboxapi.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (9)
- Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Dropbox
n8n-nodes-base.dropbox - Data table
n8n-nodes-base.dataTable - n8n Form Trigger
n8n-nodes-base.formTrigger - No Operation, do nothing
n8n-nodes-base.noOp - Execute Sub-workflow
n8n-nodes-base.executeWorkflow
From the author
How It Works This sub-workflow uploads files to Dropbox and returns a direct download link: Upload file - Receives file from parent workflow and uploads to Dropbox Check for existing link - Queries Dropbox API to see if a shared link already exists for this…