{"product_id":"secure-ai-analysis-mask-pii-in-google-sheets-with-n8n-workflows","title":"Secure AI Analysis: Mask PII in Google Sheets with n8n Workflows","description":"\u003cp\u003eProtect sensitive personal information while leveraging AI analysis with this comprehensive n8n workflow that automatically detects, masks, and securely handles PII data in your text processing pipeline. Perfect for compliance teams, HR operations, support teams, and legal departments who need AI insights without compromising data privacy.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cp\u003eThis intelligent automation receives text through a webhook endpoint and systematically identifies personally identifiable information using advanced regex patterns and context-based matching. The workflow detects emails, phone numbers, addresses, IDs, names, and other sensitive values, then replaces them with reversible tokens before sending sanitized content to GPT-5.5 for analysis. All token metadata and audit information are securely stored in Google Sheets with dedicated PII Vault and Audit Log tabs. After AI processing, original values are restored from the in-execution vault, results are logged, and a complete JSON response is returned.\u003c\/p\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cstrong\u003eSupport ticket analysis:\u003c\/strong\u003e Analyze customer support requests while protecting personal details\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eHR document processing:\u003c\/strong\u003e Extract insights from employee forms and applications safely\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eLegal document review:\u003c\/strong\u003e Process contracts and legal submissions with PII protection\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eCompliance auditing:\u003c\/strong\u003e Maintain detailed audit trails for data processing activities\u003c\/li\u003e\n\u003cli\u003e\n\u003cstrong\u003eForm submission analysis:\u003c\/strong\u003e Analyze user-submitted content while maintaining privacy standards\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cp\u003eBuilt using n8n's webhook, code, Google Sheets, OpenAI, and respond to webhook nodes. Requires OpenAI access to GPT-5.5, Google Sheets credentials, and webhook functionality. The workflow can be customized to add country-specific PII patterns, integrate encrypted database storage instead of Google Sheets, implement manual review routing for high-risk documents, or return masked outputs for users with limited privileges.\u003c\/p\u003e\n\n\u003cp\u003eReady to implement secure AI analysis in your organization? This workflow provides enterprise-grade PII protection while maintaining the power of advanced AI processing for your sensitive documents and data.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45512648392883,"sku":"N8N-15773","price":24.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/TOnNAdz53_-Xzo7LzLzmL_7b90ee04dc5a4957937814711a2a31d5.jpg?v=1779008509","url":"https:\/\/buyflowscripts.com\/products\/secure-ai-analysis-mask-pii-in-google-sheets-with-n8n-workflows","provider":"N8N Commerce","version":"1.0","type":"link"}