Using Dropbox with Drafts

app-icon

Dropbox is a file storage service. Drafts offers direct integration with Dropbox through several methods.

Dropbox Action Steps

Dropbox action steps directly integrate with Dropbox through their API and are a powerful, flexible way to create, append and prepend to files anywhere in your Dropbox. Sample ready to use examples:

Each of these action steps has fields to configure how the file is named, the path (folder) it will be placed in and the content of the resulting file. See the Dropbox action step documentation for more information on available fields.

Export and Import through Files

The Dropbox app provides integration through iOS 11 Files app. With the Dropbox app installed on your iOS device, files can be imported by tapping and holding the “+” new draft button in the editor, and selecting “Import file”.

Also the Drafts Export action step allows saving to arbitrary destinations in the Files app, including Dropbox.

Folder Bookmarks

Starting with a release in the Spring of 2024, the Dropbox iOS app now fully supports folders with their file provider extension, meaning that if you have the Dropbox app installed and enabled in the iOS Files app, you can use Drafts’ Folder Bookmarks with Dropbox. In most cases, direct integration it still likely the better choice for working with Dropbox, but bookmark-based file actions have the advantage of working offline (relying on the Dropbox app to sync back to the cloud later). See the bookmarks article for details.

Scripting

Drafts scripts can also read from and write to files in Dropbox using the Dropbox object, and using it’s advanced methods access the entire Dropbox API - including Dropbox Paper, list files, generating share links and more. See the documentation for details, or start with these sample actions:

Screencast

Although it covers Drafts 4, this screencast by David Sparks covers using Dropbox actions and most of the action configuration tips still apply to Drafts 5.

4 Likes