Skip to main content
Community template Uses AIContent Creation

Create & track LinkedIn posts with Google Sheets, GPT-5.1, Unsplash, and Sona - n8n workflow template

Automate LinkedIn content creation by managing ideas in Google Sheets, generating professional AI-written posts, intelligently selecting relevant Unsplash images, sending drafts for email approval, and publishing directly to LinkedIn. Workflow runs daily at midnight…

Template by Sona Labs · Original listing (opens in a new tab)

Starts on
On a schedule
Nodes
27 nodes
Level
Advanced
Setup
About 28 min

Workflow preview

How this workflow runs

  1. 1

    Schedule Trigger

    Starts the workflow automatically on a schedule (cron / fixed interval).

  2. 2

    OpenAI Chat Model

    Provides the OpenAI chat model (GPT) that powers the AI reasoning in this workflow.

  3. 3

    Structured Output Parser

    Forces the AI output into a structured JSON schema for reliable downstream use.

  4. 4

    OpenAI Chat Model1

    Provides the OpenAI chat model (GPT) that powers the AI reasoning in this workflow.

  5. 5

    Structured Output Parser1

    Forces the AI output into a structured JSON schema for reliable downstream use.

  6. 6

    GPT-4.1-mini

    Provides the OpenAI chat model (GPT) that powers the AI reasoning in this workflow.

  7. 7

    Get Post Idea

    Reads from or writes rows to a Google Sheets spreadsheet.

  8. 8

    Limit to One Post

    Handles the Limit step in this workflow.

  9. 9

    Update Post Status

    Reads from or writes rows to a Google Sheets spreadsheet.

  10. 10

    AI Content Generation

    The AI agent that orchestrates the workflow — it reasons over the input and decides which tools to call.

Creator's notes and setup

Written by Sona Labs for the original listing.

Automate LinkedIn content creation by managing ideas in Google Sheets, generating professional AI-written posts, intelligently selecting relevant Unsplash images, sending drafts for email approval, and publishing directly to LinkedIn.

How it works

Step 1: Scheduled Sheet Check

  • Workflow runs daily at midnight (customizable to hourly/weekly)
  • Fetches posts from Google Sheet marked with Status = "Ready"
  • Processes one post per run, updates status to "In Progress"

Step 2: AI Content Generation

  • GPT-5.1 creates engaging LinkedIn post based on your inputs
  • Generates content with proper hashtags, formatting, and tone
  • Follows your specified content type (tip, story, announcement, etc.)

Step 3: Quality Validation

  • Automatically checks character limits (3000 max)
  • Validates minimum hashtag requirements (3+)
  • Loops back to regenerate if quality checks fail

Step 4: Email Approval Workflow

  • Formats post as HTML email with professional styling
  • Sends preview to your Gmail for review
  • Waits for your approval response before proceeding
  • Nothing posts without explicit confirmation

Step 5: Smart Image Handling

  • If you provided image URL: Downloads from Google Drive, Dropbox, or direct links
  • If no URL is provided: Fetch 10 images from Unsplash and use AI to select the best one.
  • If "Include Image?" is "No": Posts text-only content
  • Automatically converts share links to downloadable formats

Step 6: LinkedIn Publishing & Tracking

  • Posts approved content directly to your LinkedIn profile
  • Uses appropriate API endpoint based on whether image is included
  • Updates Google Sheet status to "Posted" for successful posts
  • Marks "Rejected" posts in sheet for review and editing

What you'll get

  • Batch content planning: Queue multiple posts in advance via Google Sheets
  • Consistent posting schedule: Automated daily publishing without manual work
  • Professional AI content: GPT-5.1 generates engaging, platform-optimized posts
  • Full approval control: Review every post before it goes live
  • Flexible image options: Your images, AI-generated, or text-only
  • Quality assurance: Built-in checks prevent poorly formatted posts
  • Status tracking: Monitor what's ready, in progress, rejected, or posted
  • Smart link conversion: Automatically handles Google Drive and Dropbox share links

Requirements

Accounts & credentials:

  • OpenAI API key (requires paid plan for GPT-5.1)
  • Gmail account (for approval workflow)
  • Google account (for Sheets integration)
  • LinkedIn account (for publishing)
  • Unsplash API key (for getting images)

Google Sheet setup: Create a sheet with these columns:

  • Topic/Subject (required) - Main idea for the post
  • Content Type (required) - e.g., "Tip", "Story", "Announcement"
  • Tone (required) - e.g., "Professional", "Casual", "Inspirational"
  • Target Audience (optional) - Who you're writing for
  • Additional Notes (optional) - Specific points to include
  • Image link for your post (optional) - URL to your image
  • Include Image? (required) - "Yes" or "No"
  • Status (required) - "Ready" to trigger workflow

Setup steps

  1. Import workflow - Click "Use workflow" to add to your n8n instance

  2. Connect credentials:

    • Google Sheets: Authenticate and select your sheet from dropdown
    • OpenAI: Add your API key in both AI nodes
    • Gmail: Authenticate and update recipient email in approval node
    • LinkedIn: Authenticate (your profile auto-populates)
  3. Create your content sheet - Add the required columns and fill with post ideas

  4. Test the workflow:

    • Add one test row with Status = "Ready"
    • Run workflow manually
    • Check email for approval
    • Verify post appears on LinkedIn
  5. Configure schedule - Default is daily at midnight; adjust Schedule Trigger node for different frequency

  6. Start batching - Add multiple ideas to your sheet and let automation handle the rest

Tips for best results

  • Be specific in Topic/Subject: "5 ways to improve team productivity" beats "productivity tips"
  • Mix content types and tones to keep your feed engaging
  • Use Additional Notes for data points, statistics, or specific examples. You can also include links that the AI can use for the posts.
  • Start with text-only posts to validate content quality before adding images
  • Review rejected posts carefully and refine your inputs
  • Batch 10-20 ideas at once for weeks of automated content

n8n nodes used (11 types)

What every node does (27)
  • Get Image in Unsplash (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • OpenAI Chat Model (LLM Chat Open AI)Provides the OpenAI chat model (GPT) that powers the AI reasoning in this workflow.
  • Structured Output Parser (Output Parser Structured)Forces the AI output into a structured JSON schema for reliable downstream use.
  • Post Formatter (Code)Runs custom JavaScript to transform or manipulate the data flowing through the workflow.
  • AI Content Generation (Agent)The AI agent that orchestrates the workflow — it reasons over the input and decides which tools to call.
  • OpenAI Chat Model1 (LLM Chat Open AI)Provides the OpenAI chat model (GPT) that powers the AI reasoning in this workflow.
  • Format Content to HTML (Agent)The AI agent that orchestrates the workflow — it reasons over the input and decides which tools to call.
  • Schedule Trigger (Schedule Trigger)Starts the workflow automatically on a schedule (cron / fixed interval).
  • Get Post Idea (Google Sheets)Reads from or writes rows to a Google Sheets spreadsheet.
  • Update Post Status (Google Sheets)Reads from or writes rows to a Google Sheets spreadsheet.
  • Download Image (HTTP Request)Makes an external API call (HTTP request) to send or retrieve data from a third-party service.
  • Convert Share Link to Download Link (Code)Runs custom JavaScript to transform or manipulate the data flowing through the workflow.
  • Create a post with image (Linked In)Handles the Linked In step in this workflow.
  • Update Post Status to Posted (Google Sheets)Reads from or writes rows to a Google Sheets spreadsheet.
  • Create a post (Linked In)Handles the Linked In step in this workflow.
  • Limit to One Post (Limit)Handles the Limit step in this workflow.
  • Validate Post Quality (If)Branches the workflow based on a true/false condition.
  • Check Email Approval (If)Branches the workflow based on a true/false condition.
  • Check Image Preference (If)Branches the workflow based on a true/false condition.
  • Validate Image URL (If)Branches the workflow based on a true/false condition.
  • Update Post Status to Rejected (Google Sheets)Reads from or writes rows to a Google Sheets spreadsheet.
  • Choose Image (Agent)The AI agent that orchestrates the workflow — it reasons over the input and decides which tools to call.
  • Get Result Descriptions and Links (Code)Runs custom JavaScript to transform or manipulate the data flowing through the workflow.
  • Structured Output Parser1 (Output Parser Structured)Forces the AI output into a structured JSON schema for reliable downstream use.
  • GPT-4.1-mini (LLM Chat Open AI)Provides the OpenAI chat model (GPT) that powers the AI reasoning in this workflow.
  • Send Post Preview (Gmail)Sends or reads email through Gmail.
  • Send email for confirmation (Gmail)Sends or reads email through Gmail.

FAQ

Create & track LinkedIn posts with Google Sheets, GPT-5.1, Unsplash, and Sona: questions

How do I import the "Create & track LinkedIn posts with Google Sheets, GPT-5.1, Unsplash, and Sona" workflow into n8n?

Copy the workflow JSON from this page, open the n8n editor, click on an empty canvas and paste with Ctrl+V (Cmd+V on macOS). You can also download the .json file and choose Import from File in the workflow menu. Save the workflow, then attach credentials before activating it.

Which nodes and credentials does "Create & track LinkedIn posts with Google Sheets, GPT-5.1, Unsplash, and Sona" use?

It uses Google Sheets, HTTP Request, If, Gmail, Linked In and Code, plus 5 more. Any node that connects to an external service needs your own credential — open each node after import and select or create one. Trigger, logic and transformation nodes usually need no credentials.

Can it run on n8n Cloud and on self-hosted n8n?

The workflow format is the same on both. If a node appears as unknown or outdated after import, update n8n to a recent version or, on self-hosted instances, install the required community node package. Features such as $env access are available on self-hosted instances only.

How can I customise "Create & track LinkedIn posts with Google Sheets, GPT-5.1, Unsplash, and Sona"?

Start by changing the trigger (schedule, webhook or app event) and the destination nodes to match your stack — it is listed under Content Creation. Edit prompts, field mappings and filters in the relevant nodes, use expressions like {{ $json.field }} to map data, and test with a manual execution before activating.

n8n is a trademark of n8n GmbH. AltFTool is not affiliated with, endorsed by or sponsored by n8n. Community templates are credited to their creators and link to the original listing; AltFTool originals are written and tested by the AltFTool team.

About this page

Free n8n workflow templates to copy and import

The AltFTool n8n library collects free n8n workflow templates for AI agents, Gmail, Google Sheets, Telegram and other apps. Each workflow page shows a preview, the list of nodes and the credentials it needs, and lets you copy or download the JSON to import into your own n8n.

Search the templates by app or task, or browse them by category and by node. The Workflow Inspector checks any workflow JSON for triggers, credentials and hardcoded keys before you share it, and the expressions cheat sheet gives copy-paste n8n expression examples. AltFTool is not affiliated with n8n.

People also search for

  • n8n workflow templates
  • n8n templates
  • n8n automation examples
  • n8n json workflows
  • n8n nodes
  • free n8n workflow templates
  • n8n ai agent template
  • n8n expressions cheat sheet