Sanitize Google Drive markdown text with a local Ollama model

Go to Workflow
3 views
Built by Tobi Adeleke Tobi Adeleke
Created on June 15, 2026

Description

How it works
Downloads markdown documents from a Google Drive folder containing private information, uses the Ollama model to identify and extract sensitive data, and stores the sanitized text in a single combined markdown document.

Setup Steps
Google cloud OAuth credentials for accessing google drive.
A local Ollama model (currently using Ollama 3.1).
Local instance of N8N (for example, running in docker).

Nodes Used (6)

Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
Code
n8n-nodes-base.code
Google Drive
n8n-nodes-base.googleDrive
Google Sheets
n8n-nodes-base.googleSheets
HTTP Request
n8n-nodes-base.httpRequest
Ollama Model
@n8n/n8n-nodes-langchain.lmOllama