Package Information
Downloads: 2 weekly / 19 monthly
Latest Version: 0.1.0
Available Nodes
Documentation
n8n-nodes-prompt-library
n8n community node to fetch and render prompts from n8n-library's prompt versioning system.
Features
- Get Prompt - Fetch a prompt by slug (latest or specific version)
- List Prompts - List all published prompts
- Render Prompt - Fetch a prompt and replace
{{variable}}template variables with values - AI Tool compatible -
usableAsTool: trueso AI agents can use this node
Installation
In n8n (community nodes)
- Go to Settings > Community Nodes
- Install
n8n-nodes-prompt-library
Manual installation
cd ~/.n8n/custom
npm install n8n-nodes-prompt-library
Credentials
| Field | Description |
|---|---|
| Instance URL | Base URL of your n8n-library instance (e.g. https://library.example.com) |
| API Key | API key from n8n-library Settings > API Keys (n8nlib_...) |
Operations
Get Prompt
Fetches a single prompt by its slug. Optionally specify a version number (0 = latest).
List Prompts
Returns all published prompts with their metadata (name, slug, description, variables, category, tags).
Render Prompt
Fetches a prompt and replaces template variables. For example, if the prompt contains {{customer_name}}, provide a variable with name customer_name and value Alice to get the rendered output.
Example Usage
[Trigger] -> [Prompt Library: Render Prompt] -> [OpenAI Chat]
Fetch a versioned prompt with variables, then pass the rendered content to an LLM.