Sunday, November 9, 2025

Running n8n Like a Pro — My Private Automation Server with Ngrok and Custom Workflows

Running n8n Like a Pro — My Private Automation Server with Ngrok and Custom Workflows

Running n8n Like a Pro — My Private Automation Server with Ngrok and Custom Workflows

How I built a full automation stack on my own infrastructure, with a free public endpoint and zero limits.

In the age of cloud automation, privacy and control still matter.
That's why I run n8n self-hosted — a fully local automation system, accessible securely through Ngrok, without paying for external servers or APIs.
### 🧠 My Setup
* Server: Ubuntu VPS (but works on Raspberry Pi, Mac, or Windows)
* Port: n8n running locally on 5678
* Public domain: Ngrok tunneling https://unsisterly-dion-untrig.ngrok-free.dev
*
Authentication: .env file with basic auth enabled
N8N_BASIC_AUTH_ACTIVE=true
N8N_BASIC_AUTH_USER=admin
N8N_BASIC_AUTH_PASSWORD=supersecure
### ⚙️ Workflows that power my automation
1️⃣ Telegram → n8n Trigger: When I post to my Telegram channel, n8n listens instantly.
2️⃣ Code Node: Parses the text, extracts title, subtitle, body, and language direction.
3️⃣ Gmail Node: Converts the HTML version and sends it to Blogger via my "Email for Posting."
4️⃣ Reddit Node: Publishes the Markdown version with proper formatting.
5️⃣ AI Step (optional): Local LLM (Ollama / GPT4All) rewrites or extends long posts automatically.
### 💡 Why this setup wins
✅ Free domain & SSL — Ngrok gives me HTTPS endpoints without managing certificates.
✅ Zero-downtime — n8n runs 24/7 on my private server.
✅ Scalable — Add modules for Notion, Discord, Mastodon, or RSS feeds.
✅ Secure — Credentials never leave my host machine.
✅ Extensible — I can run local Python scripts or AI models as part of the same workflow.
### 🧬 Bonus: Automation tips
* Always backup your workflows using n8n export:workflow.
* Use "Continue on Fail" in Gmail/Reddit nodes to avoid breaks.
* Connect multiple bots (Telegram + Slack + Matrix) through a single webhook.
* Create a dashboard to log every automation event with timestamps.
---
Built by [Tawana Mohammadi](https://tawana.online)
🌐
ORCID → [https://orcid.org/0009-0005-6825-6728](https://orcid.org/0009-0005-6825-6728)
📧
[info@tawana.online](mailto:info@tawana.online)
#n8n #automation #selfhosted #ngrok #workflow #telegram #reddit #blogger #opensour



---
This email was sent automatically with n8n

2 comments:

طرح حمایت دیجیتال توانا | دسترسی رایگان به VPN و خدمات ارتباطی در شرایط اختلال اینترنت

 در سال‌های اخیر، اختلالات گسترده اینترنت، محدودیت‌های دسترسی و ملی شدن شبکه، دسترسی به ارتباط پایدار و امن را برای بسیاری از شهروندان دشوار...