Automation

Smart Telegram Bot for Automated Content Publishing on My Portfolio

An end-to-end automation system built with n8n and Gemini that turns quick Telegram prompts into fully formatted, bilingual published posts on my website.

Sami Meqdad

Smart Telegram Bot for Automated Content Publishing on My Portfolio

The Problem

Spending too much time manually drafting, translating, and formatting blog posts and portfolio projects for my website, then uploading them through the admin dashboard.

The Solution

Created an intelligent n8n workflow that receives quick prompts via Telegram. Google Gemini structures the content in both Arabic and English matching the website's exact schema. The bot sends a preview with interactive Publish and Cancel buttons. Upon approval, it authenticates with the site's API, uploads media, publishes the content, and notifies me with live links.

Tools Used

  • n8n
  • Telegram Bot API
  • Google Gemini
  • FastAPI

Security & Error Handling

  • Restricted bot access strictly to my personal Telegram account.
  • Secure credential management for API tokens.
  • Automated error handling that alerts me immediately if a publish attempt fails.

Result

Drastically reduced publishing overhead, enabling instant content creation and deployment directly from my phone.

Visit project ↗