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.

0
Downloads
0
Views
8.41
Quality Score
beginner
Complexity
Created:7/24/2026
Updated:7/24/2026

🔒 Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments