community-automations/drive-pinecone-rag

Content & Docs

PublicClaude subagent

Drive → Pinecone RAG

Naive chunking splits a sentence in half and retrieval returns nonsense. This pipeline chunks Drive documents by meaning, so each piece stays understandable on its own.

sonnet1 weekGoogle Drive APIPineconeOpenAI embeddingsn8n
ClaudeClaude
ROI for
README.md

Why this subagent

Naive chunking splits a sentence in half and retrieval returns nonsense. This pipeline chunks Drive documents by meaning, so each piece stays understandable on its own.

It prepends section context to every chunk before embedding into Pinecone, then re-indexes on a schedule. The payoff is retrieval that actually answers, not fragments stitched from mid-paragraph.

How it runs

    • Read

      Used at step 01 to kick off the pipeline.

    • Write

      Used at step 01 to kick off the pipeline.

    • WebFetch

      Used at step 01 to kick off the pipeline.

    • WebSearch

      Used at step 01 to kick off the pipeline.

Sample output

json
// Sample output
// (generated when the pipeline finishes)

Chunk the document by semantic section, prepend a one-line section summary to each chunk, then return embed-ready records.

Unlock the rest

The full agent definition, install snippet, and starter task are gated for community members.

Members get the full `.md` agent file, the npm / pnpm install one-liners, a starter prompt that we've tuned against real runs, and the open-source repo when this automation ships there. One email, magic link, done.