Skip to content
FlowHubFluxonLab
A
AI Automationfree

Answer Slack knowledge base questions with Notion, Pinecone, and OpenAI

by DigitalCube.AIadapted from n8n official workflow galleryUpdated Aug 2026
RequiresAAI AgentCCodeDDefault Data LoaderEmbeddings OpenAIEmbeddings OpenAINotionNotionOpenAI Chat ModelOpenAI Chat ModelPinecone Vector StorePinecone Vector StoreRecursive Character Text SplitterRecursive Character Text SplitterSlack
Share Post Share
TSSplit Text into ChunksSplit Text into…AgCubeBot AI AgentOpenAI GPT-4 Chat ModelOpenAI GPT-4 Ch…ScDaily Sync TriggerDaily Sync Trig…Fetch Notion KB PagesFetch Notion KB…Retrieve Notion BlocksRetrieve Notion…CoPrepare Document MetadataPrepare Documen…VSInsert Vectors into PineconeInsert Vectors …OpenAI Embeddings IngestionOpenAI Embeddin…DDLoad Data for VectorsLoad Data for V…SlSlack KB Channel TriggerSlack KB Channe…IfFilter Out Bots and System MessagesFilter Out Bots…VSPinecone KB SearchPinecone KB Sea…OpenAI Embeddings QueryOpenAI Embeddin…Post Reply in Slack ThreadPost Reply in S…1234567
1/5
FLOWS
STEPS · 7
Runs on a schedule

Quick overview This workflow syncs an internal Notion knowledge base to Pinecone on a daily schedule, then runs a Slack bot that answers questions in a specific channel using Pinecone retrieval and an OpenAI chat model, replying in a thread with citations back to the source Notion pages. How it works Runs on a daily schedule to sync your Notion knowledge base into a Pinecone vector index. Fetches all pages from a specified Notion database and then pulls each page’s full block content (including nested blocks). Combines each page’s blocks into a single document and attaches metadata such as the Notion title, URL, and last edited time. Splits each document into overlapping text chunks, generates OpenAI embeddings, and inserts them into Pinecone while clearing and rebuilding the target namespace. Triggers when a new message is posted in the configured Slack channel and ignores bot/system messages to prevent reply loops. Uses an OpenAI-powered agent that always queries Pinecone for relevant chunks (including source metadata) and generates an answer in the user’s language. Posts the response back to Slack as a threaded reply, including cited Notion sources.

Tags

n8nreference-onlyagentdocument-default-data-loaderembeddings-open-ailm-chat-open-ainotionslacktext-splitter-recursive-character-text-splittervector-store-pinecone
Connects
AAI AgentCCodeDDefault Data LoaderembeddingsopenaiEmbeddings OpenAInotionNotionopenaichatmodelOpenAI Chat Model
CategoryAI Automation
Triggermanual
Complexitycomplex
Nodes15
AddedJul 15, 2026

Related workflows

See all AI Automation
ACDgmail
free

AI: Summarize podcast episode and enhance using Wikipedia

The workflow automates the process of creating a summarized and enriched podcast digest, which is then sent via email. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team
ACWopenaichatmodel
free

Manage Google and Trustpilot reviews with OpenAI and Slack

Quick overview This workflow runs hourly to fetch new Google Business Profile and Trustpilot reviews, deduplicates them, uses OpenAI via a LangChain agent to draft sentiment-aware replies, escalates negative reviews in Slack, and routes positive replies to Slack for approval before posting the reply back to Trustpilot. How it works Runs every hour on a schedule. Fetches the latest reviews from the Google Business Profile API and the Trustpilot API and combines the results. Deduplicates reviews by tracking previously seen review IDs in workflow static data and stops if there are no new reviews. Processes each new review and uses OpenAI (via a LangChain agent) to generate structured JSON containing sentiment, a draft reply, and an optional suggested resolution. Sends negative reviews to a Slack channel for the owner along with the suggested resolution. Sends positive draft replies to Slack for one-tap approval (with a 24-hour timeout) and, if approved, publishes the reply to the Trustpilot API. Sends a Slack alert to the ops channel if the workflow errors. Setup Configure authentication and replace placeholders for the Google Business Profile reviews endpoint (account and location) i

by Redowan Ahmed Farhan
ACgmailW
free

Send weekly blended ad performance reports with Meta, Google Ads, GA4 and OpenAI

Quick overview This workflow runs every Monday at 8am to pull the last 7 days of performance from Meta Ads, Google Ads, and GA4, calculate blended KPIs, generate an OpenAI-powered narrative summary, email an HTML report via Gmail, and post an internal update (and errors) to Slack. How it works Runs every Monday at 8am on a scheduled trigger. Fetches the last 7 days of spend and engagement metrics from the Meta Ads Insights API, campaign cost and conversion metrics from the Google Ads API, and conversions and revenue by channel from the GA4 Reporting API. Combines the three datasets and calculates blended KPIs including total spend, total conversions, total revenue, and ROAS. Sends the computed metrics to an OpenAI chat model to generate a 3–4 sentence client-friendly performance summary with one risk and one recommendation. Builds a simple HTML report containing the KPIs and AI summary. Emails the HTML report to the client via Gmail and posts a brief confirmation with spend and ROAS to a Slack channel. If the workflow fails, posts an error alert message to an ops Slack channel. Setup Configure authentication for the HTTP requests to Meta Ads (access token), Google Ads (OAuth/access

by Redowan Ahmed Farhan