promptcache

Read-only PromptCache community node for n8n

Package Information

Released: 4 mo ago
Downloads: 20 weekly / 623 monthly
Latest Version: 0.2.14-beta

Documentation

@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:read scope

Install

Self-hosted n8n

  1. Open Settings → Community nodes.
  2. Click Install.
  3. Enter @optiqlabs/n8n-nodes-promptcache
  4. 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

  1. In n8n, add a PromptCache API credential.
  2. Paste your pk_… API key.
  3. Set API Base URL to your PromptCache API origin (no /api suffix), e.g. https://api.promptcache.app.
  4. Click Test, then save.

Example workflow

  1. Add a PromptCache node.
  2. Resource: Rendering, Operation: Invoke.
  3. Set Prompt ID and Variables (JSON), e.g. {"topic":"onboarding"}.
  4. Use renderedContent from the output in later steps.

License

MIT © Optiq Labs

Discussion