Google Drive metadata via API: test first, then build
Files in Google Drive can carry their own metadata, but is that enough for a CRM integration? For one company, we checked this in a feasibility test before the actual project.
The starting point
The company receives inventory data as a structured file that also contains PDF documents. These were to be stored in Google Drive, carry additional information there and be linkable to the CRM.
- Metadata via APIEach file was to store attributes that can be queried via the API.
- Temporary parkingDocuments without a matching record in the CRM had to be movable via the API without losing their attributes.
- Check first, then buildBefore a full implementation, a feasibility test was to show whether the approach would hold up.
How we went about it
Instead of a detour through an additional cloud storage service, we used the built-in capabilities of Google Drive.
- Attributes directly in DriveWe proposed using the built-in custom properties of the Drive API. This way, the PDFs also remain accessible through the existing CRM integration.
- Test environment replicatedWe recreated the client’s structure in our own test environment, using a sample file from the client.
- Process testedExtract the document from the file, store it in Drive, set the attributes, return the file ID. Then retrieval and moving, including in shared drives.
- Report and videoFindings, limits and next steps in a final report with an explainer video, handed over in a joint call.
The result for the client
The test worked as expected.
- Feasibility confirmedThe attributes are preserved when files are moved and can be retrieved via the API. Up to 30 fields per file are more than enough for the requirements.
- Limits known in advanceIf a file is downloaded and uploaded again, the attributes are lost. The client now knows this before the build, not after.
- Follow-up project commissionedBased on the report, the project is now moving into implementation.
What we used in this project
Google Workspace setup
Domain, users, Gmail, Drive and security: set up so your team works cleanly from day one, or your existing account cleaned up.
Learn more →Google Workspace support
Gmail not working, a share stuck, an account locked? We help fast, by phone, video call or remote access.
Learn more →Similar situation? Write to us
Briefly describe your situation. We’ll tell you how we would approach it, honestly and without a sales pitch.
- Reply within 48 hours
- Projects at a fixed price after a short call
- A dedicated contact you know by name
Similar projects
More case studies for service providers and small teams →See all case studies →