Create a context-aware Slack assistant with Google Sheets, Pinecone & GPT-4o
Ready for 3.0What this workflow does
This AI workflow has 19 nodes and runs on Slack events. Along the way it connects Slack, Azure OpenAI Chat Model, Pinecone Vector Store and Embeddings Azure OpenAI and 2 more.
How it runs
Trigger: On Slack events.
- Get a user's profile (Slack): uses Slack
- AI Agent: runs an AI agent, with model: Azure OpenAI Chat Model; 2 tools (Pinecone Vector Store, Get row(s) in sheet in Google Sheets); output parser: Structured Output Parser
- Pinecone Vector Store: uses the Pinecone vector store, with embeddings: Embeddings Azure OpenAI
- AI Agent: runs an AI agent, with model: Azure OpenAI Chat Model; output parser: Auto-fixing Output Parser
- Edit Fields (Edit Fields (Set)): sets or maps fields
- Pinecone Vector Store: uses the Pinecone vector store, with embeddings: Embeddings Azure OpenAI
Services it uses
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.
- Still check Slack Trigger requires a signing secret on the Slack API credential (Slack Trigger).
Nodes used (11)
- Slack Trigger
n8n-nodes-base.slackTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - Azure OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatAzureOpenAi - Slack
n8n-nodes-base.slack - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Embeddings Azure OpenAI
@n8n/n8n-nodes-langchain.embeddingsAzureOpenAi - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Reranker Cohere
@n8n/n8n-nodes-langchain.rerankerCohere - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Auto-fixing Output Parser
@n8n/n8n-nodes-langchain.outputParserAutofixing - Edit Fields (Set)
n8n-nodes-base.set
From the author
This advanced n8n automation template empowers your Slack bot to act as an intelligent assistant: when a user asks a question or requests a suggestion (by mentioning the bot), it automatically retrieves the user’s historical data and previous interactions…