AddThisFeature

Dropbox File Export

Send generated reports and exports straight into a connected Dropbox folder.

moderate Integrations

What it adds

A per-user Dropbox connection that writes app-generated files into a folder the user chose.

What your agent is told to do

5
  1. 1

    Find the places the app already produces a file — report generation, data exports, invoice documents, attachment bundles — and offer Dropbox delivery as an additional destination beside the existing download.

  2. 2

    Store the connection per user, or per workspace where the destination is shared, and keep tokens on the server. Nothing that can write to someone's Dropbox may reach the browser.

  3. 3

    Ask for the narrowest access the provider offers and let the user pick one destination folder during connection. Do not request account-wide write access because it makes the folder picker easier to skip.

  4. 4

    Run every transfer through the app's existing background-job system with retries and backoff, and record a per-file status the user can see. A large export must not be tied to the lifetime of a web request.

  5. 5

    This entry owns Dropbox only. If OneDrive File Export or Amazon S3 Backup Export is also being built, share one destination abstraction — connection record, folder selection, job, status log — and let each provider supply only the transfer details.

Edge cases it handles

8
  • Access tokens expire and refresh tokens can be revoked from the provider's own settings page. Refresh transparently on expiry, and when the refresh itself fails, mark the connection broken and ask the user to reconnect rather than retrying forever.
  • A file with the same name may already exist at the destination. Pick one rule — overwrite, or append a suffix — state it where the user chose the folder, and apply it consistently instead of letting the provider decide.
  • Large exports exceed the size a single upload request accepts and must be sent in chunks that can resume. A transfer that fails at ninety percent should continue rather than start again.
  • The chosen folder can be renamed, moved, or deleted after the connection was made. Detect the missing destination, stop the transfer, and ask the user to choose again rather than silently creating a new folder at the account root.
  • Disconnecting must revoke the stored credential with the provider as well as deleting the local record. Files already delivered stay where they are, and the user should be told that they do.
  • The provider will rate-limit a burst of uploads. Honour the retry delay it returns, back off progressively, and queue the remainder rather than failing the export.
  • When Dropbox is unavailable the export itself must still succeed and remain downloadable inside the app. Show delivery as pending or failed with a retry, and never lose the generated file.
  • The account can be out of storage or over quota. Surface that as its own actionable message rather than a generic upload failure.

Definition of done

9
  • Every export the app generates can be delivered to a connected Dropbox folder as well as downloaded.
  • Tokens are stored server-side, refreshed automatically, and never reach the browser.
  • The connection requests access to the selected destination only, not the whole account.
  • Large files transfer in resumable chunks and survive an interrupted connection.
  • Filename conflicts follow one documented rule, and a missing destination folder prompts reselection.
  • Disconnecting revokes the credential with the provider and removes it locally.
  • A Dropbox outage leaves the generated file intact and the delivery retryable.
  • The feature matches the existing design system.
  • No existing functionality is broken.

Related features

How it works

  1. 1

    Copy the link

    Grab the Markdown instruction URL for this feature.

  2. 2

    Give it to your AI

    Paste it into Claude Code, Cursor, v0, Lovable — whatever you build with.

  3. 3

    It inspects, then implements

    Your agent reads your existing app first, then adds the feature to fit it.

Works with your stack

These instructions are written to adapt. They tell the agent to detect your framework, match your existing design system, and reuse what you already have — rather than assuming a particular stack.

Need it tighter than that? Customize the feature and tell it exactly what you're running.