Destination folder
OptionalTextChoose the existing parent folder. / means the root of your Dropbox or app folder.
This input offers a picker for folder from your connected account. You can also supply its value directly.
Default: /
/Homework
Add a file from Shortcuts or the file picker.
First, connect Dropbox in Services. Then open Actions → + → Dropbox and choose Upload File.
Running or testing this action creates something in your connected service.
Uploads up to 150 MiB in one request. Destination path must include the filename. Uses add mode and strict conflict checking: an existing file is never overwritten. Enable Auto rename to create a new name on conflict. Larger files need upload sessions, which this action does not support.
Open an input to choose its value. Keep a fixed value with Text, receive it from Shortcuts, ask when the action runs, or use an Earlier Step. Read how input sources work.
Choose the existing parent folder. / means the root of your Dropbox or app folder.
This input offers a picker for folder from your connected account. You can also supply its value directly.
Default: /
/Homework
With a destination folder selected, enter a name or relative path inside it. Leave the folder as / to use a full Dropbox path.
/Homework/report.pdf
Supply a file value for this input.
Choose a new name if the destination already exists.
Default: false
In the action editor, open Output → Returned Value to choose fields for your shortcut. These are the response fields described by the app; a service may omit an optional field or return an empty list. JSON File contains the full response.
| Returned field | Type | Meaning |
|---|---|---|
name | string | Text value. |
id | string | Text value. |
path_display | string | Text value. |
path_lower | string | Text value. |
size | integer | File size in bytes; absent for folders. |
rev | string | Text value. |
server_modified | string | Text value. |
client_modified | string | Text value. |
is_downloadable | boolean | True or false. |
content_hash | string | Text value. |
If the result is unexpected, open Logs in Shortcutify, select the run, and inspect this step’s inputs and response.
Request: POST https://api.dropboxapi.com/2/files/upload
Action identifier: dropbox.file.upload.v1
Permissions declared for this action: files.content.write. The account’s own access rules also apply.
| Input | Request key | Location |
|---|---|---|
| Destination folder | destination_folder | body |
| File name or path | path | body |
| File | file | body |
| Auto rename | autorename | body |