n8n workflow template · 14 nodes · Pinecone
Chat with GitHub OpenAPI Specification using RAG (Pinecone and OpenAI) is a free n8n workflow template that starts when a chat message is received and works with Pinecone and OpenAI. It has 14 nodes, 12 of them AI nodes (Pinecone Vector Store, Default Data Loader, Recursive Character Text Splitter and Chat Trigger). The notes inside the workflow say: “This part of the workflow is responsible for extracting content, generating embeddings and sending them to the Pinecone vector store.” To run it, you add your own credentials for OpenAI API and Pinecone API.
The text below comes from the sticky notes inside the workflow. We removed links, code samples and anything that looks like a key or token.
This part of the workflow is responsible for extracting content, generating embeddings and sending them to the Pinecone vector store.
It requests the OpenAPI specifications from GitHub using a HTTP request. Then, it splits the file in chunks, generating embeddings for each chunk using OpenAI, and saving them in Pinecone vector DB.
This part of the workflow is responsible for the chat interface, querying the vector store and generating relevant responses.
It uses OpenAI GPT 4o-mini to generate responses.
The text below comes from the sticky notes inside the workflow. We removed links, code samples and anything that looks like a key or token.
This is an example of how to use RAG techniques to create a chatbot with n8n. It is an API documentation chatbot that can answer questions about the GitHub API. It uses OpenAI for generating embeddings, the gpt-4o-mini LLM for generating responses and Pinecone as a vector database.
The 14 nodes in file order (sticky notes excluded). Branches and connections determine execution order in n8n:
Configure your own credentials after importing. Create each credential in n8n, then select it in the node.
Do you need somewhere to run it? Read our guide to self-hosted n8n.
We can adapt this workflow to your apps, data and process, then deploy and support it.
Contact Us