Answer HR policy questions in Slack DMs with GPT-4.1, Google Drive and Pinecone
Ready for 3.0What this workflow does
This AI workflow has 20 nodes and runs on a schedule (every day at 03:00) (plus 1 other trigger). Along the way it connects Google Drive, Pinecone Vector Store, OpenAI Chat Model and Slack and 2 more.
How it runs
Trigger: On a schedule (every day at 03:00) (plus 1 other trigger).
- Set Folder Config (Edit Fields (Set)): sets 1 field: Query String
- Filter: DM Only (Not Bot) (If): checks a condition and branches into true / false
- List Drive Files (Google Drive): work with file folder
- Search Pinecone (Pinecone Vector Store): searches the Pinecone vector store, with embeddings: OpenAI Embeddings (Chat)
- Download File (Google Drive): download
- Aggregate: combines items into one
- Extract Text (Extract from File): extracts data from a file (text)
- HR QA Agent (AI Agent): runs an AI agent, with model: GPT-4.1 (QA)
- Upsert to Pinecone (Pinecone Vector Store): stores documents in the Pinecone vector store, with embeddings: OpenAI Embeddings (Index); document loader: Load Document
- RAG Quality Evaluator (Basic LLM Chain): sends a prompt to an LLM, with model: GPT-5 mini (Eval)
…plus 2 more steps. See the full node list below.
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 (16)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Drive
n8n-nodes-base.googleDrive - Extract from File
n8n-nodes-base.extractFromFile - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - Aggregate
n8n-nodes-base.aggregate - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Slack Trigger
n8n-nodes-base.slackTrigger - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Slack
n8n-nodes-base.slack
From the author
This template gives your HR or operations team an AI-powered Slack bot that answers employee questions about internal policies — directly in DM, available to everyone in the workspace, with no per-user setup required. Employees simply send a direct message to…