Skip to content
/ POST · WORKFLOW AUTOMATION

Self-Hosted n8n in Canada: Residency and Security Checklist

n8n Cloud stores data in Frankfurt, so Canadian residency means self-hosting. Our 9-step list: region, database, licence, telemetry, hardening, AI calls.

Author · HarryNovember 14, 20269 min read

Self-hosted n8n in Canada is the only way to keep n8n's own data in the country, because n8n Cloud stores hosted data in Frankfurt, Germany. SwiftBiz's 9-step checklist covers the region, database, backups, licence, telemetry, hardening and retention. It also covers the common trap: a workflow that calls a US model API still sends that prompt out of Canada.

SwiftBiz builds n8n workflows for Canadian businesses and can deploy n8n in your own cloud account. Every setting below comes from n8n's documentation, the cloud providers' region lists and Canadian privacy regulators, all read on November 14, 2026. Below: what stays in Canada and what does not, the nine steps with the exact settings, how to check your work, and when self-hosting is not worth it.

General information, not legal advice. Sources checked on November 14, 2026. SwiftBiz builds and tests automation; it does not give legal or compliance advice.

Where does n8n store your data?

On n8n Cloud, in the EU. n8n's pricing FAQ says: "For hosted plans, data is stored within the EU, on servers located in Frankfurt, Germany. For self-hosted plans, it's wherever you decide to host n8n." With no Canadian Cloud region, Canadian residency means self-hosting.

Self-hosting also moves the responsibility. n8n's privacy page says that for self-hosted instances n8n is "neither a controller nor a processor" of the data flowing through your workflows. Protecting it is your job.

What stays in Canada when you self-host n8n, and what doesn't?

Hosting n8n in Canada keeps n8n's own stores in Canada. It does not keep the data your workflows send to other services in Canada. SwiftBiz calls this the Three-Flow Residency Check: sort everything a self-hosted n8n instance touches into what it stores, what it reports to n8n, and what its workflows call, then check where each one lands.

FlowWhat it includesStays in Canada if…
StoresWorkflows, credentials, execution history (database); the .n8n folder with the encryption key; binary files; backupsThe server, database, file storage and backups all sit in a Canadian region
ReportsTelemetry: usage events, error messages, the domains your HTTP Request nodes call, a truncated server IPYou turn telemetry off (it is on by default)
CallsPrompts to a model API, records pushed to a CRM, emails, files sent to a SaaS toolEach receiving service processes in Canada, or the model runs on your own server

The third row surprises owners: if your Canadian n8n server sends a customer email to a US model endpoint, that email has left Canada. Our PIPEDA AI automation guide has a table of where Azure OpenAI, Amazon Bedrock and the OpenAI API actually process prompts; this post does not repeat it.

Ready to automate?

See how AI automation can transform this workflow for your team.

What do you need before you start?

  • A cloud account in your company's name, not a contractor's.
  • Someone who can run Docker and apply monthly security updates.
  • A list of every workflow you plan to run and the services each one connects to.
  • Your privacy policy and any contracts that mention data location.

Step 1: What actually has to stay in Canada?

Write down which rule you are meeting, because PIPEDA alone does not require Canadian residency. The Office of the Privacy Commissioner's cross-border guidelines say PIPEDA "does not prohibit organizations in Canada from transferring personal information to an organization in another jurisdiction for processing." You stay accountable and must use contracts or other means to provide "a comparable level of protection."

Stricter rules come from elsewhere. In Quebec, section 17 of the private-sector privacy act (CQLR c. P-39.1) requires a privacy impact assessment before communicating personal information outside Québec, plus a written agreement. A Toronto server is still outside Québec. Customer contracts, public-sector work and health data can add residency clauses. If none of these apply, a Canadian server is a preference, not an obligation.

Step 2: Which Canadian cloud region should you use?

Pick from the provider's own list. As of November 14, 2026:

Step 3: Where do the database, files and backups go?

Every store must land in your region, not only the server. n8n's database docs say self-hosted n8n uses SQLite by default "to save credentials, past executions, and workflows," and supports PostgreSQL (versions 16, 17 and 18 as of July 2026). For production, run PostgreSQL as a managed database in the same Canadian region.

Then check the stores people forget:

  1. The .n8n folder. n8n's backup docs say it holds the config file with the credential encryption key. Without that key, a restored database cannot decrypt your credentials.
  2. Binary files. S3 storage for binary data is a Business or Enterprise feature, and you set the bucket region yourself. The docs' example host is s3.us-east-1.amazonaws.com (Northern Virginia); create the bucket in a Canadian region and use that region's endpoint instead.
  3. Backups and snapshots. Keep database backups, volume snapshots and any copy of the .n8n folder in Canada too.

Step 4: Does your use fit n8n's licence?

The free self-hosted edition runs under n8n's Sustainable Use License, which says "you may use or modify the software only for your own internal business purposes or for non-commercial or personal use." Anything else needs "a separate commercial agreement" with n8n.

n8n's licence FAQ puts the test plainly: "If workflows are only created or modified by you or people in your organization, you can use n8n under the Community license for free." The FAQ also draws lines for agencies:

  • Allowed: a consultant installs and maintains n8n on your server and charges for the work, "provided that you are not also hosting for them."
  • Allowed: an agency runs workflows for clients on its own instance, as long as clients receive outputs and have no access to n8n.
  • Not allowed: hosting n8n as a service where clients build workflows, or letting outside users configure workflows through a custom UI, the API, MCP or an AI agent.

Near those lines? Email n8n's licensing team before launch.

Step 5: What does n8n report home, and how do you turn it off?

Telemetry is on by default. n8n's privacy page says it does not collect "the data that flows through your workflows" or your credentials. It does collect the registrable domain of each HTTP Request node address (it gives api.stripe.com/v1/charges → stripe.com as the example) and error messages that "can sometimes include text drawn from your workflow." To keep that metadata in Canada too, set the variables from n8n's isolate n8n page:

N8N_DIAGNOSTICS_ENABLED=false
N8N_VERSION_NOTIFICATIONS_ENABLED=false
N8N_TEMPLATES_ENABLED=false
EXTERNAL_FRONTEND_HOOKS_URLS=
N8N_DIAGNOSTICS_CONFIG_FRONTEND=
N8N_DIAGNOSTICS_CONFIG_BACKEND=

On a paid licence, usage counts and your licence identifier are still reported; n8n says this cannot be disabled.

Step 6: Which nodes send data out of Canada?

Export each workflow, list every node that sends data to an outside service (model providers, CRMs, email, HTTP Request nodes), and write down where that service processes data.

For the model call you have three choices:

  1. A Canadian-region endpoint, where the provider offers one for your model. Check the deployment type, not only the region name; our PIPEDA guide's vendor table shows how they differ.
  2. A local model on your own Canadian server, which our n8n AI workflows guide covers.
  3. A US endpoint with a contract and a notice, which PIPEDA does not prohibit. Often the practical choice for low-sensitivity data like appointment times.

The Privacy Commissioner's September 2026 guidance on assessing third-party service providers asks you to "establish a map of how personal information flows" and to "identify the jurisdictions" where providers handle it. Your node list is that map. (The OPC said it would accept comments until December 4, 2026 and may amend the guidance afterwards, so check the page for changes.)

Step 7: How do you harden a self-hosted n8n instance?

Work through n8n's security section, in this order:

  1. HTTPS only, with the editor behind a VPN or IP allowlist. Have every user turn on two-factor authentication; enforcing it instance-wide, like single sign-on, needs a Business or Enterprise plan.
  2. Disable the public API if no outside system uses it.
  3. Block dangerous nodes with NODES_EXCLUDE. n8n suggests starting with Execute Command and Read/Write Files from Disk, and notes that some nodes, like Execute Command, are blocked by default.
  4. Turn on SSRF protection (N8N_SSRF_PROTECTION_ENABLED=true, from n8n 2.12.0). It stops nodes like HTTP Request reaching private, loopback and link-local addresses, which covers cloud metadata endpoints. n8n says network firewalls stay your primary defence.
  5. Store N8N_ENCRYPTION_KEY in a secrets manager, not in a file in your repository, and back it up separately.
  6. Update monthly. Self-hosted n8n gets security fixes only when you install them.

Step 8: How long should n8n keep execution data?

Saved executions hold the personal data that passed through them. By default, n8n prunes executions older than 336 hours (14 days) or beyond 10,000 executions. Shorten it, and save only failures:

EXECUTIONS_DATA_PRUNE=true
EXECUTIONS_DATA_MAX_AGE=168
EXECUTIONS_DATA_SAVE_ON_SUCCESS=none
EXECUTIONS_DATA_SAVE_ON_ERROR=all

Execution data redaction, which hides payloads from workflow viewers, is Enterprise-only. On the free edition, short retention and tight user access do that job.

Step 9: What should you document?

The OPC's cross-border guidelines say you must "make it plain" when information may be processed in a foreign country, ideally at collection, so update your privacy policy. Keep a one-page record per instance: region, database, backup location, telemetry setting, licence basis and the node map from step 6.

How do you know it's working?

Run these checks after setup and each quarter:

  • n8n audit. n8n's security audit reports unused credentials, risky and community nodes, unprotected webhooks, missing security settings and an outdated version.
  • Egress logs. Firewall or VPC flow logs should show outbound traffic only to services in your node map. An unknown destination is a node you missed.
  • Region check. In the cloud console, confirm the server, database, bucket and backups all show the Canadian region.
  • Restore test. Restore a backup to a fresh instance. If credentials don't decrypt, your encryption key backup is missing.

When is self-hosting n8n not worth it?

Self-hosting n8n is not worth it when no contract, provincial rule or policy requires Canadian residency and nobody on your team will patch a server every month. PIPEDA does not prohibit processing in Frankfurt; you stay accountable through contracts and notice. Our n8n vs Make vs Zapier comparison covers the hosted options.

It is also not enough when the AI model is the sensitive part. Moving n8n to Canada while the prompt goes to a US endpoint changes where your logs live, not where your customer's data is processed. For health data, Quebec transfers or public-sector contracts, get a privacy lawyer to review the whole data flow, model included.

Decision rules:

  • A contract or policy requires Canadian residency: self-host in a Canadian region and choose a Canadian or local model endpoint.
  • No residency rule, sensitive data: self-host for control, keep the US model call under contract and disclose it.
  • No residency rule, low-sensitivity data, no one to patch: use n8n Cloud.

SwiftBiz can set this up as part of AI workflow automation. SwiftBiz's retainers start at $4,500 per month (AI Starter), and each extra workflow is +$2,500 per month. All prices are in Canadian dollars. If you are unsure which row you are in, the $3,500 AI Readiness Audit, credited toward your retainer, maps your workflows and data flows first.

Can n8n Cloud store data in Canada?
No. n8n's pricing FAQ, read on November 14, 2026, says hosted plans store data in the EU, on servers in Frankfurt, Germany, and self-hosted data lives wherever you host n8n. If a contract requires workflow data to stay in Canada, self-host n8n in a Canadian cloud region or on your own hardware.
Does PIPEDA require me to keep data in Canada?
No. The Privacy Commissioner's cross-border guidelines say PIPEDA does not prohibit transferring personal information to a processor in another country. You stay accountable, need contracts that give comparable protection, and must tell people their data may be processed abroad. Quebec adds a privacy impact assessment and written agreement before data leaves Québec, and contracts, public-sector work or sector rules can still require Canadian storage.
Is self-hosted n8n free for business use?
Yes, for internal use. n8n's licence FAQ says that if workflows are only created or modified by you or people in your organization, the Community edition is free. You cannot host n8n as a service where clients build workflows, or let outside users configure workflows. Some features need a paid licence: S3 binary storage needs Business or Enterprise, and execution data redaction needs Enterprise.
If n8n runs in Toronto, does my AI prompt stay in Canada?
Only if the model also runs in Canada. The n8n server stores workflows and execution logs, but a node that calls a model API sends the prompt to wherever that provider processes it. Use a Canadian-region deployment where your provider offers one for your model, run a local model on your own Canadian server, or accept US processing under a contract and say so in your privacy policy.
Can an agency host n8n for me?
It depends on who builds the workflows. n8n's licence FAQ lets an agency run workflows on its own instance when clients get outputs only, or install and maintain n8n on a client's server if it is not also hosting for that client. Hosting n8n where clients build workflows needs a commercial agreement. For residency, your own cloud account is the cleaner choice.

Want this running for your business?

Start with a free strategy call. We'll map your workflow, flag the highest-ROI automation, and tell you honestly whether we're the right fit.