Process telegram image albums with Data Tables Cache and NanoBanana AI
Ready for 3.0What this workflow does
This workflow has 28 nodes and runs on Telegram events (plus 2 other triggers). Along the way it connects Telegram. It also calls openrouter.ai over HTTP.
How it runs
Trigger: On Telegram events (plus 2 other triggers).
- Is media group with images? (If): checks a condition and branches into true / false
- If any new records (Data table): row exists
- Upsert row(s) (Data table): create or update
- Filter: keeps only the items that match a condition
- Get new requests (Data table): get
- Send initial notification (Telegram): uses Telegram
- Merge: merges the data from its input branches
- Merge: merges the data from its input branches
- Latest message in media_group (Summarize): summarizes / groups the items
- status:done (Data table): update
…plus 13 more steps. See the full node list below.
Services it uses
Other Telegram + OpenRouter templates (136)
HTTP calls to: openrouter.ai
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 (14)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Data table
n8n-nodes-base.dataTable - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Filter
n8n-nodes-base.filter - Merge
n8n-nodes-base.merge - Telegram
n8n-nodes-base.telegram - If
n8n-nodes-base.if - Summarize
n8n-nodes-base.summarize - Convert to File
n8n-nodes-base.convertToFile - No Operation, do nothing
n8n-nodes-base.noOp - Sort
n8n-nodes-base.sort - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set
From the author
This n8n workflow template simplifies processing of media group messages sent by users in Telegram. It caches image album messages using Data Tables, and then sends them to a Nano Banana model for processing. This template showcases n8n's new Data Tables…