Connect Google Drive to Pinecone
Ideas
What you can do with Google Drive and Pinecone
Answer questions from your Drive documents, with the source named
Send a question and get an answer drawn from your company documents in Drive, quoting the file and passage it came from.
See how it worksKeep a Pinecone index in step with a Drive folder
New and edited files in your Drive folder are added to Pinecone within minutes, and files you remove are taken out of the index.
See how it worksGet an analysis of each new earnings report compared with past quarters
When a new earnings report lands in your Drive folder, it is indexed and you get an email comparing it with earlier quarters.
See how it worksDraft replies to support emails from your Drive help docs
Each new support email gets a draft reply in Gmail, written from the help documents you keep in Drive.
See how it worksGet an accounting summary for each new EDI or export file in Drive
When a new EDI or accounting export lands in your Drive folder, it is indexed and you get an email summarising its bookings.
See how it works Your own logicAny other automation you can describe in words
Your own rules, schedule and AI steps with Google Drive and Pinecone, plus any other app. Describe it and your assistant builds it.
See how to build your ownBuild your own
Build any Google Drive and Pinecone automation you can describe
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
For example, ask your assistant
Only index Google Docs and PDFs in the "Approved" folder, and remove vectors when a file is deleted.
Each week, email me a list of files that failed to index and why.
Use cases
Why people connect Google Drive and Pinecone
How the two apps work together
- A check every few minutes looks for new or changed files in the Drive folders you choose.
- The script reads text, splits it into chunks, creates embeddings and upserts them to Pinecone.
- Questions from another source query Pinecone and return answers with the Drive file link.
Teams searching internal documents
Drive documents are indexed in Pinecone so questions return answers with the source file. Knowledge is easier to find.
Support teams using help docs
Help articles in Drive feed answers to support questions. Answers match the docs.
Analysts working with reports
Reports in Drive are searchable by meaning. Insights are found faster.
Consultants reusing past work
Past proposals are indexed for reuse. New work starts from good examples.
More apps
Google Drive, Pinecone and other apps in one automation
Ask in Slack
When someone asks a question in #ask-docs, search my Pinecone index of Drive files and reply with the answer and file link.
Embeddings with OpenAI
Index my Drive folder into Pinecone using OpenAI embeddings and update changed files every hour.
Answer support emails
Draft replies to support emails using my Pinecone index of Drive help docs.
Setup
Connect Google Drive and Pinecone once
Google Drive
File storage
- At console.cloud.google.com, create a project and enable the Google Drive API.
- Set up the OAuth consent screen and add the scope
https://www.googleapis.com/auth/drive. - Create an OAuth client of type Web application with the redirect URI
https://clickruntime.com/oauth/callback. - In the ClickRuntime dashboard, open Connections, choose Google Drive and enter the client ID and secret, then connect.
- Prefer a service account? Under IAM & Admin → Service Accounts, create one and add a JSON key, share your folders or a Shared Drive with its email, and save the key as a secret on Connections & secrets.
Pinecone
AI / Vector database
- In the Pinecone console, open the project that holds your index.
- Go to API Keys and create a new API key, then copy it.
- In the ClickRuntime dashboard, open Connections & secrets and save the key as a secret for Pinecone. It is sent in the
Api-Keyheader.
FAQ
Questions about connecting Google Drive and Pinecone
Do I need a Pinecone account?
Which Drive files can be indexed?
Does it change my Drive files?
Who can see the indexed content?
Which file types can it read?
Does it re-index changed files?
Which embedding model does it use?
Related pages
Keep exploring
Tell your assistant what Google Drive and Pinecone should do together
Free plan. No credit card.