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

โšก 199 views ยท ๐ŸŽฌ Content Creation & Video

Description

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:

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)

๐Ÿ“ฅ File Download (Google Drive Node)

โ˜๏ธ Cloud Upload (HTTP Request Node โ†’ Cloudinary)

๐Ÿง  AI Caption Generation (LangChain + Azure OpenAI GPT-4o-mini) Analyzes the image and produces:

๐Ÿ“ง Email Delivery (SMTP Node) Sends a professionally formatted HTML email with:

Perfect For:

  1. Social Media Managers โ€“ Automate caption creation for client accounts.
  2. Content Creators โ€“ Turn visuals into instantly postable Twitter/X threads.
  3. Marketing Teams โ€“ Maintain consistency & posting frequency without manual work.
  4. Built With:
  5. Google Drive API โ€“ File monitoring & download
  6. Cloudinary API โ€“ Image hosting & URL generation
  7. Azure OpenAI GPT-4o-mini โ€“ AI caption creation & formatting
  8. n8n LangChain Integration โ€“ Structured AI prompt execution
  9. SMTP Email โ€“ Automated content delivery

Key Benefits:

โœ… Save hours on manual caption writing. ๐Ÿ“ˆ Boost engagement with AI-optimized hashtags & post timing. ๐Ÿง  Get both short posts & full threads ready to publish. โšก Fully automated โ€” runs whenever you upload a file.

๐Ÿ”— Nodes Used

Send Email, HTTP Request, Google Drive, Google Drive Trigger, Basic LLM Chain, Azure OpenAI Chat Model

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup