Build RAG-powered support agent for Jira issues using Pinecone and OpenAI
Ready for 3.0What this workflow does
This AI workflow has 23 nodes and runs when an MCP client calls one of its tools (plus 2 other triggers). Along the way it connects Pinecone Vector Store, Embeddings OpenAI, OpenAI Chat Model and MCP Client. It also calls jira.siav.it over HTTP.
How it runs
Trigger: When an MCP client calls one of its tools (plus 2 other triggers).
- Cycles (Merge): merges the data from its input branches
- SLA (Edit Fields (Set)): sets 1 field: SLA
- Extract Issues (HTTP Request): calls jira.siav.it
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (openIssues); memory: Simple Memory
- Extract Relevant Info (Code): runs custom JavaScript code
- Merge: merges the data from its input branches
- Get Comments (HTTP Request): calls an HTTP API
- Convert to txt (Code): runs custom JavaScript code
- Create Comment array (Code): runs custom JavaScript code
- Pinecone Vector Store: stores documents in the Pinecone vector store, with embeddings: Embeddings OpenAI; document loader: openIssues (Data Loader)
…plus 2 more steps. See the full node list below.
Services it uses
Other OpenAI + Pinecone templates (128)
HTTP calls to: jira.siav.it
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (16)
- Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Schedule Trigger
n8n-nodes-base.scheduleTrigger - MCP Server Trigger
@n8n/n8n-nodes-langchain.mcpTrigger - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Switch
n8n-nodes-base.switch - Merge
n8n-nodes-base.merge - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Edit Fields (Set)
n8n-nodes-base.set - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - MCP Client Tool
@n8n/n8n-nodes-langchain.mcpClientTool
From the author
Load Jira open issues with comments into Pinecone + RAG Agent (Direct Tool or MCP) Who’s it for This workflow is designed for support teams, data engineers, and AI developers who want to centralize Jira issue data into a vector database. It collects open…