Auto-Post to LinkedIn from Notion Using n8n [Step-by-Step 2026 Guide]

Automate your LinkedIn content calendar using n8n and Notion. Write posts in Notion, set a publish date, and n8n posts them automatically — workflow included.
scheduleTrigger
notion
aggregate
+4
Workflow Identifier: 1014
NODES in Use: scheduleTrigger, notion, aggregate, code, httpRequest, merge, linkedIn
Automate LinkedIn posts with n8n and Notion

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Automation Does

This workflow runs every day at 3 PM to post your scheduled content from Notion to LinkedIn automatically.
It stops you from doing repetitive copying, formatting, and image downloading.
After running, it posts correctly formatted text and an image to LinkedIn and marks the post as published in Notion.


Who Should Use This Workflow

This automation fits people who manage social media posts stored in a Notion database.
It helps if you post daily and want to avoid mistakes and save time.


Tools and Services Used

  • n8n: Runs the automation workflow.
  • Notion API: Fetches posts and content blocks from your database.
  • LinkedIn OAuth2: Authorizes posting on LinkedIn profiles or company pages.
  • HTTP Request in n8n: Downloads images for LinkedIn posts.

Workflow Inputs, Processing Steps, and Output

Inputs

  • Your Notion database with posts having a “Date” and “Status” property.
  • LinkedIn OAuth2 account with posting rights.
  • Scheduled time set in the workflow (3 PM by default).

Processing Steps

  • The Schedule Trigger fires daily at 3 PM.
  • Notion node queries posts with today’s date.
  • Fetch content blocks and image URLs from the selected post.
  • Aggregate node collects all text and images into arrays.
  • Code node formats the text for LinkedIn.
  • HTTP Request downloads the first image.
  • Merge node joins text and image data.
  • LinkedIn node posts the content with the image.
  • Notion node updates the status to “Published”.

Output

  • A published LinkedIn post with formatted text and image.
  • Updated Notion database marking the post as completed.

Beginner Step-by-Step: How to Use This Workflow in n8n

Importing the Workflow

  1. Click the Download button on this page to save the workflow file.
  2. Open the n8n editor where the automation will run.
  3. Go to the menu and select “Import from File.”
  4. Choose the downloaded workflow file and import it.

Setting Up Credentials

  1. In n8n, open the Credentials section.
  2. Add your Notion API Key under Notion credentials.
  3. Add LinkedIn OAuth2 credentials with necessary posting permissions.

Adjusting Workflow Settings

  1. Check nodes for IDs or URLs that may need changing for your workspace or LinkedIn company page.
  2. Make sure the Date filter matches your Notion date format.
  3. Review the Code node if you want to tweak post formatting.

Testing and Activating

  1. Run the workflow once manually to check it fetches, formats, and posts correctly.
  2. If all works, turn on the workflow by toggling the Active switch.
  3. The workflow will now post automatically daily at the set time.
  4. Consider self-host n8n for reliable, always-on running.

Customizations

  • Change the posting time by updating the hour in the Schedule Trigger node.
  • Switch from posting to a personal profile to a company page by updating the LinkedIn node’s “person” field.
  • Edit the JavaScript in the Code node to add hashtags, mentions, or change text styling.
  • Add support for multiple images by expanding the image download and merge steps.
  • Insert logging nodes before and after posting to keep records of all actions.

Troubleshooting

  • No posts fetched for today: Check if the date format in Notion matches the filter expression
    {{$today.format("yyyy/mM/dd")}}

    Adjust format if needed.

  • LinkedIn post permission error: Confirm LinkedIn OAuth2 credentials have post rights and company admin access.
  • Image download issues: Verify image URLs in Notion are accessible and public.

Pre-Production Checklist

  • Check Notion API Key has access to the correct database.
  • Confirm LinkedIn OAuth2 credentials are authorized properly.
  • Ensure Notion database has “Date” and “Status” properties setup.
  • Run manual test of workflow to confirm it works end-to-end.
  • Backup Notion content before testing to prevent accidental change.

Deployment Guide

After testing succeeds, activate the workflow to run daily.
Watch execution logs for early error detection.
Using self-host n8n helps keep the workflow running without interruption.


Summary

✓ Saves time by automating daily LinkedIn posting.
✓ Removes manual copying and formatting work.
✓ Ensures posts go out on schedule every day.
✓ Updates Notion to track published posts automatically.
✓ Supports text formatting and image attachments.
✓ Easy to import and configure inside n8n.


Automate LinkedIn posts with n8n and Notion

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Download the workflow file from the page. In n8n editor, use “Import from File” to add the workflow. Add Notion API and LinkedIn OAuth2 credentials. Adjust IDs or URLs if needed. Run a manual test and activate the workflow.
The date filter format may not match your Notion database date format. Check the expression {{$today.format(“yyyy/mM/dd”)}} and adjust it to match the exact Notion date format.
Re-authorize LinkedIn OAuth2 credentials ensuring your account has posting rights and admin rights on the company page if posting there.
The current workflow supports only one image. To add more images, extend the HTTP Request and Merge nodes to download and attach multiple images.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.