@optiqlabs/n8n-nodes-promptcache
v0.2.16-beta
Published
Read-only PromptCache community node for n8n
Maintainers
Readme
@optiqlabs/n8n-nodes-promptcache
Read-only n8n community node for PromptCache. List prompts, inspect versions and variables, and render templates in your workflows — without write access to your prompt library.
Links: Documentation · Create an API key
What it does
| Resource | Operation | Purpose | | --------- | ---------------- | ------------------------------------ | | Prompt | List | Browse prompts in your workspace | | Prompt | Get | Fetch a prompt draft by ID | | Prompt | Get Variables | Read variable definitions | | Version | List Versions | View version history | | Version | Get Version | Fetch a published snapshot | | Rendering | Preview (Inject) | Render the live draft (lenient) | | Rendering | Invoke | Render a published template (strict) |
Create, update, delete, publish, and fork are not included.
Requirements
- n8n (self-hosted or cloud) with community nodes enabled
- A PromptCache account and API key with
prompts:readscope
Install
Self-hosted n8n
- Open Settings → Community nodes.
- Click Install.
- Enter
@optiqlabs/n8n-nodes-promptcache - Restart n8n if prompted.
n8n Cloud
Enable community nodes in your instance settings, then install @optiqlabs/n8n-nodes-promptcache the same way.
Full walkthrough: n8n integration guide.
Configure credentials
- In n8n, add a PromptCache API credential.
- Paste your
pk_…API key. - Set API Base URL to your PromptCache API origin (no
/apisuffix), e.g.https://api.promptcache.app. - Click Test, then save.
Example workflow
- Add a PromptCache node.
- Resource: Rendering, Operation: Invoke.
- Set Prompt ID and Variables (JSON), e.g.
{"topic":"onboarding"}. - Use
renderedContentfrom the output in later steps.
License
MIT © Optiq Labs
