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.

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