FM
FlowMarket
Docs, PDF & OCR Intermediate ⚡ 10 n8n Nodes

Remove personally identifiable information PII from CSV files

What this workflow does - Monitors Google Drive: The workflow triggers whenever a new CSV file is uploaded. - Uses AI to Identify PII Columns: The OpenAI nod...

🔌 Nodes & Integrations Used (4)

Google Drive Trigger Google Drive Extract From File OpenAI

📖 Implementation & Setup Guide

What this workflow does - Monitors Google Drive: The workflow triggers whenever a new CSV file is uploaded. - Uses AI to Identify PII Columns: The OpenAI node analyzes the data and identifies PII-containing columns (e.g., name, email, phone). - Removes PII: The workflow filters out these columns from the dataset. - Uploads Cleaned File: The sanitized file is renamed and re-uploaded to Google Drive, ensuring the original data remains intact.

How to customize this workflow to your needs - Adjust PII Identification: Modify the prompt in the OpenAI node to align with your specific data compliance requirements. - Include/Exclude File Types: Adjust the Google Drive Trigger settings to monitor specific file types (e.g., CSV only). - Output Destination: Change the folder in Google Drive where the sanitized file is uploaded.

Setup ### Prerequisites: - A Google Drive account. - An OpenAI API key. ### Workflow Configuration: - Configure the Google Drive Trigger to monitor a folder for new files. - Configure the OpenAI Node to connect with your API - Set the Google Drive Upload folder to a different location than the Trigger folder to prevent workflow loops.

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Remove_personally_identifiable_information_PII_from_CSV_files.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related Docs, PDF & OCR Workflows

View All in Docs, PDF & OCR →