Generate social media captions for product images with Gemini AI and Telegram approval
Ready for 3.0What this workflow does
This AI workflow has 18 nodes and runs on Google Drive events (file created). Along the way it connects Google Drive, Google Gemini, X (Formerly Twitter) and Telegram. It also calls upload.twitter.com over HTTP.
How it runs
Trigger: On Google Drive events (file created).
- Product_Img (Google Drive): download
- Analyze image (Google Gemini): analyze (image)
- Temp_Field (Edit Fields (Set)): sets 1 field: name
- Formatting_Block (Code): runs custom JavaScript code
- Message a model (Google Gemini): uses Google Gemini
- Output_Cleaner (Code): runs custom JavaScript code
- Product_Img_ (Google Drive): download
- Send_Photo (Telegram): send photo
- Ask_For_Approval (Telegram): send and wait for a reply
- Condition_Checker (If): checks a condition and branches into true / false
…plus 7 more steps. See the full node list below.
Services it uses
HTTP calls to: upload.twitter.com
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 (9)
- Google Drive Trigger
n8n-nodes-base.googleDriveTrigger - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - X (Formerly Twitter)
n8n-nodes-base.twitter - Google Drive
n8n-nodes-base.googleDrive - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Telegram
n8n-nodes-base.telegram - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest
From the author
This n8n template demonstrates a complete AI-driven content pipeline for social media. It automatically generates captions and hashtags for new product images, collects human approval via Telegram, and publishes approved content to Twitter. It’s ideal for…