# Cloud storage

Copy signed PDFs automatically to Google Drive, optionally delete them from Agreement.new after copying, fix connection problems and manage your data.

Connect your team to Google Drive so every signed PDF is copied to your own folder automatically. You can also choose to remove documents from Agreement.new after their copy is confirmed, so signed agreements live in one place.

Google Drive is supported today. **OneDrive** is coming soon—if your team uses another cloud storage service, you can let us know directly from **Settings → Cloud storage**.

## Connect Google Drive

Team owners and admins can connect one cloud storage service per team. Connecting Google Drive to a team is separate from signing in to Agreement.new with Google.

1. Go to **Settings → Cloud storage**.
2. Click **Connect** next to **Google Drive**.
3. Sign in to the Google account you want to use and approve access.
4. Choose the destination folder in Google Drive.

When you approve access, Google grants Agreement.new permission only for the folder you pick and the files Agreement.new adds there. Agreement.new cannot see, edit or delete any other files in your Drive.

If you use Google Workspace and see a message that your administrator does not allow Agreement.new to connect, ask your Google Workspace administrator to approve the app and try again.

## Choose a folder

Right after connecting, Agreement.new opens **Choose a Google Drive folder**. Click **Choose in Google Drive** to open Google's folder picker and select any existing folder that the connected Google account can edit. View-only folders cannot be used.

- **Shared drives vs My Drive:** Both work. We recommend a **shared drive** when your Google account supports them—files in a shared drive belong to your organisation rather than one person, so they stay accessible if someone leaves.
- **Want a new folder?** Google's folder picker cannot create folders. Create the folder in Google Drive first (there is a link in the dialog), then return and pick it.

> **Use Chrome on a computer to choose a folder.** Because of a Google bug with tracking prevention, Google's folder picker fails in Safari and on iPhone and iPad. Once your folder is chosen, copying runs automatically in the background regardless of what device or browser your team uses.

Because Agreement.new cannot see folders above the one you picked, nested folders appear with `…` in the path (for example, `Shared drives › … › Signed agreements`), with a link to open the folder in Google Drive.

### Change the folder later

Go to **Settings → Cloud storage** and click **Change folder**. New signed documents go to the new folder, while files already copied stay in the previous folder.

Only the team member who connected that Google account can open Google's folder picker for it. If another owner or admin wants to choose a folder, click **Switch account** to connect with their own Google account first.

## What gets copied

Agreement.new copies **signed PDFs only**. Drafts, documents still waiting for signatures, Word originals and cancelled or expired documents are never copied.

Once every signer has completed their signature, Agreement.new uploads the final signed PDF automatically—complete with the signature page, embedded digital signatures, seal, timestamp and internal audit trail.

- **File name:** The document's name in Agreement.new, ending in `.pdf`.
- **File description in Google Drive:** Records the signing date (in your team's timezone), the document owner's name and email address in Agreement.new, and a link back to the document in Agreement.new.
- **Verified by checksum:** Agreement.new checks the uploaded file's SHA-256 checksum against the signed PDF before marking it as copied, and reserves a file ID before uploading so retries never create duplicates.

Every signed document's page displays a **Cloud storage** line showing whether it is copying, a direct link to the file in Google Drive, or if copying is waiting or failed.

### Documents signed before connecting

After you connect and choose a folder, if your team already has signed documents that have not been copied yet, **Settings → Cloud storage** asks whether to copy them:

- Click **Copy** to copy all earlier uncopied signed documents into the folder. If [auto-delete](#auto-delete) is enabled, those documents will also be deleted from Agreement.new after your chosen wait.
- Click **Skip** to leave earlier documents only in Agreement.new. You can still copy any individual signed document later by opening it and clicking **Copy now**.

### Nothing in Google Drive is ever changed or deleted

Agreement.new only adds files to Google Drive. It never renames, edits, moves or deletes anything in Drive—including when you delete a document in Agreement.new or disconnect Google Drive. Copies in Google Drive are in your own storage, handled under Google's own terms, and yours to look after.

## Auto-delete

By default, signed documents stay in both Agreement.new and Google Drive. If you prefer to keep signed documents only in Google Drive, turn on **Delete from Agreement.new after copying** under **Settings → Cloud storage**.

When you switch it on, choose how long to wait (**Wait before deleting**) and confirm:

- **No delay:** Deleted from Agreement.new as soon as the copy in Google Drive is confirmed.
- **1 day** (default), **7 days**, **30 days** or **90 days:** Deleted after that many days have passed since the copy was confirmed.

You can change the delay or turn auto-delete off at any time. Turning it on also applies to documents already copied through the current connection; the confirmation dialog shows how many existing copies are affected.

### Safeguards and recovery

- **Checked again before deleting:** Before removing a document, Agreement.new confirms that the copy still exists in Google Drive with a matching checksum. If the file was trashed or removed in Google Drive, Agreement.new keeps the document and copies it again instead.
- **Pauses automatically:** Auto-delete pauses whenever the Google Drive connection has a problem or your team does not have an active subscription. Nothing is deleted while paused.
- **30 days in Recently deleted:** Auto-deleted documents move to **Recently deleted** for 30 days, where you can restore them. After 30 days, Agreement.new permanently purges the document and its files and cannot restore them.
- **Document links show where the file went:** While an auto-deleted document is in **Recently deleted**, opening its link in Agreement.new shows a **Moved to Google Drive** page with the folder path, an **Open in Google Drive** button and the date until which it stays in **Recently deleted**.

## Problems and how to fix them

Short-lived hiccups such as timeouts or rate limits retry automatically in the background. When a problem needs someone to step in, copying and auto-delete both pause so nothing is lost or deleted, and all team **owners and admins** are notified once by email and in the app.

**Settings → Cloud storage** explains what stopped copying and offers one fix:

| Status                 | What happened                                                                                                                                 | How to fix it                                                                                                         |
| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| **Needs reconnecting** | Access to Google Drive was revoked or expired, or the member who connected Google Drive left the team or deleted their Agreement.new account. | Click **Reconnect Google Drive** and sign in again. If the same folder still works, copying catches up automatically. |
| **Folder unavailable** | The destination folder was deleted or trashed in Google Drive, or the connected account lost edit permission on it.                           | Click **Choose folder** to pick another folder (or restore the folder and edit access in Google Drive, then pick it). |
| **Paused**             | Google Drive storage is full.                                                                                                                 | Free up space in Google Drive, then click **Try again**.                                                              |

Once resolved, any documents signed in the meantime copy automatically.

If Google Drive rejects an individual file while the connection itself is working, **Settings → Cloud storage** shows a warning with **Try again**, and you can open the document to see the reason and retry there. Individual failed copies are also retried automatically for 7 days.

## Disconnect

To stop copying signed documents to Google Drive, go to **Settings → Cloud storage**, click **Disconnect** and confirm.

- New signed documents stop copying to Google Drive.
- Copies still waiting to upload are cancelled and will not finish.
- Auto-delete turns off automatically.
- **Files already copied to Google Drive are untouched** and stay where they are.
- Agreement.new deletes the stored access tokens and asks Google to revoke the access grant (unless another team in Agreement.new still uses the same Google account).
- The record of where previously copied documents went stays with the team's documents and in its audit log for as long as they are kept.

Disconnection and token removal also happen automatically if the team is deleted. If the member who connected Google Drive leaves the team or deletes their Agreement.new account, their access tokens are removed, access is revoked (unless another team uses that account) and the remaining owners and admins are asked to reconnect with another account.

## Who can manage cloud storage

| Action                                                                             | Member | Admin | Owner |
| ---------------------------------------------------------------------------------- | ------ | ----- | ----- |
| View connected account, folder, status and auto-delete setting                     | Yes    | Yes   | Yes   |
| Open copied files in Google Drive from document pages                              | Yes    | Yes   | Yes   |
| Copy an individual signed document (**Copy now** / **Try again**) on its page      | Own\*  | Yes   | Yes   |
| Connect, reconnect, switch accounts or disconnect Google Drive                     |        | Yes   | Yes   |
| Choose or change the folder (as the member who connected that Google account)      |        | Yes   | Yes   |
| Turn auto-delete on or off, copy or skip earlier documents and retry failed copies |        | Yes   | Yes   |

\* Members can trigger **Copy now** or **Try again** on documents they own.

Every connection, reconnection, folder change, auto-delete update, connection problem, disconnection and document copy is recorded in **Settings → Audit log** (visible to team owners). See [Teams, members and roles](https://agreement.new/docs/teams-and-roles).

## Managing and deleting your data

### What data Agreement.new receives and stores from Google

When you connect Google Drive, Google provides the email address and identifier of the connected Google account and grants access only to the folder you select and the files Agreement.new creates there. Agreement.new cannot view or access other files in your Drive.

Agreement.new stores:

- The connected Google account's email address and identifier
- Encrypted OAuth access tokens used to upload files and verify copies
- The names, identifiers and links of the chosen folder and each copied file

All team members can see which Google account and folder are connected on **Settings → Cloud storage**. Google's folder picker uses Google's own cookies in your browser to recognise your Google account.

Agreement.new uses data received from Google only to copy your team's signed documents to the chosen folder and confirm that copies exist—never for advertising, AI training or other purposes—in accordance with the [Google API Services User Data Policy](https://developers.google.com/terms/api-services-user-data-policy), including its Limited Use requirements.

### Revoke Google Drive access

You can stop Agreement.new from accessing Google Drive at any time in either of two ways:

- **In Agreement.new:** Go to **Settings → Cloud storage** and click **Disconnect**. Agreement.new deletes the stored access tokens immediately and asks Google to revoke the grant (unless another team still uses the same Google account).
- **In your Google Account:** Open your [Google Account third-party connections](https://myaccount.google.com/connections), select Agreement.new and remove access. Copying pauses immediately.

### Delete your data

- **Google Drive connection tokens:** Deleted immediately when you disconnect Google Drive, delete the team, or when the member who connected leaves the team or deletes their Agreement.new account. The record of where past copies went (including the connected account's email address) stays with the team's documents and audit log for as long as they are kept.
- **Documents in Agreement.new:** Turn on [auto-delete](#auto-delete) or delete documents manually from the Documents page. Deleted documents remain in **Recently deleted** for 30 days, after which the documents, their files and their copy records are permanently erased.
- **Your team:** Team owners can delete the team under **Settings → General**, which disconnects Google Drive and removes the team and all of its documents. See [Delete a team](https://agreement.new/docs/teams-and-roles#delete-a-team).
- **Your Agreement.new account:** Open your profile from the corner menu in the sidebar to delete your account. Any Google Drive connection tied to your membership is stopped and its tokens are removed immediately.
- **Copied files in Google Drive:** Because Agreement.new never edits or deletes anything in Drive, manage or delete copied PDFs directly in Google Drive.

For full details on data retention, processors and your rights under GDPR, see our [Privacy Policy](https://agreement.new/privacy) and [Terms of Service](https://agreement.new/terms), or email hello@agreement.new.
