workflows.fit
Back to n8n workflows
n8n templateFreeBy Rahul Joshi

Generate Twitter/X captions from Google Drive images using Cloudinary & GPT-4o-mini

Description Turn images into viral-ready Twitter/X captions in seconds! This n8n automation watches a Google Drive folder for new images, uploads them to Cloudinary, and uses Azure OpenAI (GPT-4o-mini) to generate eng...

CommunicationHITLCore NodesDevelopmentData & StorageAILangchainChain Llm
Loading interactive preview...

Template notes

Description

Turn images into viral-ready Twitter/X captions in seconds!

This n8n automation watches a Google Drive folder for new images, uploads them to Cloudinary, and uses Azure OpenAI (GPT-4o-mini) to generate engaging, platform-optimized captions. Each caption package includes: - Punchy headlines and primary tweets (≤280 characters) - Mini tweet threads with insights & actions - Hashtags, @mentions & posting time recommendations - HTML email delivery for quick publishing

Perfect for social media managers, creators, and marketing teams who want to speed up content creation while keeping posts high-quality and on-brand.

Step-by-Step Workflow:

📂 Google Drive Trigger (Google Drive Trigger Node) - Watches a specific folder for new or updated image files. - Instantly starts the workflow on detection.

📥 File Download (Google Drive Node) - Downloads the new file from Google Drive for processing. - ☁️ Cloud Upload (HTTP Request Node → Cloudinary) - Uploads the image to Cloudinary. - Returns a publicly accessible URL for AI analysis.

🧠 AI Caption Generation (LangChain + Azure OpenAI GPT-4o-mini) Analyzes the image and produces: - Short headline & primary tweet - A 3-part tweet thread (Hook → Insight → Action) - Alt text for accessibility - Suggested first-reply content - 10–12 optimized hashtags - Recommended @mentions - Ideal posting times (IST)