--- type: entity path: Wiki/Reference tags: - n8n - automation - docker created: 2026-05-08 updated: 2026-05-08 --- # n8n ## What it is n8n is the self-hosted workflow automation platform running as a Docker container in the PBS infrastructure stack. It serves as the central automation hub connecting external services (Gmail, Google Drive, Instagram, YouTube, Cloudflare, Supabase) with internal systems (WordPress, pbs-hub, the Obsidian vault, OB1). n8n handles event-driven pipelines, scheduled jobs, webhook receivers, and multi-step data flows that would otherwise require custom code. ## Current state Active. Current and planned automation workflows include: - **Email-to-vault pipeline** — Gmail → n8n → Gitea → Obsidian vault (session note ingestion) - **Cloudflare cache warming** — Daily sitemap crawl + Cloudflare cache purge triggers - **Instagram automation** — Reel detection webhook, content hub sync - **OB1 parallel write** — n8n writes to both wiki-vault and OB1 simultaneously (planned) - **WordPress log monitoring** — Log event alerts via n8n - **SSH login alerting** — journald tailer → n8n → Google Chat - **YouTube analytics** — YouTube API → n8n → Streamlit pipeline (planned) - **PBS SEO automation** — Google Search Console data → Claude API → meta generation ## Where it lives - PBS Linode Docker stack, behind Traefik ingress - Accessible via Traefik routing (internal + possibly tunneled) - Persistent data in Docker volume ## Related projects - [[Sources/Dev/email-to-obsidian-automation|email-to-obsidian-automation]] — email pipeline project plan - [[Sources/Dev/email-obsidian-git-pipeline|email-obsidian-git-pipeline]] — email pipeline session notes - [[Sources/Dev/cloudflare-cache-warmer|cloudflare-cache-warmer]] — cache warming via n8n - [[Sources/Dev/instagram-automation-session-notes|instagram-automation-session-notes]] — Instagram webhook - [[Sources/Homelab/ob1-deployment|ob1-deployment]] — parallel wiki+OB1 write - [[Sources/Homelab/ssh-login-alerting|ssh-login-alerting]] — login alerts - [[Sources/Dev/pbs-youtube-analytics|pbs-youtube-analytics]] — YouTube analytics pipeline - [[Wiki/Reference/traefik|traefik]] — ingress layer - [[Wiki/Reference/ob1|ob1]] — memory integration ## History - Ongoing — Central automation hub for PBS + homelab operations - **2026** — Email-to-vault pipeline built and validated (session notes live) - **2026** — OB1 parallel write pipeline planned as part of OB1 Phase 4+ - **2026** — SSH login alerting project initiated