Templates / Generate images with Pollinations & blog articles with Gemini 2.5 from Telegram

Generate images with Pollinations & blog articles with Gemini 2.5 from Telegram

Ready for 3.0

by Fahmi Oktafian ✓ · 1,743 views · created 2025-07-10 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 30 nodes and runs on Telegram events (callback query, message). Along the way it connects Google Gemini Chat Model, Telegram, Google Sheets and Google Drive. It also calls api.telegram.org over HTTP.

How it runs

Trigger: On Telegram events (callback query, message).

  1. Classify Telegram Input (Code): runs custom JavaScript code
  2. Switch: routes items into 4 branches
  3. Send Main Menu to User (Telegram): uses Telegram
  4. Switch: routes items into 3 branches
  5. Validate Command Format (If): checks a condition and branches into true / false
  6. Store Selected Article Style (Google Sheets): append or update
  7. Prompt User for Image Description (Telegram): uses Telegram
  8. Prompt User for Blog Title (Telegram): uses Telegram
  9. Send Help Instructions (HTTP Request): calls api.telegram.org
  10. Detect Text-Based Input Type (Edit Fields (Set)): sets or maps fields

…plus 18 more steps. See the full node list below.

Services it uses

Google Gemini Chat ModelTelegramGoogle SheetsGoogle Drive

HTTP calls to: api.telegram.org

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (11)

From the author

This n8n workflow is a Telegram bot that allows users to either: - Generate AI images using Pollinations API, or - Generate blog articles using Gemini AI Users simply type image your prompt or blog your title, and the bot responds with either an AI-generated…

Excerpt from Fahmi Oktafian's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.