Mindket

Google Doc to Pinecone vector store

Newversion 1 · updated

Overview

An n8n workflow that reads one Google Doc, turns its text into OpenAI embeddings and stores them in a Pinecone index, so the document can be searched by meaning. You start it with a click.

Google Doc to Pinecone vector store is an n8n workflow in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.

Platform

Connects 3 apps

How it works

Trigger

A click

It starts when you press Execute workflow in n8n, with:

  • No input: the document is set in the Get a document node

Actions

  1. Google Docs fetches the document you pointed it at
  2. Default Data Loader packages its content for the vector store
  3. OpenAI turns the text into embeddings
  4. Pinecone stores the vectors in your index, under a namespace

Result

The document’s text is stored in Pinecone as vectors you can search by meaning

Integrations

What you need before you start.

Google Docs

Document source

Fetches the text of the document whose ID you set.

NeedsGoogle sign-in, and the document’s ID

OpenAI

Embeddings

Turns the text into vectors with the embeddings node’s default model.

NeedsOpenAI API key

Pinecone

Vector database

Stores the vectors in your index and namespace, ready to be searched.

NeedsPinecone API key, and an index made first

Workflow check

Checked by Mindket on 13 Nov 2026

Steps
3 steps, starting by hand
AI
1 step calls an AI model: Pinecone Vector Store
Sign-ins
Signs in to: Google Docs, Pinecone and OpenAI
API keys
No API key is left in the file
Step types
Mindket’s checker reads all 3 of its step types

Read from the workflow’s file, not from a run.

About

What it is

This n8n workflow copies one Google Doc into a Pinecone index. You press Execute workflow, and the Google Docs node fetches the document. A data loader packages its content, an OpenAI embeddings node turns the text into vectors, and the Pinecone Vector Store node writes them into your index under a namespace. It has five nodes and no schedule. Afterwards a chatbot or an agent that reads the same index can find the document by meaning.

Who it suits

Developers and teams building a question-answering bot over their own documents, who need the first step: getting a document into a vector database where a model can look it up by meaning. Skip it if you want documents kept in sync on their own. It loads one document per click. It never searches.

Where to use it

Any n8n that can reach Google, OpenAI and Pinecone will do. It only fills the index, so a second workflow, a chatbot or an app of your own has to query it, and that part is not in this file.

Setup

Get it saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Its author puts setup at about 13 minutes, which assumes the three accounts exist.

What you need first
NeedDetail
n8nOn n8n Cloud or on a server of your own
GoogleAn account that can open the document, and the document’s ID
OpenAIAn API key for the embeddings
PineconeAn API key and an index you made first, whose dimension matches the embedding model
  1. In n8n, create a workflow, open its menu, choose Import from File and pick workflow.json.
  2. Add a Google Docs credential and select it in Get a document. Replace YOUR_DOC_ID with the ID of your document, the long string between /d/ and /edit in its address.
  3. Add a Pinecone credential and select it in Pinecone Vector Store. Replace YOUR_INDEX_NAME with your index, and change the namespace Contacts if you want another.
  4. Add an OpenAI credential and select it in Embeddings OpenAI.
  5. Save and press Execute workflow.

How to use it

Press Execute workflow. Each node shows how many items it handled, and the vector count of your index in Pinecone’s console should rise. Each press adds the document’s vectors again. Insert mode does not replace earlier ones, so two clicks store the document twice. To refresh a document, clear its namespace first, or turn on the Pinecone node’s Clear Namespace option.

Example

Put the ID of a returns-policy document in Get a document and press Execute workflow. The index then holds the policy’s text as vectors under Contacts. A retrieval step can answer a question such as how long a customer has to send an item back by meaning, with no exact wording to match.

For newcomers and experts

If you are new. An embedding is a list of numbers that stands for the meaning of a piece of text. A vector database such as Pinecone keeps those lists and finds the stored texts closest in meaning to a question. This workflow only fills the database, so nothing here answers questions yet.

For experts. The embeddings node has no options set, so it uses the node’s default model, and the index’s dimension has to match that model’s output. The data loader is on its defaults and no text splitter is connected. Open it to see what it takes as text and how it cuts a long document before you load a big one. The namespace in the file is Contacts, which suits a contacts list better than a policy, so rename it.

Good to know

The cost is the embedding calls and your Pinecone plan. Duplicates and a mismatched index are the two things that go wrong.

  • Billing: OpenAI charges for the embeddings, and Pinecone bills by your plan
  • Duplicates: every run inserts again, so clear the namespace before a reload
  • Index: it must exist already, and a wrong dimension makes Pinecone refuse the insert
  • Access: the Google account you authorize has to be able to open the document
  • Privacy: the document’s text goes to OpenAI and then to Pinecone
  • Credentials: the JSON holds none, and nothing from its author’s account

README and files

README

Google Doc to Pinecone vector store

An n8n workflow. Click once and it copies a Google Doc into a Pinecone index as vectors, so a chatbot or an agent can
search it by meaning.

What is inside

  • workflow.json: the workflow as n8n exports it, five nodes. It holds no credential. The document's ID and the
    index's name are the placeholders YOUR_DOC_ID and YOUR_INDEX_NAME.
  • README.md: these notes.

Before you start

  • An n8n instance, on n8n Cloud or your own server.
  • A Google account that can open the document, and the document's ID.
  • An OpenAI API key.
  • A Pinecone API key and an index you made first. Its dimension must match the embedding model's output.

Set it up

  1. In n8n, create a workflow, open its menu and choose Import from File. Pick workflow.json.
  2. Add a Google Docs credential and select it in Get a document. Replace YOUR_DOC_ID with your document's ID, the
    long string between /d/ and /edit in its address.
  3. Add a Pinecone credential and select it in Pinecone Vector Store. Replace YOUR_INDEX_NAME with your index. The
    namespace in the file is Contacts: change it if you want another.
  4. Add an OpenAI credential and select it in Embeddings OpenAI.
  5. Save and press Execute workflow.

Change it

  • Another document: the ID in Get a document.
  • Another namespace: the option in Pinecone Vector Store. A namespace per topic (marketing, support) keeps them
    apart.
  • Cost against accuracy: the model in Embeddings OpenAI. Make the index's dimension match it.
  • How the text is cut: open Default Data Loader. Nothing in the file sets a chunk size.

Good to know

  • Every run inserts the vectors again, so a second click stores the document twice. Clear the namespace before a
    reload, or turn on the Pinecone node's Clear Namespace option.
  • The index must exist before the run. A wrong dimension makes Pinecone refuse the insert.
  • The document's text goes to OpenAI and then to Pinecone.
  • This workflow only loads. Searching the index is a separate workflow or app.
Files
README.md  2 KB
workflow.json  3 KB

2 files, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-03

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

upscaler

uwg · Kit

Holds a set of image upscaling models gathered from the OpenModelDB community, for people who want to enlarge low-resolution pictures with AI on their own comp…

New

Pixel Art XL

nerijs · Kit

A pixel art style add-on for Stable Diffusion XL that turns text prompts into pixel-style images, with an optional LCM LoRA for faster runs. For game makers, d…

New

VibeVoice-1.5B

microsoft · Kit

Turns written conversations into spoken audio with up to four speakers and about 90 minutes of speech, an open Microsoft text-to-speech model for research on p…

New

Similar in Developer

See all in Developer

voicetut-egyptian-tashkeel

masterofaudio2077 · Kit

Reads Egyptian Arabic text aloud and follows the short vowel marks you write into it. A fine-tune of VoiceTut-TTS that keeps its 19 built-in voices and voice c…

New

Runs Meta's Llama 3.1 8B Instruct chat model in 4-bit AWQ form, so it fits on a GPU with about 4 GiB of free memory for the weights. For developers who want a…

New

Ru-Jev

besktech · Kit

Scores a Russian-first decision from a context and a list of options, giving a probability for yes/no, choice or rating questions. Runs on a plain CPU, for tea…

New