Hosting a private n8n workflow templates library

Teams that want approved workflows instead of the public template gallery can host an internal catalog and point their self-hosted n8n instance at it. This page covers the options, the setup sequence and the checks to run before rollout.

On this page

Why teams host a private n8n templates library

A self-hosted n8n instance comes with a public template gallery, and that gallery is pulled from n8n's servers by default. If your instance is used by people who should only run vetted workflows, that open gallery is a control gap: anyone with an editor login can browse, import and run community-authored templates that no one in your organization has reviewed. A private templates library replaces that source with an internal catalog of approved workflows that your teams can import from. Regulated organizations and multi-team platforms usually need one because approval, data handling and change control apply to workflows as well as to code. This page covers three things: how to disable the public templates, which endpoints and response formats the N8N_TEMPLATES_HOST setting expects, and how to curate approved workflows so that teams only see what has been reviewed. Confirm the current variable names, endpoint paths and response schema against n8n's own documentation for your version before you build anything, because these details change between releases.

Running an internal catalog is internal business use of n8n. Under the Sustainable Use License, using and modifying n8n for your own internal business purposes is permitted, and hosting a catalog that only your staff can reach falls within that. Sharing templates with partners, customers or the public is a different question, and the license terms on distribution are narrower than internal use. Before you publish templates outside the organization, confirm the position with your legal or licensing contact and read the n8n LICENSE.md directly. Also check whether any template you plan to share includes files marked with .ee in their name or directory, since those are covered by a separate Enterprise License and are not covered by the Sustainable Use License.

Curation is where most of the effort goes. Decide who can propose a template, who reviews it against your data handling and integration rules, and who can retire one. Each approved workflow should have a named owner, a version, and a record of which credentials and external services it expects, so reviewers can check it without running it. Keep the catalog in version control if your change process already relies on Git, because it makes review history and rollback straightforward. Plan the hosting side too: the catalog service must be reachable from every instance that uses it, served over TLS, and monitored, or teams will fall back to whatever they can find. Ask your platform team to confirm how the catalog will be authenticated and who can read it, since a catalog of internal workflows can reveal how your systems connect.

Options for template sourcing and when each fits

This table compares four ways to source workflow templates for a private n8n library: keep the public catalog, turn templates off, host your own catalog endpoint, or distribute approved JSON through Git-based environments. Read each row against your plan tier, who will own the catalog, and what you must verify after each n8n upgrade. The main takeaway is that ownership of maintenance usually decides the option more than the templates do.

OptionWhen it fitsMaintenance and upgrade needsWhat to confirm in n8n documentation
Keep public templatesTeams with no restrictions on external template sources and no need to curate approved workflowsn8n maintains the catalog. Your team monitors outbound access from the instance and reviews what users import.Confirm the default template host, what it returns for your version, and whether your network policy allows those outbound calls.
Disable templates and share internallyRegulated teams that want no external catalog and will share approved workflows through exports or internal channelsYour team owns the sharing rules, review steps and export process. Little runs on the n8n side after setup.Confirm the current setting that turns the template feature off and whether it persists across upgrades.
Self-hosted catalog behind N8N_TEMPLATES_HOSTOrganizations that want templates to appear inside n8n but only from an internal, approved sourceYour platform team builds and runs the catalog service and must keep its response format matched to each n8n release.Confirm the endpoints and response formats N8N_TEMPLATES_HOST expects in your version, and retest the catalog after every upgrade.
Approved JSON through Git-based environmentsTeams already promoting workflows from development to production with review gatesYour platform team and workflow owners maintain the repository, review rules and import steps. Git-backed environments depend on plan tier.Confirm that environments with Git are included in your plan. n8n's pricing page lists them for Business and Enterprise plans only.

How a template request flows from the editor to the internal catalog

The flow starts when a user opens the template browser inside the n8n editor. The instance sends that request to the host named in N8N_TEMPLATES_HOST, which in this design is the internal catalog service rather than the public host. The catalog returns approved workflow metadata, and the user imports the template they choose. The dashed boundary separates the company network from any public host, so confirm that no request leaves the network unless you intend it to.

Request path from the editor to the internal catalog, with the curation pipeline feeding it.

Setting up the internal catalog and pointing n8n at it

This sequence moves n8n from its public template library to an internal catalog that serves only workflows your team has approved. It ends with a tested non-production instance that shows approved templates, imports them cleanly and falls back safely when the catalog is unavailable.

  1. Confirm the target version and template behavior

    The platform owner picks the n8n version that will run in production and reads its release notes and configuration documentation for template behavior and the N8N_TEMPLATES_HOST setting. Because n8n ships minor releases frequently, pin the version and record the template settings it documents, then recheck them at every upgrade. Start with the n8n release notes and confirm the details with your own test instance. Done when a signed record names the version, the template settings and the person who approved them.

  2. Choose where the catalog runs

    The platform team decides which server, container or service will host the catalog, placing it in the same network zone as the n8n main instance and the editor users. Plan the internal DNS name, TLS certificate, access controls and logging for that host, and confirm that the catalog does not need outbound internet access to serve its content. Done when the chosen hostname resolves from the n8n host and a test request from that host succeeds over the planned protocol.

  3. Build the catalog service to documented formats

    A developer builds the catalog endpoints to the request paths, response fields and status codes that the n8n documentation for your pinned version describes for N8N_TEMPLATES_HOST. Capture sample responses from a test instance, then validate your service's output against that structure with automated tests. Confirm the search and detail responses work with empty results and with a single approved entry. Done when a test client receives responses that match the documented formats for list, search and detail requests.

  4. Disable or redirect public template access

    The platform engineer applies the setting combination that the documentation for the pinned version describes to disable public template access and point the template host at the internal catalog. Set the variables in the deployment files for your container platform or service manager, restart the instance and confirm the change took effect. Done when the template browser in the editor only calls the internal host, which you can verify in the reverse proxy logs or a network trace that shows no requests to the public template service.

  5. Load and review the first approved workflows

    A workflow owner exports each candidate workflow from a reviewed source and removes credential values, hard-coded secrets, personal data and internal hostnames that should not be shared. A reviewer checks the nodes for risky operations, such as unrestricted HTTP calls or code execution, and assigns each entry an owner, a version and a review date. Done when every entry in the catalog has a named owner and reviewer sign-off, and a search of the exported JSON finds no credential values.

  6. Test in a non-production instance

    The team deploys the same n8n version, environment variables and catalog build to a non-production instance and runs the template browser as a standard user. Confirm that the editor lists only approved templates, that each one imports cleanly after credentials are mapped to test credentials and that the editor shows a clear message when the catalog is unreachable. Log any failed import with its cause. Done when the test plan results are recorded and all failures have a fix or an accepted owner.

  7. Record the settings for future upgrades

    The platform team writes a runbook entry that lists the pinned version, the template variables, the catalog endpoints, the test cases and the owner of each approved workflow. The runbook also names who rechecks the template behavior in the release notes before any upgrade. Done when the runbook is stored with the deployment configuration and the test cases can be rerun against a new version in a non-production instance.

Curating approved workflows for teams

A private catalog is only as useful as the review behind it, so the first decision is who owns each template. Every entry needs a named owner who answers for its behavior, keeps it current and decides when it is retired. Before anything is published, the owner and a second reviewer should run the same checklist: which credential types the workflow expects and whether it names any credential by value, which outbound hosts its HTTP Request and integration nodes call, what personal or regulated data passes through it and where that data is stored, and which nodes are used. Nodes that execute code or reach internal networks deserve a stricter look than a plain SaaS connector. Record the answers in the catalog entry so a reviewer in six months can see why the template was approved. Confirm your own policy thresholds with your security and compliance teams rather than copying them from another organization.

Each entry should also carry a version and a status such as approved, deprecated or retired, so teams can see which templates still meet current rules. Retirement matters as much as approval: when a template uses an outdated node or an endpoint that is no longer allowed, it should be marked and hidden from the catalog without deleting the history. Before publication, strip hard-coded API keys, tokens, email addresses, customer identifiers and sample data from the JSON. Credentials should be referenced by name only, and sample inputs should be synthetic. Scan exported files for these values as part of the review rather than trusting the author.

The catalog's approval rules should match the controls n8n uses for editing. Templates are only a starting point, so the people allowed to import and edit them should be the same people your project roles and permissions allow to change workflows, and approved templates should not bypass review on the way into a shared project. Repeat the whole review after every n8n upgrade, because template formats and node parameters can change between releases. Check the release notes for the version you are moving to and re-validate a sample of approved entries before the catalog is reopened to teams. Confirm the exact format changes with n8n's documentation for your target version.

Security and operational risks to plan for

An internal templates catalog changes who can put workflow logic in front of your team and where that logic comes from. The risks below share one root: a workflow is code that runs with your credentials, so each catalog decision needs a named owner and a check before a template reaches users.

Templates carrying credentials or sensitive data

Exported workflows can embed hardcoded tokens, webhook URLs, sample customer records in pinned data, or internal hostnames. Before a template is approved, scan the JSON for secrets and pinned data, and require that credentials are referenced by name rather than value. Keep credentials in n8n's credential store, not in the template file. Strip pinned data and secrets before publishing. Review the output against the n8n security hardening topic for secrets handling depth.

Catalog host as a supply-chain entry point

Any team that imports from the catalog trusts whatever the host serves. If the host is compromised or its content is changed without review, every instance that pulls from it inherits the change. Restrict write access to the catalog host, keep it on an internal network segment, and record a content hash for each approved file so importers can detect unexpected changes. Confirm with your platform team how the catalog is signed or pinned, because n8n does not ship this control for private catalogs.

Outbound calls to unapproved services

A template can call any URL its HTTP Request nodes, community nodes or Code node modules reach. An approved workflow may still send data to an external endpoint the reviewer did not expect. During review, list every external host each workflow contacts and compare it with your approved destinations. Enforce the same list at the network layer with egress rules, so an approved template cannot reach a new destination without a fresh review.

Access control over who can publish

Publishing rights decide what reaches every team. Separate the roles that draft templates, the reviewers who approve them and the administrators who publish to the catalog, and never let one person hold all three. Map these roles to your identity provider groups so access follows joiners and leavers. Confirm which role model your n8n edition supports, since SSO and role-based controls depend on the plan.

Auditing what was imported

Without a record, nobody can answer which teams imported a template, which version they ran, or who approved it. Keep an approval log with the template name, file hash, reviewer, date and the destinations it contacts. Log every import on each instance and retain those records for the period your policies require. Ask your compliance team which retention period applies before you configure log storage.

Keeping the catalog service patched

The catalog host is a web service with its own operating system, runtime and dependencies, and it needs the same patch cadence as your other internal services. Plan for updates to the host alongside n8n upgrades, since a template format change can break imports after a release. Test each catalog change against a staging instance before it reaches production users. Track which n8n release each approved template was validated against.

What changes for each audience

Platform engineers own the catalog host, the n8n configuration that points instances at it, and the change process for the catalog's infrastructure. Their work determines whether the library is reachable, whether public templates are turned off, and whether the catalog still works after each n8n upgrade.

  • Host the catalog endpoints: Stand up the internal service that n8n reads through N8N_TEMPLATES_HOST, and confirm the response format your installed n8n version expects before publishing anything.
  • Set instance configuration: Apply N8N_TEMPLATES_HOST consistently to every main and worker process, and confirm in your version how public templates are disabled.
  • Limit network reach: Allow only the n8n instances that need the catalog to reach the host, and restrict write access to the catalog store to the publishing pipeline.
  • Retest after upgrades: Recheck the catalog endpoints after each n8n upgrade, using the n8n release notes to see what changed.
  • Keep approval records separate: Platform engineers should not edit approval status, reviewer notes or the list of approved workflows without a documented security review.

Before rollout to any team, confirm on a test instance that the internal catalog loads and that public templates no longer appear.

Limits to confirm in your environment

These items need settling before a private catalog becomes the place teams look for approved workflows. Each one depends on the n8n version, edition and license you run, so confirm them in your own environment before the design is final.

Templates host version support

Confirm which n8n versions read the N8N_TEMPLATES_HOST setting and which response formats each release expects from your catalog endpoint. Ask for the exact format the release you run uses, and test the catalog against that version before any rollout. Check the release notes for changes to template behavior, since n8n ships minor releases roughly weekly and each one can alter what the editor requests. Record the version and format pair in your change log so a later upgrade starts from a known contract.

n8n release notes

Full disablement of public templates

Confirm whether public template access can be switched off completely in your edition, or whether only the library view is hidden while other editor features still reach outside your network. Test with outbound traffic blocked, then watch browser requests and server logs during a clean login. Also confirm how the editor behaves when the catalog host is unreachable, since a failing catalog should not stop teams from editing workflows. Write down the setting names and the tested result so a reviewer can reproduce the check.

Catalog behavior during upgrades

Plan how your internal catalog survives each upgrade. n8n uses semantic versioning and ships minor releases roughly weekly, so a catalog that worked on one version may need a format change on the next. Pin the n8n version in your deployment, and stage every upgrade in a copy of production before the production move. Run a template listing and import check at each stage. Assign an owner for catalog responses so a broken format is caught by a test rather than by a team that cannot find an approved workflow.

Edition features for controlled promotion

Controlled promotion usually relies on features outside the Community edition. According to n8n's pricing page, SSO and LDAP, environments with Git, and log streaming are included only in the Business and Enterprise plans. Confirm which edition your organization will license before designing approval steps around these controls. If each approved template needs a named reviewer, confirm that your plan provides the access controls to enforce it, and get the answer in writing from n8n.

n8n pricing

License terms for templates you did not write

The Sustainable Use License governs the n8n software itself and allows use only for your own internal business purposes or for non-commercial or personal use. Templates from a public library are workflows written by other people, so their terms are separate and may be unclear or missing. Before copying a template into your catalog, confirm its author, the terms that apply, and whether your legal team accepts internal redistribution. Record that decision alongside the template so each approved workflow carries its provenance.

n8n license text

Community edition behavior

Confirm whether a Community edition instance behaves the same way as a licensed instance for every templates setting in your design. Edition differences affect features such as SSO, Git environments and log streaming, so a catalog test on Community may not reflect the controls your licensed environment will use. If you pilot on Community, document which behaviors you verified there and which still need testing on the licensed edition. Repeat the full check after any change of plan.

Questions teams ask before building a private templates library

How much work does a private templates catalog take to build and keep current?

The initial build is usually modest compared with the ongoing review work, and the effort is driven by four factors: how many workflows the catalog will hold, how rigorously each one is reviewed, how closely the catalog is tied to change control, and how often your team upgrades n8n. Each template must be exported, checked for embedded credentials and hardcoded hosts, tested against the n8n version you run, and documented for the teams who will reuse it. A small set of approved workflows with a light review path costs far less to maintain than a large library with formal sign-off. Ask any partner to size the work from a written list of templates, review steps and upgrade cadence rather than from a headline number.

Can our own team build a private templates library without outside help?

Yes, if the team has someone comfortable with n8n administration, the workflow JSON format and basic web hosting, and if it can dedicate time to review. The work involves disabling the public templates feature through configuration, serving a catalog that matches the response formats n8n expects from the templates host, and writing a process for approving and retiring workflows. Engineers will also need to check each template for credentials, personal data and outbound calls to services that are not approved. Teams without these skills, or without time for recurring reviews after each upgrade, usually find an outside partner useful for the first build and the handover.

How long does the first rollout of a private templates library take?

The duration depends on scope: the number of workflows to curate, how many integrations and credentials each one touches, whether the catalog needs an approval workflow, and how many environments must be tested before release. No general timeline applies, so ask for a schedule that lists each phase, the reviews it depends on and the dates when your owners must be available. A fixed-scope engagement sets these dates in writing before work starts. Your own schedule will also depend on how quickly your change board can approve the catalog and on any upgrade planned during the same period.

What does our organization need to provide for the work?

Three things make the work go smoothly. First, named owners: one person who decides which workflows are approved, one who administers the n8n instance, and one who signs off on security review. Second, a test instance that runs the same n8n version as production, with non-production credentials, so templates can be imported and exercised safely. Third, access to the exact n8n version in use and to the change records that govern releases. Without these, the catalog risks being built against the wrong version or approved by no one with authority over the workflows.

In a fixed-scope engagement, who pays for what?

In a fixed-scope engagement, the written scope defines the deliverables, such as the disabled templates configuration, the catalog service, the review checklist, the approved workflow set and the handover documentation. Your organization typically pays for the scoped build and for any licensed software it chooses to run, while your internal staff time for reviews and approvals is an internal cost that does not appear on a partner's quote. Recurring costs include hosting the catalog, periodic review of workflows and retesting after upgrades, which can be handled by your team or covered by a retainer. Ask for the quote to separate one-time work from recurring work and to state which party owns each item.

What changes when n8n releases a new minor version?

n8n uses semantic versioning and ships minor releases roughly weekly, so a catalog can drift from the running version quickly. After each minor upgrade, check that the response formats the catalog serves still match what the n8n instance expects, retest a sample of approved workflows, and confirm that node names and parameters used in templates still exist. Minor releases are usually less disruptive than major ones, but a deliberate upgrade cadence with a test pass is the safer pattern. Decide in advance who runs this check, how often it happens and whether a failed template is pulled from the catalog until it is fixed.

Does a private templates library affect our licensing or compliance position?

Hosting your own catalog does not change the terms of the Sustainable Use License, which permits use for your own internal business purposes. Your legal team should still confirm that the workflows you curate are allowed under those terms and that any file marked with .ee is used only under a valid n8n Enterprise License. Compliance reviewers will look for a documented approval process, evidence that templates were tested before release and a record of who can publish or retire them. Confirm these points with your legal and compliance advisers, since this page does not give legal advice.

How DeployOpen scopes and delivers a private templates library

DeployOpen approaches a private n8n templates library as a scoped piece of work inside your own n8n deployment. We agree what the catalog contains, how it is served, and who approves each workflow before anything is built, then deliver it with documentation your team can maintain.

How we scope

  • Confirm which n8n edition and version your instance runs before choosing a templates approach.
  • List the approved workflows, their owners and the teams allowed to browse each set.
  • Agree in writing whether the catalog is hosted internally or served from a controlled endpoint.
  • Record which public template features will be disabled and how users will be told.

How we build

  • Configure the instance to point template requests at your internal host and disable public templates.
  • Build the catalog endpoints and response formats that the instance expects, then test them against a staging copy.
  • Review each workflow for credentials, hard-coded hosts and data exposure before it enters the catalog.
  • Check that the template service works with your SSO and access model before go-live.

How we hand over

  • Deliver a written runbook covering catalog structure, configuration keys and how to add a workflow.
  • Document the approval steps and the owner responsible for each curated template.
  • Walk your platform and automation teams through the catalog, updates and rollback steps.
  • Provide a checklist for re-testing the catalog after each n8n upgrade.

How we support

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and catalog maintenance are available as a retainer.
  • Ask any partner to confirm how template format changes will be tracked across n8n releases.
  • Agree in advance who reviews new workflow submissions and how quickly they are handled.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.