Store AI chat conversations with OpenAI GPT-4.1-mini and Pinecone
UnknownWhat this workflow does
This AI workflow has 6 nodes and runs when a chat message arrives. Along the way it connects OpenAI Chat Model and Pinecone Assistant (community).
How it runs
Trigger: When a chat message arrives.
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (Get context from Assistant)
- Posting Responses to DB (HTTP Request): calls an HTTP API (POST)
- Formatting Answers (Edit Fields (Set)): sets 2 fields: output, timestamp
Services it uses
Other Pinecone Assistant + OpenAI templates (5)
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @pinecone-database/n8n-nodes-pinecone-assistant is verified or supports 3.0 (used in Get context from Assistant).
Nodes used (6)
- AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Pinecone Assistant Tool
@pinecone-database/n8n-nodes-pinecone-assistant.pineconeAssistantTool - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set
From the author
How it works - Chat input triggers the workflow when a user sends a message. - The primary AI Agent processes the incoming message using OpenAI's Chat Model to generate intelligent responses. - Context is retrieved from an assistant service using the "Get…