
n8n workflows call models on schedules and webhooks, thousands of times. Pointing its AI nodes at Privatemode keeps that traffic encrypted before it leaves and encrypted in memory while it is processed.

n8n workflows pull data from your CRM, mailbox, ticketing system, databases, and document stores, then hand it to an AI node to classify, summarize, or extract. Customer records, contracts, and internal documents travel with it. With a conventional AI provider, all of that is processed in plaintext on the provider's servers, and it happens on every run, without anyone looking at what was sent.
Point n8n's AI nodes at the Privatemode proxy running next to it: one credential covers the AI Agent, the chains, and the embeddings behind your vector stores, so the switch is made once rather than per workflow. Every request is encrypted before it leaves and processed in a hardware-isolated environment whose memory stays encrypted, so by design neither the infrastructure provider nor Privatemode can read your data.
If you don't have a Privatemode API key yet, you can generate one for free here.
The proxy verifies the integrity of the Privatemode service using confidential computing-based remote attestation. The proxy also encrypts all data before sending and decrypts data it receives.
Follow the official n8n AI Agent documentation to set up an AI agent. Since Privatemode adheres to the OpenAI interface specification, you can use the standard OpenAI Chat Model node and configure its credentials to connect to Privatemode.
In addition to the AI Agent node, the OpenAI Chat Model can be used in several other powerful AI nodes, including:
For vector stores, use the Embeddings OpenAI sub-node with the same credential and the model qwen3-embedding-4b, so embeddings are computed through the proxy as well.
To ensure that all data is sent through the Privatemode proxy, set the following credentials for your OpenAI Chat Model node:
Set the parameters of the OpenAI Chat Model node to use the correct credentials and select the model you want to use.
You’ve successfully integrated Confidential AI into your workflow.
No structural changes are needed. You reconfigure the OpenAI Chat Model node credentials to point to the Privatemode proxy by changing the Base URL field. All AI nodes that use this model, including AI Agent, Basic LLM Chain, and Summarization Chain, are protected by confidential computing automatically.
Your agent remembers everything. Your model provider shouldn't see it.
Your gateway routes every team's prompts. Your model provider shouldn't read them.

Want to look for yourself?
