Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Chat with GitHub API Documentation: RAG-Powered Chatbot with Pinecone & OpenAI

n8n template #2705
This workflow demonstrates a Retrieval Augmented Generation (RAG) chatbot that lets you chat with the GitHub API Specification (documentation) using natural language. Built with n8n, OpenAI's LLMs and the Pinecone vector database, it provides accurate and context-aware responses to your questions about how to use the GitHub API. You could adapt this to any OpenAPI specification for any public or private API, thus creating a documentation chatbout that anyone in your company can use. How it works: Data Ingestion: The workflow fetches the complete GitHub API OpenAPI 3 specification directly from the GitHub repository. Chunking and Embeddings: It splits the large API spec into smaller, manageab

How to set it up

  1. Open template #2705 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
  2. Create 3 credentials under Credentials → Add credential: Embeddings OpenAI, OpenAI Chat Model, Pinecone Vector Store. Then open each of those nodes and pick the credential.
  3. Check the model in the AI Agent node. The template may point at a model your account can't use; swap it for one you have access to.
  4. Click Execute workflow and step through each node's output to confirm the data looks right.
  5. Toggle the workflow to Active so its trigger runs on its own.

Hand off to your agent

Prompt

Help me set up the n8n workflow "Chat with GitHub API Documentation: RAG-Powered Chatbot with Pinecone & OpenAI" (https://n8n.io/workflows/2705). It uses: HTTP Request, AI Agent, Embeddings OpenAI, OpenAI Chat Model, Simple Memory, Recursive Character Text Splitter, Pinecone Vector Store, Default Data Loader, Vector Store Question Answer Tool. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Questions

Yes. Mihai Farcas published it free on n8n.io as a verified creator, and it has 23K views. It runs on n8n Cloud or a self-hosted n8n instance.

Embeddings OpenAI, OpenAI Chat Model, Pinecone Vector Store. The other 6 nodes are built into n8n.

Similar workflows

NameViews
  1. Building Your First WhatsApp Chatbot332K
  2. Advanced AI Demo (Presented at AI Developers #14 meetup)24K
  3. Scale Deal Flow with a Pitch Deck AI Vision, Chatbot and QDrant Vector Store6,822
  4. Explore n8n Nodes in a Visual Reference Library5,197
  5. AI Agent To Chat With Files In Supabase Storage68K
  6. AI Voice Chatbot with ElevenLabs & OpenAI for Customer Service and Restaurants62K
  7. AI-Powered WhatsApp Chatbot for Text, Voice, Images, and PDF with RAG47K
  8. HR & IT Helpdesk Chatbot with Audio Transcription36K