N8N Workflow Sanitiser Agent

Configuration for an AI agent for sanitising (redacting personal details) in N8N workflow exports

About This Project

N8N-Workflow-Sanitiser-Agent is a configuration for an AI agent that processes JSON exports from N8N and similar workflow automation tools. It identifies sensitive information and replaces it with realistic fake data or clear placeholders so that workflows can be shared publicly. The categories covered include API keys and tokens, OAuth credentials, email addresses, CDN-based URLs, IP addresses, webhook URLs, usernames and passwords, phone numbers, and internal system paths that could identify a system.

The agent's behaviour is defined in a system prompt file rather than in executable code. It recursively inspects every JSON value in a workflow, flags potentially sensitive content, and returns a structured response containing the complete sanitized workflow alongside a notes section that itemises every replacement. The output format is documented with an example schema, and the design aims to keep the original workflow structure and functionality intact after redaction.

This project may be useful to developers and automation engineers who want to share N8N workflows in forums, public repositories, or documentation without exposing credentials or infrastructure details. It may also suit teams that need an auditable record of what was removed before a workflow leaves an internal environment.

Project Details

Explore More Projects