Cloudflare R2
Connect Cloudflare R2 to store and reuse Drip Drop attachments and images in an R2 bucket you manage. This guide explains the required credentials, connection settings, and verification steps.
When to Use Cloudflare R2
- You already use Cloudflare and want Drip Drop’s attachments and images in a bucket on the same account.
- You want S3-compatible storage without per-region endpoints. R2 derives its endpoint from your Account ID.
00 Before You Start
- Confirm you have a Cloudflare R2 bucket.
- Have an R2 Access Key ID and Secret Access Key for the account that owns the bucket.
- Have your Cloudflare Account ID. It is the first part of your R2 endpoint, shown on the R2 page of your Cloudflare dashboard.
- Confirm the key pair allows the bucket operations Drip Drop needs: upload, read, delete, and list.
- Confirm your role can create integrations. Without that permission, New Integration is not shown.
- Optionally decide on a Key Prefix to keep Drip Drop’s attachments and images under a dedicated path.
01 Choose Cloudflare R2
- Open Integrations → Storage.
- Select New Integration.
- On Choose, select Cloudflare R2.
02 Connect Cloudflare R2
- Review or change the Name.
- Enter the Access Key ID and Secret Access Key.
- Enter the Bucket Name.
- Enter your Cloudflare Account ID.
- Optionally enter a Key Prefix to keep Drip Drop attachments and images under a dedicated path.
- Select Save & Continue. This saves the integration in Drip Drop but does not validate the bucket.
Drip Drop derives the R2 endpoint from your Account ID at https://<account-id>.r2.cloudflarestorage.com and signs with the fixed region auto, so the form does not ask for a Region, Endpoint URL, Addressing Style, or Encryption setting.
The Account ID supplies the R2 endpoint, so it must belong to the account that owns the bucket. Drip Drop reads and writes only beneath the configured Key Prefix, and uploaded files are stored there under automatically generated keys. Changing the prefix later does not move existing objects; it changes the boundary that Drip Drop can browse and attach from.
03 Verify and Use the Connection
- On Verify, select Check credentials.
- After the check passes, select Done.
- Confirm that Cloudflare R2 appears as Active on the Storage page.
- Open a message template, find Attachments, then select Browse files → Connected storage.
- Choose the integration you named, select an object beneath the configured Key Prefix, then select Attach.
When Drip Drop validates the connection, it confirms bucket access by creating, reading, and deleting a temporary object beneath the configured Key Prefix. A successful result means the credentials can reach the bucket and perform the operations Drip Drop needs.
04 Serve Email Images From This Bucket
Use the r2.dev URL from the bucket’s Settings tab, or a connected custom domain, as the Public Base URL. Do not use the S3 API endpoint. R2 buckets are private until you enable public access.
Images embedded in emails must remain publicly readable without signing in. Keep public access limited to a folder that is separate from the private attachment prefix.
- Open the saved integration and expand Serve email images from this bucket.
- Enter the Public Base URL and a separate Public Folder.
- Configure your storage service to allow anonymous read access to the Public Folder.
- Select Verify public access.
- After Publicly readable appears, enable Available as a public media location.
- Return to Storage. Under Email image location, choose the verified bucket.
If connection or public-media settings change, verification becomes stale. Select Verify public access again before using the bucket.
Changing Email image location affects only newly published images. Existing published images stay at their original location.
Disconnecting, deleting, and rotating credentials
- Pause or archive: Pausing or archiving Cloudflare R2 makes the integration unavailable and pauses dependent active or scheduled flows. Drip Drop keeps the encrypted R2 credentials, settings, attachment references, and history so you can update the connection and reactivate it.
- Delete the integration: Drip Drop permits permanent deletion only after the integration is no longer selected for storage and no protected attachment, public-media, hosted-template, message-history, or flow references depend on it. A successful deletion removes the local integration record and its encrypted credentials from Drip Drop. It does not delete the R2 bucket or objects, disable the R2 API token, or change public access or custom-domain settings.
- Objects and retained references: Objects already stored in Cloudflare R2 remain in the bucket when the integration is paused, archived, or deleted. Deleting an individual attachment can remove its remote object only when Drip Drop originally uploaded that object; linked originals are not deleted. References and history that Drip Drop must retain can prevent permanent deletion of the integration.
- Public media and storage changes: If credentials stop working, Drip Drop cannot upload or manage new objects through this integration. Existing
r2.devor custom-domain URLs continue to work only while their objects remain present and R2 keeps them publicly readable. Choosing a different email image or storage location affects new content; existing references continue to point to their original location. - Rotate or revoke credentials: Create replacement R2 credentials in Cloudflare, update the integration with the new Access Key ID and Secret Access Key, and verify the connection before disabling the old token. Pausing, archiving, or deleting the Drip Drop integration does not revoke the token in Cloudflare. Drip Drop has no provider-side revocation notification, so a disabled token is detected during verification or attempted use.
- Reconnect: Update the existing paused, archived, or error-state integration with valid credentials and settings, then reactivate and verify it. If the integration was permanently deleted, create a new Cloudflare R2 integration. There is no separate reconnect action or account-wide Cloudflare removal action.
Troubleshooting
Invalid account or endpoint
- Confirm the Account ID belongs to the Cloudflare account that owns the bucket.
- Drip Drop derives the endpoint from it and signs with the region auto; a custom region or endpoint is not used for this connection.
Access denied
- Recheck the Access Key ID, Secret Access Key, Account ID, and Bucket Name.
- Confirm the R2 API token still exists and has not been rolled in the Cloudflare dashboard.
- Confirm the token allows upload, read, delete, and list on the bucket; validation writes and deletes a temporary object, so read-only access fails.
A file is not visible under the Key Prefix
- Confirm the object is beneath the configured Key Prefix. Drip Drop cannot browse or attach anything outside it.
- Changing the prefix does not move existing objects; files stored under an earlier prefix stop appearing.
Uploads succeed but attachments fail to send
- Confirm the bucket still exists and the token has not been scoped away from it since the integration was saved.
Related Docs
- Storage: choose and manage storage for Drip Drop attachments and images.
- Message Templates: add stored files as attachments or use them as images in email designs.
- Troubleshooting: diagnose integration, credential, and dependent-flow problems.