Skip to main content

Generate LinkedIn posts with Gemini, Olostep, Hugging Face and Google Sheets

Workflow preview

Workflow preview
100%
Generate LinkedIn posts with Gemini, Olostep, Hugging Face and Google Sheets preview
Open on n8n.io

1. Workflow Overview

AI LinkedIn Post Generator: From Topic to Image & Text Transform your content queue into a high engagement LinkedIn presence with zero manual effort. The AI LinkedIn Post Generator workflow automat...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.googlesheets, n8n-nodes-olostep.olostepscrape, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.stickynote, n8n-nodes-base.gmail, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.httprequest

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Yasser Sami.

Original n8n.io source

1.1 Workflow description

Title
Generate LinkedIn posts with Gemini, Olostep, Hugging Face and Google Sheets
Workflow name
Generate LinkedIn posts with Gemini, Olostep, Hugging Face and Google Sheets

AI LinkedIn Post Generator: From Topic to Image & Text

Transform your content queue into a high-engagement LinkedIn presence with zero manual effort. The AI LinkedIn Post Generator workflow automates every step of the content creation process. It pulls a topic from your backlog, conducts real-time web research for the latest trends and statistics, drafts a professional post, and even generates a custom AI image to accompany it.

By combining Gemini 2.5 Flash, Olostep, and Hugging Face image models, this workflow ensures your social media activity remains consistent, relevant, and visually striking.


Who’s it for?

  • Solopreneurs & Creators: Maintain a high-quality LinkedIn presence while focusing on your core business.
  • Content Marketers: Quickly generate drafts and visuals for a volume-heavy social media strategy.
  • Personal Brands: Stay relevant by automatically incorporating real-time news and statistics into your posts.
  • Social Media Agencies: Scale client content production by automating the research and drafting phases.

How it works / What it does

  1. Trigger: Manual execution or scheduled trigger kicks off the process.
  2. Topic Retrieval: Fetches the next topic marked as "To-Do" from a Google Sheet.
  3. Web Research: Olostep scans the web for key insights, recent trends, and supporting statistics related to the topic.
  4. Parallel Generation:
  • Post Writer: Gemini drafts an engaging, mobile-optimized LinkedIn post with emojis, hashtags, and a clear Call to Action (CTA).
  • Image Prompt Generator: A second AI agent crafts a detailed visual prompt based on the research findings.
  1. Visual Creation: The workflow calls a Hugging Face model (FLUX) to generate a unique image for the post.
  2. Finalization: The post text and image URL are saved back to the Google Sheet, the status is updated to "Done," and you receive a Gmail notification that your content is ready.

How to set up

  1. Credentials: Add your API keys for Google Gemini (PaLM), Olostep, Hugging Face, Google Sheets, and Gmail.
  2. Google Sheet Setup: Create a sheet with columns for topic, status, post, and image. Populate the topic column and set the initial status to "To-Do".
  3. Notification: Update the Gmail node with your email address to receive completion alerts.

Requirements

  • Google Gemini API: For research synthesis and professional copywriting.
  • Olostep API: To gather real-time data and "current" context.
  • Hugging Face API: (Or any preferred image model API) for visual generation.
  • Google Workspace (OAuth2): For sheet management and email alerts.

How to customize the workflow

  • Visual Style: Modify the "Image Prompt Generator" system message to enforce a specific brand aesthetic (e.g., "minimalist 3D," "professional photography," or "flat illustration").
  • Post Tone: Adjust the "Post Writer" agent to match your specific voice, whether it's "brutally honest," "playful," or "academic."
  • Multi-Post Generation: Update the logic to process multiple "To-Do" rows in a single run for weekly content batching.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Execute workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - get topic

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 3 - Create answer

Type / Role
n8n-nodes-olostep.olostepScrape - olostepScrape
Config choices
Version 1

Block 4 - Google Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 5 - Update row in sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 6 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Send a message

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

Block 13 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Image Prompt Generator

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3.1

Block 15 - Post Writer

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3.1

Block 16 - generate image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 17 - get image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 18 - image URL

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 19 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Generate LinkedIn posts with Gemini, Olostep, Hugging Face and Google Sheets
Complexity advanced
Nodes 20
Categories Content Creation, Multimodal AI
Author Yasser Sami
Published 16 Feb 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13434/13434.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate LinkedIn posts with Gemini, Olostep, Hugging Face and Google Sheets do?

AI LinkedIn Post Generator: From Topic to Image & Text Transform your content queue into a high engagement LinkedIn presence with zero manual effort. The AI LinkedIn Post Generator workflow automat...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.