Redacting sensitive execution data in n8n

Teams that let many people build or view n8n workflows need execution logs that do not expose personal data, tokens or financial records. This page explains what redaction hides, what stays visible, and how to confirm it works before you rely on it for GDPR or SOC 2 evidence.

On this page

Redacting sensitive execution data in n8n: when your teams need it

Redaction limits what users see in n8n execution logs. It does not stop a workflow from processing personal data, tokens or card numbers, and it does not change what is stored underneath. Consider an instance where builders, support staff or auditors can open execution history and find customer records, bearer tokens or payment details passed between nodes. In that situation, redaction is one control among four: who can access workflows and executions, how long execution data is kept, how credentials are protected, and what the workflows themselves are allowed to do. Redaction works alongside those controls and cannot replace any of them.

Plan for the fact that the exact redaction options depend on the n8n version and the plan you run. Some execution-data controls are tied to specific editions, and the names, scopes and defaults can change between releases. Before you design anything, confirm the settings that apply to your version and edition in the n8n documentation for that release, and test them on a staging instance holding realistic but non-production data. Record which fields you expect to be hidden, which users you expect to be blocked from seeing them, and which roles have access to the underlying database, because a viewer with database or backup access can read data that the editor hides.

Decide early which users genuinely need to see full payloads during debugging and which only need to see that a run succeeded or failed. Support staff usually need the second view, and auditors usually need evidence that the control works, not the data itself. Ask your implementation partner or internal team to document the redaction scope for each role, the retention period for execution data, and the evidence you will keep for a privacy or SOC 2 review. Those records feed the controller's security and accountability duties under the GDPR and the change and access criteria an examiner would test, so treat them as deliverables rather than afterthoughts.

How redaction sits between execution data and the people who view it

The diagram starts at a trigger or webhook that launches a workflow on the n8n instance. As each node runs, its output is written to execution data in the database, which is a separate trust boundary that holds unredacted data unless you configure otherwise. When a user opens execution history in the editor or through the API, a redaction rule is the point where the displayed copy can be masked. Check that every viewing path, including the API, passes through that rule, and confirm in your own instance which records remain unredacted at rest.

Redaction applies on the way to viewers, while the database keeps the stored record.

Which redaction scope fits each team

This table compares per-workflow redaction, instance-wide redaction and relying on access controls and retention alone, across what each covers, who it suits, its main trade-off and what to confirm. Read it to match the scope to how many teams share your instance. Confirm availability by plan and version on the n8n pricing page and in your own release before deciding.

OptionWhat it coversWho it suitsMain trade-off and what to confirm
Per-workflow redactionHides sensitive fields in execution data for selected workflows only, so other flows keep full logs for debuggingA single team that owns a few sensitive flows, such as payment or patient record handlingEach new workflow must be configured, so fields can be missed; confirm the setting is available on your plan and version
Instance-wide redactionApplies one baseline rule set to every workflow on the instance, including workflows created laterA platform team that sets a common baseline for many teams sharing one n8n instanceBroad rules can hide data needed for troubleshooting; confirm how it is configured, whether it is plan-gated and whether it covers all execution views
Access controls and retention onlyLimits who can open executions through roles and projects, and deletes old execution data on a scheduleSmall teams with few editors, or as a complement to redaction rather than a replacementAnyone with access still sees raw personal data and tokens during the retention window; confirm your role model and retention settings in your version
Field-level masking inside nodesRemoves or replaces values in specific node outputs before they are storedTeams with stable, well-known payload structures that they can map field by fieldChanges to upstream APIs can shift field names and silently expose data; plan regular review of sample executions
Keeping sensitive data out of workflow outputsAvoids passing secrets and card or identity fields through nodes in the first placeTeams able to redesign flows so only references, not raw values, reach the execution logRequires workflow redesign and developer discipline; it reduces what must be redacted but does not replace redaction

What each role sees in execution logs

Workflow builders design and edit workflows, so they need enough visibility to debug a flow. They usually see the structure of a run: which nodes executed, in what order, how long each took, and whether each succeeded or failed. The main question is how much of the payload they see inside each node. Personal data, tokens and account numbers can pass through HTTP and database nodes, and a builder who can open any execution may see them in full unless redaction is configured for their role or project.

  • Usually visible: workflow and node names, execution timestamps, run status and the error message of a failed node.
  • Should be hidden: field values carrying personal data, API tokens, authorization headers and card or account numbers in input and output panels.
  • Test with a non-production account: log in as a builder who does not own the production project, run a workflow that handles sample personal data and confirm which input and output fields appear in the execution view.
  • Test error paths: force a failing node and check whether the error text repeats a secret or a record value.
  • Check edits: confirm that a builder who copies a node or pins data does not reveal values that redaction was supposed to hide.

Confirm the exact behavior in your own version of n8n and plan, because the controls that apply to each role depend on the edition and settings you run.

How redaction supports GDPR and SOC 2 evidence

Redaction in n8n is one measure that supports the access restriction and security of processing duties in the GDPR, but it does not make an instance compliant on its own. Article 32 of Regulation (EU) 2016/679 requires controllers and processors to apply security of processing appropriate to the risk, and the wider controller and processor obligations in Chapter IV (Articles 24 to 43) apply to any personal data that lands in workflow execution logs, including names, email addresses and identifiers copied from a webhook payload or an API response. Your assessment should cover the whole processing context: why each workflow exists, which data it handles, who can open execution history, how long logs are retained, where they are stored, and whether copies leave the instance through log streaming or backups. Redacting a field in one view while leaving it in the database, a backup or a streamed log leaves the risk largely in place. The GDPR requires no audit report or certificate, so the evidence you keep is your own record of decisions and settings.

For SOC 2, the place where log visibility is usually examined is common criteria CC6 (logical and physical access) and CC7 (system operations), with the confidentiality and privacy categories added when they are in scope. Auditors using the AICPA 2017 Trust Services Criteria look for evidence that access to sensitive data is granted on a need-to-know basis and reviewed, and that monitoring detects misuse. Points of focus under each criterion are characteristics that can help you design and evaluate controls, not separate requirements, so you do not need to address every one of them to show a working control. Practical evidence includes the redaction settings in force at a given date, the role and project assignments that determine who sees unredacted data, periodic access reviews, and change records for any setting that was altered. DeployOpen prepares these controls and evidence and tests them, but it does not issue audit reports. Confirm with your SOC 2 auditor which evidence they will accept before you design the set.

Setting up redaction and testing it before production use

This sequence takes redaction from an idea to a tested, documented control: it identifies which workflows touch sensitive data, sets the scope, configures and proves the behavior in staging, and records evidence that a reviewer can check later.

  1. Inventory workflows that handle sensitive data

    Someone who knows the business and the n8n instance lists every workflow that processes personal data, authentication tokens, or financial records. For each workflow, record its trigger, the nodes that receive or return sensitive fields, the credentials it uses, and who can open it in the editor. Include workflows built by people outside the platform team, because those are the ones most often missed. The step is done when the list has an owner and a data category for every entry and a second reviewer has checked it against the workflow list in the editor.

  2. Decide redaction scope per workflow or instance-wide

    The platform owner and the data protection lead decide whether redaction applies to the whole instance or to named workflows, and which data categories must never appear in execution logs for users who can view workflows. Record the decision with the reason for each category, including which fields are hidden and which stay visible so operators can still debug failures. Confirm with your compliance team whether masking execution output meets your internal rules for personal and financial data. The output is a short written scope decision that names each workflow or the instance-wide rule.

  3. Configure redaction for the installed version

    An administrator applies the redaction settings in the environment or the editor, using the exact setting names and feature names from the n8n documentation for the version you run. Setting names change between releases, and some redaction controls may depend on plan tier, so check the n8n documentation and your license before you configure anything. Record the version number, the settings applied, and the change ticket. The step is done when a fresh restart shows the settings in the instance configuration or admin view and the version matches the one in your record.

  4. Run test executions with dummy data in staging

    Build a staging instance that matches production settings as closely as possible, then run each in-scope workflow with dummy personal data, a fake token, and fictional card or account numbers. Use a test user who has only the view access that production users have. Compare the stored execution data for each run against the scope decision from the earlier step. The check passes when every sensitive field is hidden where the scope says it should be, and the fields you chose to keep visible are the only ones showing.

  5. Check editor, API and export paths

    Redaction in the execution list is not enough. Open the same executions through the editor's execution view, through the public API if it is enabled for those users, and through any log streaming, export, or downloaded file path your plan includes. Check error messages and node output pinned for testing, because these can carry the same values. Record each path, the result, and whether the path is covered by your configuration. The step is done when every path that can show execution data has a recorded result, and any gap has an owner and a fix before production.

  6. Record the test results as evidence

    Write up the test as a dated report: the scope decision, the configuration and version, the dummy data used, the screenshot or export for each path, and the pass or fail result. Store the report with the change record and the workflow inventory in your evidence repository. Auditors preparing for a SOC 2 examination or a GDPR accountability review typically ask for this kind of record, but DeployOpen does not issue audit reports, and your auditor decides what evidence is sufficient. The output is a signed-off test record that someone outside the build team has reviewed.

  7. Set a review date for new workflows

    Add a standing control to your change process: every new or changed workflow that touches the in-scope data categories is added to the inventory and tested in staging before it goes live. Set a recurring review of the inventory and the redaction settings, and re-run the test after each n8n upgrade, since release notes can change behavior. Choose the review interval with your compliance team. The step is complete when the review date is in the team calendar, the owner is named, and the procedure is linked from the change record template.

Where redaction fails and how to guard against each gap

Redaction in n8n is only as strong as the places sensitive data can still reach. The cards below cover the gaps that most often leave personal data, tokens or financial records visible after a workflow has run. Each one names the control to apply and the check to run before you rely on it.

Unredacted data in the database and backups

Redaction that only changes what users see in the editor does not remove data from the execution store. Full execution records may still sit in PostgreSQL, in replicas and in every backup taken before a change. Decide which executions store full data at all, and confirm with your own environment whether your backup retention matches the period you tell users their data is kept. Restore a backup into a test environment and search it for a known test value to confirm what it holds.

Fields hidden in nested JSON and binary data

Sensitive values often sit deeper than the top-level fields a reviewer expects, such as nested objects returned by an HTTP Request node, arrays of records, or files passed between nodes. A redaction rule that covers only the obvious key names will miss them. Build a test workflow that returns a payment record, a national identifier and an access token in nested and binary form, run it, and check every stored and displayed view of the execution.

Data leaving through log streaming and exports

Log streaming and manual execution exports copy execution content to systems outside the n8n editor, where the in-app redaction setting may not follow it. Each destination becomes a separate store with its own access list and retention. Before enabling either path, list every destination, confirm whether it receives full payloads or only metadata, and check that its own access controls match the permissions on the source workflow. Log streaming is included only in the Business and Enterprise plans, according to n8n's pricing page.

n8n pricing

Editors who can print data through workflow changes

A user with edit rights can add a Code node or a Set node that copies a protected field into a new output, and the change will then show that data in future executions. Redaction rules that protect the existing workflow do not stop this path. Limit who can edit workflows that process sensitive data, review changes to those workflows, and test after each change that the protected fields still do not appear in execution output visible to the reviewer.

Credentials exposed through Code and HTTP nodes

Code nodes and HTTP Request nodes can read or send credential values, headers and tokens. A script can write an API key into an execution record, and an HTTP call can echo a token back in a response body that is then stored. Restrict which users can use these nodes on sensitive workflows, avoid placing secrets in node parameters, and check that response bodies and headers are not saved in full. Confirm the exact behavior for your n8n version before relying on it.

Retention periods longer than the need

Executions kept for longer than the business or legal purpose they serve increase the amount of personal data exposed in a breach and the amount you must answer for on an access request. Set the execution retention period for each class of workflow, document why it is that length, and check that deletion runs as expected. Your legal basis and retention schedule come from your own privacy review, not from n8n defaults, so confirm the default values in your installed version and record the figure you choose.

What redaction does not remove from n8n

Redaction changes what users see in the n8n interface, and nothing more. When a workflow's execution data is masked for a user who can open the workflow, the value is hidden in the editor and execution views. The stored execution record, the data passed between nodes, and anything a node already sent to an external system stay as they were. Before you rely on redaction for personal data, tokens or financial records, decide which of these copies must be protected and by what means. Ask your n8n administrator to confirm, in your own version and configuration, whether masked values are written to the database in clear form, and how long execution records are kept. Redaction also does not limit an administrator or anyone with direct database access, who can read the underlying rows. Treat database access as a privileged path that needs its own controls.

Several GDPR obligations sit outside n8n settings entirely. A lawful basis for processing, a retention schedule, a process for handling data subject requests such as access and erasure, and transfer safeguards under Chapter V (Articles 44 to 50) are decisions your organization makes and documents. n8n can hold the data and can hide parts of it, but it cannot establish why the data is processed or where it may legally travel. If a workflow sends personal data to a service outside the EEA, the transfer safeguards belong to the contract and assessment for that service, not to the workflow canvas. Assign owners for each of these items before you describe redaction as a privacy control in a data protection impact assessment or a vendor questionnaire.

Plan for the copies redaction leaves behind. Map every place the data can persist: execution history, logs and log streaming if enabled, backups, queue messages passing through Redis, and the receiving systems of each HTTP or application node. For each copy, record who can read it and when it is deleted. This map is also the evidence an assessor will ask for when they test how personal data is handled, since a control that hides a field in the editor will not satisfy a question about where that field is stored. Confirm the retention and deletion behavior for execution data with your own test instance before you write it into a policy.

What to confirm in your environment before you rely on redaction

Redaction only protects what it actually covers in your version, on your plan and across every path execution data takes out of n8n. The checks below are questions to answer with n8n or with your own test, before compliance or security teams treat redacted logs as controlled data.

Available redaction options for your version and plan

Confirm which redaction controls exist in the n8n release you run and which of them your edition or plan includes. Pricing differs by plan, and the pricing page lists SSO, Git environments and log streaming as Business and Enterprise features, so do not assume an advanced control is present in a lower tier. Ask n8n for the exact setting names, their defaults and whether they apply per workflow, per instance or both. Record the release you tested against, since the controls may change between releases.

n8n pricing

Where redacted data still lives

Redacting a view is not the same as deleting the data. Find out whether the unredacted payload is still written to the execution database, to binary storage, to memory during a run or to a queue entry in Redis. Then check how long each copy is retained and who with database or server access can read it. Ask n8n for the storage path of each execution field, and test by running a workflow with a known test token and searching every store afterward.

Execution store to check
PostgreSQL

Log streaming, exports and API responses

Redaction set in the editor may not apply to every output. Test whether log streaming destinations, execution exports, downloads and public API responses show the same masked values as the execution view. A user who cannot open a workflow in the editor might still reach its data through an API key or an exported file. Write a test matrix with one row per output channel and one column per sensitive field type, then record what each channel shows.

Queue mode workers and the shared encryption key

In queue mode, the main instance passes executions through Redis to workers that read and write workflow data in PostgreSQL, and every worker needs the main instance's encryption key to reach stored credentials. Confirm that redaction settings are applied by the workers as well as the main instance, that worker logs do not print raw payloads, and that a worker which is compromised cannot read data the main instance hides. Treat anyone holding the shared key as able to read credential values, regardless of what the editor displays.

Queue mode docs

Effect of upgrades on redaction settings

Before each upgrade, confirm whether redaction settings survive the move, whether defaults change and whether any setting is renamed or removed. n8n ships minor releases roughly weekly, so a setting you tested on one release may behave differently after several upgrades. Keep a dated record of your settings, rerun the test matrix in a staging instance built from the same backup, and only then promote the new release to production.

Typical minor release cadence
Weekly
n8n release notes

Whether your auditor accepts the evidence

Redaction helps with the GDPR security and minimization expectations, and it can support SOC 2 controls over confidentiality and access, but neither framework certifies a tool. Ask your auditor which control objectives your redaction design is meant to support, and what evidence they will sample, such as configuration exports, test results and access reviews. The GDPR requires no certificate, and a SOC 2 report is issued by an independent CPA firm, not by n8n or DeployOpen.

AICPA SOC 2 overview

Questions buyers ask about redacting n8n execution data

What does redacting n8n execution data cost, and what drives the effort?

Redaction cost is driven by scope, not by a fixed product price, because the redaction controls themselves are part of the n8n instance you already run. The main effort drivers are the number of workflows that handle personal data, tokens or financial records, how many nodes and fields each one passes through, and how many user groups need different visibility. Testing effort also adds up, since each redacted path must be run and checked against a sample of real-shaped data. A quote should itemize the workflow inventory, the classification of fields, the configuration work for each plan tier, the test cases and the handover documentation. Ask whether the price is one-time or includes ongoing review of new workflows.

Do we need an n8n plan upgrade to redact execution data?

Check this before you commit to a design, because the answer depends on which redaction controls your edition exposes. Plan tiers in n8n change which governance features are available, and the pricing page states that SSO and LDAP, environments with Git, and log streaming are included only in the Business and Enterprise plans. Confirm with n8n, against the current pricing page, whether the per-workflow and instance-wide redaction settings you need are available on your edition. If they are not, the quote should show the alternative, such as limiting who can view executions or moving sensitive logic to a separate instance, and what that alternative costs to run.

How long does a redaction rollout take, and what sets the timeline?

The timeline depends on how many workflows need review, how well the team understands the data they carry, and how many approvals the change needs. A small instance with a short list of sensitive workflows moves faster than one where every department builds its own automations. Schedule time for a field inventory, a review of which users can see which executions, a staging test, and a controlled rollout to production. Changes to execution visibility should be verified with real users in a non-production instance before they reach production. Ask the vendor for milestones, dependencies on your identity team, and the point at which the timeline assumes your team has completed inputs.

What does our team need to provide for redaction work?

The work needs named people who can make decisions about data, not only engineers who can change settings. Expect to provide a list of workflows and owners, a data classification for the fields those workflows handle, the roles and projects that should see each execution, and an approval path for changes. Your identity team should confirm how users and groups map into n8n roles if single sign-on is in use. Your security or privacy lead should review which fields count as personal data under your own policy. Ask the provider to state exactly which of these inputs it needs before work starts.

Can our own team redact n8n execution data without outside help?

Yes, a capable internal team can usually do the configuration, provided it has time, access to the n8n administrator settings and someone who can test the results. The harder part is consistency: deciding which fields to hide across dozens of workflows, proving the hidden data is actually absent from stored executions, and keeping the setup correct as new workflows are added. Outside help tends to pay off when the team lacks n8n administration experience, when reviewers need an independent record of the testing, or when the instance spans several teams with different rules. Whether to bring in help is a decision about capacity and evidence, and the answer should come from your own inventory.

Does redacting execution data alone satisfy GDPR or SOC 2?

No. Redaction is one control that supports compliance, but neither law nor attestation is satisfied by a single setting. The GDPR, in Regulation (EU) 2016/679, sets controller obligations including security of processing under Article 32, and it requires no audit, attestation or certificate, so compliance rests on the controls you can demonstrate. SOC 2 reports are built from the AICPA's 2017 Trust Services Criteria, and an independent CPA firm issues any report, while DeployOpen does not issue audit reports or certifications. Redaction can support criteria about restricting access and protecting confidential data, but you also need access reviews, logging, retention rules and documented procedures. Treat redaction as evidence for specific controls rather than a finished compliance position.

What happens to existing execution history when we add redaction?

Redaction rules generally apply to how new executions are recorded or shown, so historical executions already stored in the database may still contain the sensitive values. Before you change anything, confirm with n8n's documentation exactly which records the setting affects and whether past executions can be cleaned up. Plan for a retention decision on existing data, which may include deleting or exporting old executions under a documented procedure, and make sure that a backup exists before any bulk change. Any cleanup must be tested in staging, because deleting executions can break troubleshooting and audit trails that your own policy may require you to keep.

How DeployOpen scopes and delivers n8n redaction work

DeployOpen approaches redaction of execution data in n8n as a scoped change to a running instance, not a one-off configuration tweak. We start from the workflows, credentials and users that handle personal data, tokens and financial records, then agree in writing what gets hidden, from whom, and what must stay visible for operators and auditors.

How we scope

  • Inventory which workflows touch personal data, tokens and financial records, and which users can open them today.
  • Agree in writing which execution data is redacted per workflow and which instance-wide settings apply.
  • Record what stays visible to operators and why, so reviewers can follow the decision later.

How we build

  • Configure redaction on the chosen workflows and instance settings in your own n8n environment, not a copy we host.
  • Test with sample data that a restricted user sees masked values while an authorized operator sees what they need.
  • Check that redaction covers queue mode workers and any log streaming destinations your instance uses.

How we hand over

  • Deliver a written configuration record, test results and the list of workflows and users covered by redaction.
  • Document the controls and evidence that support your GDPR Article 32 and SOC 2 review, without claiming any audit outcome.
  • Walk your administrators through the settings, the change procedure and the points to confirm before each upgrade.

How we support

  • Support is available as a retainer for retesting redaction after n8n upgrades and when new workflows are added.
  • Agree the retainer scope, response expectations and review cadence in the written quote.
  • Ask any implementation partner to confirm which n8n plan includes the features your redaction design depends on.

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.