Block 1 - Slack Trigger
- Type / Role
- n8n-nodes-base.slackTrigger - slackTrigger
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
This advanced Retrieval Augmented Generation (RAG) automation template for n8n enables contextual, real time recommendations using Slack messages as input. The workflow extracts referenced document...
n8n-nodes-base.slacktrigger, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatazureopenai, @n8n/n8n-nodes-langchain.vectorstorepinecone, @n8n/n8n-nodes-langchain.embeddingsazureopenai, n8n-nodes-base.googlesheetstool, @n8n/n8n-nodes-langchain.rerankercohere, @n8n/n8n-nodes-langchain.outputparserstructured
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Rahul Joshi.
Original n8n.io sourceThis advanced Retrieval-Augmented Generation (RAG) automation template for n8n enables contextual, real-time recommendations using Slack messages as input. The workflow extracts referenced documents from Google Drive, performs semantic retrieval from Pinecone, and generates next-step advice using GPT-4o β tailored specifically for executives and knowledge workers.
Perfect for AI copilots, Slack-based assistants, or CTO coaching tools, this no-code RAG implementation gives you the building blocks to combine unstructured inputs with memory-augmented intelligence.
What This Template Does
β Triggers from a Slack Message or Mention Monitors a Slack channel using a bot, capturing user input in real-time. π Extracts Key Info from Message GPT-4o parses the message to identify the subject person and Google Drive link (if present). π₯ Downloads File from Google Drive Automatically fetches and extracts PDF content using the built-in extractor. π Retrieves Metadata from Google Sheets & Pinecone
Looks up user ID from Google Sheets and retrieves context from Pinecone based on embeddings and reranking.
π§ Contextual Response via GPT-4o (RAG) Combines user data and document context to generate a single, actionable next step using a tightly scoped GPT-4o prompt.
π οΈ Auto-Fixes & Structures Output Ensures formatted response with recommended_action, rationale, and optional risk_note.
π¨ Sends Final Output Back to Slack Posts the recommendation directly to the channel as a reply.
Required Integrations
Ideal Use Cases
π§βπΌ Executive coaching bots (e.g., for CTOs or founders) π§ Slack-based internal AI assistants π AI-powered document summarization with memory π¬ Actionable recommendations based on real Slack conversations π Enterprise knowledge augmentation from vector DBs
Why This Template Stands Out
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 28 workflow blocks. Download the JSON for the full node graph.
| Workflow | Generate contextual recommendations from Slack using Pinecone |
|---|---|
| Complexity | advanced |
| Nodes | 28 |
| Categories | Internal Wiki, AI RAG |
| Author | Rahul Joshi |
| Published | 15 Jul 2025 |
Use the JSON export at /data/workflows/6018/6018.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
This advanced Retrieval Augmented Generation (RAG) automation template for n8n enables contextual, real time recommendations using Slack messages as input. The workflow extracts referenced document...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Internal Wiki, AI RAG use case.