Templates / Create Facebook photo posts from Telegram albums using OpenRouter AI

Create Facebook photo posts from Telegram albums using OpenRouter AI

Ready for 3.0

by MADIAD ✓ · 3 views · created 2026-09-28 · Social Media, 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 18 nodes and runs on Telegram events (message). Along the way it connects Telegram, OpenRouter Chat Model and Facebook Graph API.

How it runs

Trigger: On Telegram events (message).

  1. Filter & Parse Photo (Code): runs custom JavaScript code
  2. Save to Data Table (Data table): uses Data table
  3. Wait: waits 3 seconds
  4. Get Album Records (Data table): get
  5. Extract Caption & Photos (Code): runs custom JavaScript code
  6. Prepare Loop Items (Code): runs custom JavaScript code
  7. AI Content Generator (AI Agent): runs an AI agent, with model: OpenRouter Chat Model
  8. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  9. Merge: merges the data from its input branches
  10. Set Media FBID (Edit Fields (Set)): sets 1 field: media_fbid

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

Services it uses

TelegramOpenRouter Chat ModelFacebook Graph API

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 (12)

From the author

Quick overview Automate multi-photo Facebook posts from Telegram albums. This workflow buffers incoming photos, uses OpenRouter AI to generate engaging social media captions, uploads media in bulk, and publishes the final post while sending a clickable live…

Excerpt from MADIAD'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.