workflows.fit
Back to n8n workflows
n8n templateFreeBy Yahor Dubrouski

AI prompt hub (Notion + ChatGPT): auto-find the right prompt with embeddings

Overview Build your own AI Prompt Hub inside n8n. This template lets ChatGPT automatically search your saved prompts in Notion using semantic embeddings from HuggingFace. Each time a user sends a message, the workflow...

DevelopmentCore NodesProductivityAILangchainChat TriggerAgentLm Chat Open Ai
Loading interactive preview...

Template notes

Overview

Build your own AI Prompt Hub inside n8n. This template lets ChatGPT automatically search your saved prompts in Notion using semantic embeddings from HuggingFace. Each time a user sends a message, the workflow finds the most relevant prompt based on meaning - not keywords.

Perfect for developers who maintain dozens of prompts and want ChatGPT to pick the right one automatically.

Key Features

- 🔍 Semantic Prompt Search - Finds the best prompt using HuggingFace embeddings - 🧠 AI Agent Integration - ChatGPT automatically calls the prompt-search workflow - 📚 Notion Prompt Database - Store unlimited prompts with auto-generated embeddings - ⚡ Automatic Embedding Sync - Regenerates vectors when prompts change

This template is ideal for: - AI automations - Prompt engineering - DevOps and backend engineers who reuse prompts - Teams managing large prompt libraries

How it works

1. The user sends any message to the ChatGPT interface 2. The n8n AI Agent calls a sub-workflow that performs semantic search in Notion 3. HuggingFace converts both the message and saved prompts into vector embeddings 4. The workflow returns the most similar prompt, which ChatGPT can use automatically