Keep contact lists and exports safe by removing personal data before anyone shares them. This workflow watches a Google Drive folder for new CSV files, finds columns with personal information, deletes those columns, and saves a clean file back to Drive. It suits teams that handle sign ups, lead lists, or survey data and need a simple way to protect privacy.
Here is how it works. A Google Drive trigger checks a specific folder for new files. The file is downloaded and the table is read so the columns are visible. An OpenAI step reviews the column names and returns only the ones that look like personal data, such as email or phone. The flow then combines the original file name, the parsed table, and the flagged columns. A code step removes those columns and creates a clean CSV. The clean file is uploaded to a chosen Drive folder with a clear name. This reduces risk, speeds up reviews, and keeps your data pipeline consistent.
You will need Google Drive and an OpenAI API key. Expect faster handoffs and fewer errors when sharing data. Teams can use it for lead uploads, report sharing, or vendor handoffs where private data is not allowed. Setup is simple in n8n Cloud and runs in the background once connected.