Protect shared CSV files without extra manual work. The flow watches a Google Drive folder, removes columns with personal data, and saves a clean copy for safe use across teams.
Here is how it works. A Google Drive Trigger checks a chosen folder every minute for a new file. The file is downloaded and read by Extract from File to get the headers and rows. OpenAI reviews the table and returns only the column names that look like PII. One node pulls the original file name, another extracts the model result. A Merge node lines up the filename, the data, and the PII list. A Code node removes those columns and rebuilds a clean CSV. The Upload to Drive node saves the scrubbed file in a target folder with a clear name.
You will need Google Drive and OpenAI credentials. Expect to cut review time from about 30 minutes per file to around 2 minutes of automated work. Great for sales exports, support logs, HR reports, and vendor handoffs where sensitive fields should not leave your drive. Start with one sample CSV to confirm the flagged columns match your policy. If needed, tweak the OpenAI prompt or the Code node to match your rules.