Generate Social Media Captions for Product Images with Gemini AI and Telegram Approval

Go to Workflow
0 views
Built by Ketan Sharma Ketan Sharma
Created on June 05, 2026

Description

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 marketers, e-commerce businesses, and creators who want to speed up content creation while keeping human oversight.

How it works

Trigger: The workflow starts when a new file is added to a specific Google Drive folder.

File Analysis: The image is processed to extract product information.

AI Captioning: Gemini generates a caption and five relevant hashtags based on the product.

Telegram Approval: The image, caption, and hashtags are sent to the user for approval.

βœ… If approved β†’ The content is posted to Twitter and a confirmation is sent back via Telegram.

πŸ”„ If regenerate β†’ Gemini creates a new caption and hashtags, and the approval loop repeats.

❌ If discard β†’ A message is sent on Telegram and the workflow ends.

Requirements

Google Drive account

Gemini API credentials for captioning and hashtags

Telegram bot for approvals

Twitter Developer Account with API credentials

Customising this workflow

Swap Google Drive with Dropbox, Notion, or Airtable as the content source.

Extend publishing to LinkedIn, Instagram, or multiple platforms.

Add multi-user approval flows in Telegram for team-based decisions.

Nodes Used (6)

Code
n8n-nodes-base.code
Google Drive
n8n-nodes-base.googleDrive
Google Gemini
@n8n/n8n-nodes-langchain.googleGemini
HTTP Request
n8n-nodes-base.httpRequest
Telegram
n8n-nodes-base.telegram
X (Formerly Twitter)
n8n-nodes-base.twitter