Docly Child

Dropbox

Estimated reading: 3 minutes

Dropbox Integration

The Dropbox integration allows you to automatically upload files submitted through your website forms directly into your Dropbox account.


🔧 How to Set Up

Step 1: Create a Dropbox App

  • Visit the Dropbox Developer Portal.

  • Click “Create App”.

  • Choose the appropriate API (Scoped access).

  • Select the permissions your app will need, e.g.:

    • files.content.write

  • Once the app is created, go to the OAuth 2 section and:

    • Click Generate Access Token

    • Copy the token for the next step.

Step 2: Connect Dropbox to WordPress

  • Go to Advanced Form Integration > Settings > Dropbox.

  • Click Add Credential.

  • Provide:

    • A custom name for the credential (e.g., “My Dropbox Token”).

    • Paste the Access Token generated earlier.

  • Save the credential.


✅ Available Action

  • Upload File – Automatically upload a file from your form to your Dropbox account.


📝 How to Use

Step 1: Create a New Integration

  • Navigate to Advanced Form Integration > New Integration.

  • Select your form plugin and choose the form.

  • Choose Dropbox as the Action.

  • Select the Upload File task.

Step 2: Map Fields

  • Choose a Dropbox Account (the credential you just added).

  • Select a Folder from your Dropbox (or use the Root directory).

  • Map the file field from your form (e.g., uploaded file) to the File Field input.

Step 3: Save and Test

  • Save the integration.

  • Submit the form with a file upload.

  • Check your Dropbox to confirm the file is uploaded to the selected folder.


💡 Tips

  • Files are uploaded to the selected folder using the original filename.

  • If a file with the same name exists, Dropbox may rename the new one automatically depending on your API settings.

  • You can use the root / folder or choose any sub-folder from your Dropbox.


🧪 Conditional Logic (Optional)

You can apply conditional logic to control when the file should be uploaded. For example:

  • Only upload files if a specific field equals a certain value.

  • Prevent uploads for incomplete or spammy submissions.


📌 Notes

  • You must enable the required scopes/permissions in your Dropbox app.

  • The Access Token must have the correct access level (team vs. user access).

  • Large files may be subject to Dropbox API limits.

  • Files are sent using a secure connection via the /2/files/upload endpoint.


🐞 Troubleshooting

If the integration isn’t working:

  • Confirm the Access Token is still valid and hasn’t expired or been revoked.

  • Ensure the folder ID is correct (folder must exist).

  • Check if the file field is actually receiving uploaded files.

  • Look into the plugin’s debug logs for error messages from the Dropbox API.


Share this Doc

Dropbox

Or copy link

CONTENTS