Dropbox

Import files directly from your Dropbox account

Overview

PrimeLink can import files directly from your Dropbox account. This allows you to access files stored in Dropbox without downloading them to your computer first.

You can import using either a file path or a Dropbox shared link. The integration supports browsing your Dropbox folders to find files easily.

Prerequisites

Dropbox Access Token

Before using Dropbox import, you need to configure a Dropbox access token:

  1. Go to PrimeLink → Settings → Integrations
  2. Find the Dropbox section
  3. Enter your Dropbox API access token
  4. Save settings

Getting a Dropbox Access Token

  1. Go to Dropbox App Console
  2. Click Create app or select an existing app
  3. Choose app type: Scoped access
  4. Choose access level: Full Dropbox or App folder
  5. Name your app and click Create app
  6. Go to the Permissions tab
  7. Enable files.content.read permission
  8. Go to the Settings tab
  9. Under OAuth 2, click Generate access token
  10. Copy the generated token
  11. Paste it into PrimeLink Settings → Integrations → Dropbox

How to Import from Dropbox

Step 1: Select Dropbox Option

In Step 2 of the import wizard:

  1. Find the Upload From Dropbox option
  2. Click to select it
  3. The Dropbox panel will appear

Step 2: Specify File

You can specify the file in two ways:

Method 1: File Path

  1. Enter the file path in Dropbox
  2. Path format: /folder/subfolder/file.csv
  3. Example: /Products/feed.xml
  4. Click Fetch to download the file

Method 2: Shared Link

  1. Get a Dropbox shared link for your file
  2. Paste the shared link in the input field
  3. Click Fetch to download the file

Method 3: Browse

  1. Click the Browse button
  2. A file browser will show your Dropbox files
  3. Navigate to your file
  4. Select the file you want to import
  5. The file path will be automatically filled in

Step 3: Fetch File

After specifying the file:

  1. Click Fetch button
  2. PrimeLink will download the file from Dropbox
  3. Wait for download to complete
  4. If successful, the file will be parsed automatically

Step 4: Continue Import

Once the file is fetched:

  1. The file will be parsed automatically
  2. Columns/fields will be detected
  3. A preview of the data will be shown
  4. Click Next to proceed to Step 3

File Path Format

Dropbox Path Format

Dropbox paths start with a forward slash and are case-sensitive:

  • /Products/feed.csv - File in Products folder
  • /Exports/2024/products.xml - File in nested folder
  • /file.csv - File in root Dropbox folder

Shared Links

You can also use Dropbox shared links:

  • Format: https://www.dropbox.com/s/xxxxx/file.csv?dl=0
  • Change ?dl=0 to ?dl=1 for direct download
  • Or use the link as-is, PrimeLink will handle it

Best Practices

  • Organize files: Keep import files in dedicated Dropbox folders
  • Use consistent naming: Name files clearly for easy identification
  • Test access token: Verify token works before setting up imports
  • Monitor file updates: Ensure files in Dropbox are current
  • Use shared links: Shared links work well for scheduled imports
  • Secure token: Keep your access token secure and don't share it
  • Regular token refresh: Access tokens may expire - refresh if needed

Troubleshooting

Access Token Invalid

  • Verify token is correct in Settings → Integrations
  • Check token hasn't expired
  • Generate a new token if needed
  • Ensure token has proper permissions

File Not Found

  • Verify file path is correct (case-sensitive)
  • Check file exists in your Dropbox
  • Use Browse to locate file
  • Verify file is in the correct Dropbox account

Fetch Fails

  • Check internet connection
  • Verify Dropbox API is accessible
  • Check file size isn't too large
  • Review error messages for details
  • Try using shared link instead of path

Permission Errors

  • Verify access token has files.content.read permission
  • Check app has access to the file location
  • Regenerate token with correct permissions

Next Steps

☁️ Google Drive

Import files from Google Drive

Learn More →
☁️ OneDrive

Import files from OneDrive

Learn More →
🗺️ Field Mapping

Map your imported data to WooCommerce fields

Learn More →