@n8n-dev/n8n-nodes-openpolicy
v1.0.1
Published
OPA provides policy-based control for cloud native environments. The following endpoints (such as PUT /v1/policies) provide reference documentation for the OPA REST API
Maintainers
Readme
@n8n-dev/n8n-nodes-openpolicy
Stop writing openpolicy API integrations by hand.
Every time you connect n8n to openpolicy, you waste hours mapping endpoints, defining parameters, and debugging schemas. You copy-paste from docs, fix edge cases, and pray nothing breaks.
What if connecting n8n to openpolicy took 5 minutes, not half a day?
This node gives you 6+ resources out of the box: Policy API, Data API, Query API, Compile API, Health API, and 1 more: with full CRUD operations, typed parameters, and zero manual configuration.
What You Get
- Zero boilerplate: Resources, operations, and fields are pre-configured and ready to use
- Full CRUD: Create, read, update, and delete support where the API allows it
- Typed parameters: No more guessing field types
- Built-in auth: API key authentication, ready to go
- Declarative: Native n8n performance, no custom execute() overhead
Install
npm install @n8n-dev/n8n-nodes-openpolicyOr in n8n:
- Settings → Community Nodes → Install
- Search:
@n8n-dev/n8n-nodes-openpolicy - Click Install
Quick Start
- Install the node (above)
- Add credentials: openpolicy API → paste your API key
- Drag the openpolicy node into your workflow
- Pick a resource → pick an operation → done.
That's it. No configuration files. No code. It just works.
Resources
- Get List policies
- Delete a policy module
- Get a policy module
- Put Create or update a policy module
- Post Get a document with WEBHOOK
- Delete a document
- Get a document
- Patch Update a document
- Post Get a document with input
- Put Create or overwrite a document
- Post Execute a simple query
- Get Execute an ad hoc query simple
- Post Execute an ad hoc query complex
- Post Compile
- Get Health
- Get configurations
Why This Node?
Without this node:
- Hours of manual API integration
- Copy-pasting from openpolicy docs
- Debugging auth, pagination, error handling
- Maintaining your own client code
With this node:
- Install → configure → use. 5 minutes.
- Auto-generated from the official openpolicy OpenAPI spec
- Always up to date when the API changes
- Native n8n performance
Auto-Generated
This node was auto-generated from the official openpolicy OpenAPI specification using @n8n-dev/n8n-openapi-node-ultimate, then validated against the live API so you get accurate types and real parameters, not guesswork.
When the openpolicy API updates, this node updates too.
Support This Project
If this node saved you hours of work, consider supporting continued development, new APIs, better error handling, and faster updates.
License
MIT © kelvinzer0
