Create and review AI social media images with Telegram, OpenAI and Google Drive
Ready for 3.0What this workflow does
This workflow has 47 nodes and runs on Telegram events (plus 2 other triggers). Along the way it connects Telegram.
How it runs
Trigger: On Telegram events (plus 2 other triggers).
- Configure Telegram inbox (Edit Fields (Set)): sets or maps fields
- Configure image worker (Edit Fields (Set)): sets or maps fields
- Preflight private image transport (Code): runs custom JavaScript code
- Check worker switch and policy (Code): runs custom JavaScript code
- Download this verified image attachment? (If): checks a condition and branches into true / false
- Read bounded authoritative jobs (Data table): uses Data table
- Download the allowlisted Telegram image (Telegram): uses Telegram
- Validate Telegram owner and parse request (Code): runs custom JavaScript code
- Choose one due operation (Code): runs custom JavaScript code
- Restore original request after image download (Code): runs custom JavaScript code
…plus 34 more steps. See the full node list below.
Services it uses
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (10)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Data table
n8n-nodes-base.dataTable - Telegram
n8n-nodes-base.telegram - Manual Trigger
n8n-nodes-base.manualTrigger - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest
From the author
Quick overview Create two social image drafts from a private Telegram brief and an optional own photo. Approve the displayed estimate, inspect previews, optionally confirm one revision, and save the selected original with your supplied factual caption in…