Document Management
Google Drive Cloud Sync New
Automatically save your generated documents to Google Drive. When Cloud Sync is enabled for a template, every PDF you generate is uploaded to your chosen Shared Drive folder.
Why Use Cloud Sync?
- Automatic backup: Every generated document is saved to Google Drive without manual downloads
- Team access: Share the Shared Drive folder with your team for easy collaboration
- Organized storage: Documents are automatically organized by date or HubSpot record
- External sharing: Easily share Drive folders with clients or partners outside HubSpot
Requirements
Before setting up Cloud Sync, make sure you have:
- Google Workspace account with access to Shared Drives
- Shared Drive folder where documents will be saved
- Permission to share the folder with external users
Setting Up Cloud Sync
Step 1: Open Template Settings
- Go to Templates in PDF CreateMate
- Click on the template you want to configure
- Find the Cloud Sync section in the template settings
Step 2: Enable Cloud Sync
- Toggle Enable Cloud Sync to on
- Copy the service account email displayed:
google-drive@pdf-createmate-484707.iam.gserviceaccount.com
Step 3: Share Your Folder
- Open Google Drive in your browser
- Navigate to your Shared Drive
- Right-click the folder where you want documents saved
- Click Share > Share
- Paste the service account email
- Set permission to Content Manager or Editor (Editor is required to upload files)
- Click Send
Step 4: Configure the Connection
- Copy the folder URL from your browser address bar
- Example:
https://drive.google.com/drive/folders/1ABC123xyz...
- Example:
- Paste the URL in the Shared Drive Folder URL field
- Click Validate to verify the connection
- If successful, you'll see a green checkmark
Step 5: Choose Folder Structure
Folder organization options:
Flat:
Template Title/ └── document.pdf
Year/Month:
Template Title/
└── 2026/
└── 03/
└── document.pdf
Year/Month + Group by Object:
Template Title/
└── 2026/
└── 03/
└── 12345678/ (HubSpot record ID)
└── document.pdf
Step 6: Save Settings
Click Save to apply your Cloud Sync configuration. New documents generated from this template will automatically upload to Google Drive (in addition to HubSpot).
How It Works
When you generate a document with Cloud Sync enabled:
- The PDF is created and saved to HubSpot as usual
- PDF CreateMate uploads a copy to your Google Drive folder
- Subfolders are created automatically based on your structure settings
- The document appears in Drive within seconds
Folder Organization Examples
Flat Structure
Best for low-volume templates or when you don't need date organization.
Shared Drive/
└── Invoice Template/
├── Invoice-001.pdf
├── Invoice-002.pdf
└── Invoice-003.pdf
Year/Month Structure
Best for high-volume templates where you want documents organized by when they were created.
Shared Drive/
└── Invoice Template/
└── 2026/
├── 01/
│ ├── Invoice-001.pdf
│ └── Invoice-002.pdf
└── 02/
└── Invoice-003.pdf
Year/Month with Object Grouping
Best when you generate multiple documents per HubSpot record and want them grouped together.
Shared Drive/
└── Contract Template/
└── 2026/
└── 01/
├── 98765432/
│ ├── Contract-Draft.pdf
│ └── Contract-Final.pdf
└── 12345678/
└── Contract-Draft.pdf
Managing Cloud Sync
Changing Settings
You can update Cloud Sync settings at any time:
- Open the template
- Modify the folder URL, structure, or grouping options
- Click Save
Changes apply to future documents only. Existing documents stay where they were uploaded.
Disabling Cloud Sync
- Open the template settings
- Toggle Enable Cloud Sync to off
- Click Save
Documents already in Google Drive remain there. Only future documents stop uploading.
Changing Folders
To sync to a different folder:
- Share the new folder with the service account (see Step 3)
- Update the folder URL in template settings
- Validate access and save
Troubleshooting
"Access Denied" Error
Problem: PDF CreateMate cannot access your Google Drive folder.
Solutions:
- Verify the folder is in a Shared Drive, not My Drive
- Check that you shared the folder with the exact service account email:
google-drive@pdf-createmate-484707.iam.gserviceaccount.com - Ensure the permission is set to Editor, not Viewer
- Try removing and re-adding the service account to the folder
"Invalid URL" Error
Problem: The folder URL is not recognized.
Solutions:
- Use the URL from your browser address bar when viewing the folder
- The URL should contain
drive.google.com/drive/folders/ - Make sure the folder is in a Shared Drive
"Folder Not Found" Error
Problem: The folder URL is valid but the folder cannot be accessed.
Solutions:
- Verify the folder still exists and hasn't been deleted
- Check that the Shared Drive hasn't been removed
- Re-share the folder with the service account
Documents Not Appearing in Drive
Problem: Cloud Sync is enabled but documents don't appear.
Solutions:
- Wait a few seconds - upload happens asynchronously
- Check that Cloud Sync shows as enabled in template settings
- Verify the validation check passed (green checkmark)
- Look in the correct subfolder based on your structure settings
"Shared Drive Only" Message
Problem: You're trying to use a regular Google Drive folder.
Solutions:
- Cloud Sync only works with Shared Drives (Google Workspace feature)
- Create a Shared Drive or use an existing one
- Move or copy the folder to a Shared Drive
Frequently Asked Questions
Q: Why are only Shared Drives supported? A: Service accounts have limited storage quota in regular Google Drive (My Drive). Shared Drives don't have this limitation, allowing unlimited document uploads.
Q: Can I use Cloud Sync with multiple templates? A: Yes, each template can have its own Cloud Sync settings. You can use the same folder or different folders for each template.
Q: Does Cloud Sync affect document generation speed? A: No. Documents are uploaded in the background after generation completes. You won't notice any delay.
Q: What happens if Google Drive is temporarily unavailable? A: The document is still saved to HubSpot. Failed uploads are retried automatically.
Q: Can I sync to multiple Google Drive folders? A: Currently, each template can sync to one folder. If you need documents in multiple locations, consider using Google Drive's folder sharing or shortcuts.
Q: Are documents synced when I regenerate? A: Yes. Regenerated documents are uploaded to Google Drive following the same folder structure rules.
Q: Can my team see the synced documents? A: Yes, if they have access to the Shared Drive. Share the Shared Drive with team members through Google Drive's normal sharing settings.
Q: What file format is uploaded? A: The same format you generate - typically PDF. The file uploaded to Google Drive matches the document saved to HubSpot.
Tips
- Use descriptive folder names: Name your template folders clearly so documents are easy to find
- Consider date structure for volume: High-volume templates benefit from year/month organization
- Enable object grouping for related documents: If you generate multiple documents per deal or contact, grouping keeps them together
- Share the Shared Drive: Give your team access to the entire Shared Drive rather than individual folders for easier management