LogoTailride
Integrations

Google Drive

Automatically upload processed invoices to Google Drive with customizable folder structures.

Overview

Once connected, every processed invoice is automatically uploaded as a PDF to a Tailride folder in your Google Drive, organized into subfolders according to your settings.

Tailride keeps Drive in sync with your dashboard: if you edit an invoice's date or its vendor's legal name in the preview, the file is renamed and moved to the matching folder (renaming or merging vendors doesn't move files); if you delete an invoice or mark it as "not an invoice", the file is removed from Drive.

Setup Instructions

Open the Integrations tab and click Connect Google Drive on the Google Drive card

Sign in with Google and grant access. Tailride requests the limited drive.file scope — it can only see and manage files and folders it created itself (or a folder you explicitly picked), never the rest of your Drive.

Click Settings on the card to configure the folder organization and target folder

If a Tailride folder already exists at your Drive root, it is reused; otherwise it is created. Subfolders are created automatically on the first upload.

Syncing Existing Invoices

Right after you connect (or reconnect) Google Drive, Tailride checks whether your dashboard already contains processed invoices that aren't in Drive yet. If it does, a prompt appears asking "Sync existing invoices to Google Drive?" with the number of pending invoices:

  • Sync now uploads all of them in one click — no need to select them manually
  • Skip dismisses the prompt; you can still sync later from the invoice list via Add to Google Drive

If everything is already in Drive (or your dashboard is empty), the prompt doesn't appear.

Folder Organization

Choose one of five presets in the card settings, or build your own with Custom:

  • Date-based (default): by year and month — Tailride/2026/April/invoice.pdf
  • Vendor-based: by vendor name — Tailride/Amazon/invoice.pdf
  • Single folder: everything in the root folder — Tailride/invoice.pdf
  • Date then vendor: Tailride/2026/April/Amazon/invoice.pdf
  • Vendor then date: Tailride/Amazon/2026/April/invoice.pdf

The folder organization setting is shared between Google Drive and OneDrive — changing it in one changes it for both.

Vendor folder names

Vendor folders are named after the vendor name shown in Tailride, so all documents of one supplier land in one folder even when their legal names differ. This applies to Google Drive and OneDrive connections made from now on, and to any connection whose folder organization you change.

Connections made earlier keep their current vendor folder names until you switch: open the folder settings and turn on Name vendor folders after the vendor name shown in Tailride (shown when the structure has a vendor level). Switching creates new vendor folders next to the existing ones; files already uploaded are not moved.

  • Characters that folder names can't contain (/ \ : * ? " < > |) are replaced with _, dots at the start or end are dropped, and names are shortened to 100 characters — Foo A/S becomes Foo A_S.
  • Documents without an identified vendor go into an Unknown folder.
  • Connections that keep the earlier naming name vendor folders after the sender's email domain, as before.
  • Renaming or merging vendors doesn't move uploaded files; new files go into the folder with the new name.

Custom Base Folder

By default files go to the Tailride folder. In Settings → Drive folder you can instead:

  • Click Select Drive folder and pick any folder with the Google folder picker (shared drives are supported), or
  • Paste a folder URL directly

Tailride can only use a pasted folder it already has access to, for example one it created or one you picked before. If it can't see the folder, saving is refused and you are asked to choose it with Select Drive folder instead: picking a folder there is what gives Tailride access.

Reset to defaults restores the original Tailride folder.

Custom Folder Structure

If none of the presets fits, choose Custom under Folder organization and build the structure yourself. It is optional: until you pick Custom, everything works exactly as described above.

Open Settings on the Google Drive card and choose Custom. It starts from the preset you had selected

Under Folder levels, add the levels you need with the + buttons. Each level is a folder inside the one above it: drag a level or use its arrows to change the order, and click × to remove it

Click Save changes

Available levels:

  • Source — where the document came from. Each scanned mailbox gets a folder named after its address (1@example.com); documents from other channels go to a folder named after the channel: Forwarding, Uploads, Browser extension, Mobile app, Desktop app, Telegram, WhatsApp, Peppol, Google Drive or OneDrive
  • Year — 2026
  • Quarter — Q3
  • Month — August
  • Vendor — Amazon

For example, Source → Year → Month files an invoice from your Gmail inbox as Tailride/1@example.com/2026/August/invoice.pdf and a forwarded one as Tailride/Forwarding/2026/August/invoice.pdf.

When Source is one of the levels, Mailbox folder names lists your mailboxes: type a different name next to a mailbox to rename its folder, for example Client A instead of 1@example.com. Several mailboxes can share a name — their invoices then end up in the same folder.

Good to know:

  • The custom structure is shared between Google Drive and OneDrive, like the presets.
  • Files already in Drive are not moved when you change the structure; only new uploads use it. Editing an invoice's date or vendor moves its file into the current structure.
  • Switching back to a preset keeps your custom levels, so you can return to them later. Reset to defaults switches back to the date-based preset.
  • Only mailboxes connected in Sources with invoice scanning turned on are listed. Pausing scanning for a mailbox keeps its folder name; removing the mailbox from Sources removes it. Folders and files already in your Drive are never deleted.
  • Folder names can have up to 100 characters. They can't contain / \ : * ? " < > |, start or end with a dot, or be a plain year such as 2026 (that would mix with the year folders).

File Naming

Files are named using your file-naming settings (shared with other exports): by default {date}_{vendor}_{invoiceId}.pdf, for example 2026-04-12_Amazon_INV-1043.pdf. Available components are date, vendor (the vendor name shown in Tailride), invoice ID, amount, and currency; you can also keep original filenames by disabling renaming. Images are always converted to PDF before upload.

New uploads always use your current file name settings. Files already in Drive keep their names when you change the settings; re-sync them to upload them again under the new name.

Manual Upload and Re-Sync

From the invoice list you can also push files manually via the bulk actions menu:

  • Add to Google Drive — uploads selected invoices that aren't in Drive yet
  • Re-Sync to Google Drive — replaces the Drive file for invoices that are already uploaded, named with your current file name settings

Uploading the same invoice again updates the existing file in place instead of creating a duplicate.

Pause and Disconnect

  • Pause stops new uploads while you keep collecting and processing invoices; nothing already in Drive is touched. Resume re-enables uploads (it doesn't backfill automatically — use Add to Google Drive for that).
  • Disconnect removes the integration. Folders and files already created in Google Drive are not deleted.

Reconnecting

If Drive access expires or is revoked, the card shows a "Google Drive needs to be reconnected" banner and you receive an email. Uploads pause until you reconnect; invoices keep being processed as usual.

After reconnecting, the sync prompt offers to upload any invoices that were processed while the connection was down.

When Uploads Fail

Sometimes the connection is fine but uploads still fail — most often because the export folder was deleted or moved, or because your Drive storage is full. Reconnecting doesn't help in that case. Instead, Google Drive appears in the daily "needs attention" email with the likely cause and a link to the integration settings.

To fix it, choose the folder again with Select Drive folder (see Custom Base Folder) or free up space, then use Add to Google Drive to upload the invoices that were missed.

Looking for OneDrive? See the OneDrive integration — it works the same way.

On this page