Access your Dropbox files and folders as a datasource for Dify with OAuth 2.0 authentication.
- π OAuth 2.0 Authentication: Secure authentication using Dropbox OAuth 2.0 flow
- π File & Folder Browsing: Navigate through your Dropbox folder structure
- β¬οΈ File Downloads: Download files directly into Dify workflows
- π Pagination Support: Handle large directories with efficient pagination
- π― Smart File ID Handling: Automatic conversion between file IDs and paths
- π MIME Type Detection: Automatic file type detection for proper handling
- π‘οΈ Error Handling: Comprehensive error handling with user-friendly messages
- π High Performance: Optimized for speed and reliability
This plugin supports downloading all file types from Dropbox:
.pdf- PDF documents.doc,.docx- Microsoft Word documents.xls,.xlsx- Microsoft Excel spreadsheets.ppt,.pptx- Microsoft PowerPoint presentations.txt- Plain text files
.jpg,.jpeg- JPEG images.png- PNG images.gif- GIF images.bmp- Bitmap images.svg- SVG vector graphics
.mp4- MP4 videos.avi- AVI videos.mov- QuickTime videos.mp3- MP3 audio.wav- WAV audio
.zip- ZIP archives.rar- RAR archives.tar,.gz- TAR archives.json- JSON files.xml- XML files.html,.css,.js- Web files.py,.java,.cpp,.c- Source code files
- Secure authentication through Dropbox OAuth flow
- Automatic token management
- Dropbox tokens don't expire (long-lived)
- Granular permission control
- Go to Dropbox App Console
- Click "Create app"
- Choose "Scoped access"
- Choose "Full Dropbox" or "App folder" based on your needs
- Enter your app name
- Click "Create app"
- In your Dropbox app settings, find the "OAuth 2" section
- Add your Dify redirect URI to "Redirect URIs":
https://your-dify-instance.com/console/api/workspaces/current/data-sources/oauth/callback - Note down your App key (Client ID) and App secret (Client Secret)
In the "Permissions" tab, enable these scopes:
files.metadata.read- Read file and folder metadatafiles.content.read- Download files
- In Dify, go to Data Sources β Add Data Source
- Select Dropbox
- Enter your Client ID and Client Secret
- Complete the OAuth authorization flow
- Grant permissions to your Dropbox account
- After authentication, you can browse your Dropbox files and folders
- Navigate through directories by clicking on folder names
- Use the pagination controls for large directories
- Select files you want to use as data sources
- Files will be downloaded and made available to your Dify workflows
- All file metadata (name, size, type) is preserved
- Use downloaded files in Knowledge Base creation
- Process files in Dify workflows
- Extract content for AI analysis
- Support for all common file formats
- All communication with Dropbox uses HTTPS encryption
- OAuth tokens are securely stored in Dify
- No file content is cached permanently
- Only requested files are downloaded temporarily
- Plugin only accesses files you explicitly authorize
- Follows principle of least privilege
- OAuth tokens can be revoked at any time in Dropbox settings
- Full audit trail of accessed files
- Complies with Dropbox API Terms of Service
- Supports GDPR data protection requirements
- Enterprise-grade security standards
- Regular security updates
- Python 3.12+
- Dify Plugin SDK 0.5.0b14+
- Dropbox Python SDK 12.0.2+
- Follows Dropbox API rate limits
- Supports files up to Dropbox's maximum file size
- Efficient pagination for large directories
- Automatic retry on transient errors
- Optimized for large file downloads
- Smart caching of folder structures
- Minimal memory footprint
- Asynchronous operations where possible
Authentication Failed
- Check your Client ID and Client Secret
- Verify redirect URI is correctly configured
- Ensure Dropbox app has required permissions
File Not Found
- Verify file still exists in Dropbox
- Check if file was moved or deleted
- Refresh the file list and try again
Permission Denied
- Check if you have access to the file/folder
- Verify OAuth permissions are granted
- Re-authorize if necessary
Large File Downloads
- Large files may take longer to download
- Check your network connection
- Consider breaking into smaller chunks
For technical support:
- Check Dify documentation
- Review Dropbox API documentation
- Contact support through Dify channels
- β Initial release
- β OAuth 2.0 authentication
- β File and folder browsing
- β File downloads with MIME detection
- β Pagination support
- β Comprehensive error handling
- β Smart file ID/path conversion
This plugin is released under the same license as Dify.
Author: langgenius
Version: 0.1.0
Last Updated: January 2025