Try it out This n8n workflow template lets you chat with your Google Drive documents (.docx, .json, .md, .txt, .pdf) using OpenAI and Pinecone Assistant. It retrieves relevant context from your files in real time so you can get accurate, context-aware answers about your proprietary data—without the need to train your own LLM. What is Pinecone Assistant? Pinecone Assistant allows you to build production-grade chat and agent-based applications quickly. It abstracts the complexities of implementing

Try it out This n8n workflow template lets you chat with your Google Drive documents (.docx, .json, .md, .txt, .pdf) using OpenAI and Pinecone Assistant. It retrieves relevant context from your files in real time so you can get accurate, context-aware answers about your proprietary data—without the need to train your own LLM. What is Pinecone Assistant? Pinecone Assistant allows you to build production-grade chat and agent-based applications quickly. It abstracts the complexities of implementing retrieval-augmented (RAG) systems by managing the chunking, embedding, storage, query planning, vector search, model orchestration, reranking for you. Prerequisites A Pinecone account A GCP project with Google Drive API enabled and configured An Open AI account and API key Setup 1. Create a Pinecone Assistant named n8n-assistant in the Pinecone Console here 2. Setup your Google Drive OAuth2 API credential in n8n 1. In the File added node -> Credential to connect with, select Create new credential 2. Set the Client ID and Client Secret from the values generated in the prerequisites 3. Set the OAuth Redirect URL from the n8n credential in the Google Cloud Console (instructions) 4. Name this credential Google Drive account so that other nodes reference it 3. Use the Connect to Pinecone button to authenticate to Pinecone or if you self-host n8n, create a Pinecone credential and add your Pinecone API key directly 4. Select your Assistant Name in each of the Pinecone Assistant nodes 5. Setup the Open AI credential in n8n 1. In the OpenAI Chat Model node -> Credential to connect with, select Create new credential 2. Set the API Key field to your OpenAI API key 6. Add your files to a Drive folder named n8n-pinecone-demo in the root of your My Drive 1. If you use a different folder name, you'll need to update the Google Drive triggers to reflect that change 7. Activate the workflow or test it with a manual execution to ingest the documents 8. Chat with your docs! Ideas for customizing this workflow - Customize the System Message on the AI Agent node to your use case to indicate what kind of knowledge is stored in Pinecone Assistant - Change the Top K and/or Snippet Size values to help manage token consumption by adding the Top K and/or Snippet Size parameters to Get context from Assistant node - Filter the context snippets even further by adding metadata filters to the Get context from Assistant node Need help? You can find help by asking in the Pinecone Discord community or filing an issue on this repo.
Download the workflow JSON file after purchase.
Open n8n → click the menu → Import from File.
Select the downloaded JSON and import.
Set up credentials for each node that requires them.
Click Execute Workflow to test, then activate.
Setup guide included
Purchase to unlock the full step-by-step guide
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.