n8nflow.net logo

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

by Ketan SharmaUpdated: Last update 10 days agoSource: n8n.io
Loading workflow viewer...

Getting Started

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.