Post LinkedIn image updates from Google Drive with Gemini Vision captions
Quick overview This scheduled workflow pulls an image from Google Drive, uses Google Gemini Vision to generate an on-brand LinkedIn caption, uploads the image via LinkedIn’s asset upload API, and publishes the post to your LinkedIn profile.
How it works Runs on a schedule (every 3 days at 19:30 by default). Loads your posting settings (LinkedIn person URN, CTA link, post title, and brand context) and finds the next image in a specified Google Drive folder. Downloads the image from Google Drive and sends it to Google Gemini Vision to generate a LinkedIn caption using your brand context and formatting rules. Initializes an image upload with the LinkedIn REST API to obtain an upload URL and image asset URN. Uploads the image binary to LinkedIn using the provided upload URL. Creates a LinkedIn post that combines the Gemini-generated commentary with the uploaded image asset and publishes it publicly.
Setup Connect Google Drive OAuth2 credentials and set the target folder ID in the Google Drive search step. Add a Google Gemini (Gemini API) credential and ensure the selected model (for example, models/gemini-2.5-flash) is available to your project. Connect LinkedIn OAuth2 credentials with permission to publish posts (including the w_member_social scope) and access to the LinkedIn REST API. Update the Config values, especially linkedinPersonUrn (format urn:li:person:...), ctaLink, postTitle, and brandContext. Adjust the schedule interval/time if you want posts to publish more or less frequently.
Related Templates
AI Email Classifier & Auto-Delete for Gmail (SPAM/OFFER Cleaner)
This workflow is designed for freelancers, solopreneurs, and business owners who receive a high volume of irrelevant mes...
Generate Product Ad Copy & CTAs with GPT-4 for Slack and Airtable
⚡ AI Copywriter Pro: Instant Ad Copy & CTA Generator Transform product details into compelling marketing copy in second...
Generate Food Recipes from Gmail & Form Requests with Ollama & Llama 3.2
This n8n template demonstrates how to create an intelligent food recipe assistant that accepts requests via Gmail and we...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments