+1 778 887 8379   Vancouver, BC Canada

How to Automate LinkedIn Content Creation with AI

How to Automate LinkedIn Content Creation with AI – Free n8n Workflow

What You’ll Get

  • Pulls trending articles from marketing RSS feeds automatically
  • Uses AI (ChatGPT) to write LinkedIn posts based on those articles
  • Generates custom images with DALL-E
  • Lets you approve or regenerate content from Telegram
  • Saves everything to Google Sheets for easy tracking

Time saved: 5-10 hours per week on content creation


How It Works (Simple Overview)

You control everything by sending simple text commands to a Telegram bot:

Command What It Does
update list Fetches fresh articles from RSS feeds
want a post AI generates multiple LinkedIn post options
option 3 Selects option 3 and generates an image
approved Saves the post to your “Published” sheet
generate again 3 Creates a new image for option 3

That’s it. No clicking through complex interfaces. Just text your bot.


What You Need (Requirements)

Before starting, make sure you have:

  1. n8n account (free at n8n.io)
  2. Google account (for Google Sheets & Drive)
  3. Telegram account (free)
  4. OpenAI API key (for ChatGPT & DALL-E) – Get one here
⏱️ Estimated setup time: 30-45 minutes

Step-by-Step Setup Guide

1

Create Your Google Sheet

  1. Go to Google Sheets
  2. Create a new spreadsheet
  3. Name it: LinkedIn Content Generator
  4. Create 3 tabs (sheets) at the bottom:

Tab 1: “List”

Column A
Websites

This tab stores article URLs to scrape.

Tab 2: “Store Posts to Sheet”

Create these column headers:

executionId | chatId | postIndex | postText | imagePrompt | topic | sourceUrl | pendingImageId

This tab stores generated post options.

Tab 3: “Published”

Create these column headers:

postText | imagePrompt | topic | sourceUrl | imageId | publishedAt

This tab stores approved posts ready to publish.

2

Create Your Telegram Bot

  1. Open Telegram and search for @BotFather
  2. Send /newbot
  3. Choose a name (e.g., “My LinkedIn Bot”)
  4. Choose a username (e.g., “my_linkedin_content_bot”)
  5. Save the API token – you’ll need it later

Your token looks like this:

123456789:ABCdefGHIjklMNOpqrsTUVwxyz
3

Import the Workflow into n8n

  1. Log into your n8n account
  2. Click “Add workflow”“Import from file”
  3. Upload the JSON file you downloaded
  4. The workflow will appear with red warning icons (that’s normal – we need to connect accounts)
4

Connect Your Accounts in n8n

You need to connect 4 services:

Connect Google Sheets

  1. Click any Google Sheets node (green icon)
  2. Click “Credential to connect with”“Create new”
  3. Choose “OAuth2”
  4. Sign in with your Google account
  5. Allow access

Connect Google Drive

  1. Click the “Upload Image to Drive” node
  2. Click “Credential to connect with”“Create new”
  3. Sign in with the same Google account

Connect Telegram

  1. Click the “Telegram Trigger” node
  2. Click “Credential to connect with”“Create new”
  3. Paste your Bot API Token from Step 2

Connect OpenAI

  1. Click the “AI Generate Content Options” node
  2. Click “Credential to connect with”“Create new”
  3. Paste your OpenAI API Key
5

Update Google Sheet References

Each Google Sheets node needs to point to YOUR spreadsheet:

  1. Click on each Google Sheets node (there are several)
  2. In “Document”, select your “LinkedIn Content Generator” spreadsheet
  3. In “Sheet”, select the correct tab

Nodes to update:

  • Read Website List → “List” tab
  • Store Posts to Sheet → “Store Posts to Sheet” tab
  • Read “Store Posts to Sheet” → “Store Posts to Sheet” tab
  • Read Posts for Approved → “Store Posts to Sheet” tab
  • Save to Published → “Published” tab
  • Clear Old Links → “List” tab
  • Add New Links → “List” tab
6

Update Google Drive Folder

  1. Click the “Upload Image to Drive” node
  2. Select the folder where you want images saved
  3. Do the same for “Upload Regenerated Image” node
7

Activate the Workflow

  1. Click the “Save” button (top right)
  2. Toggle the “Active” switch to ON
  3. Your workflow is now live!
🎉 Congratulations! Your LinkedIn content automation is ready to use.

How to Use It (Daily Workflow)

Morning: Update Your Article List

Send this to your Telegram bot:

update list

The bot will:

  1. Fetch articles from 3 RSS feeds
  2. Filter for marketing-related content
  3. Add URLs to your “List” sheet
  4. Reply: “✅ Website list updated! Added X new articles.”

When You Need Content: Generate Posts

Send this to your Telegram bot:

want a post

The bot will:

  1. Read URLs from your “List” sheet
  2. Scrape each article
  3. Use AI to write LinkedIn posts
  4. Send you multiple options to choose from

Select Your Favorite Option

Found one you like? Send:

option 2

(or whichever number you prefer)

The bot will generate a DALL-E image and send it to you for preview.

Approve or Regenerate

If you like it:

approved

→ Saves to your “Published” sheet

If you want a different image:

generate again 2

→ Creates a new image for option 2


Customization Options

Change the RSS Feeds

Edit the RSS Feed nodes to use your preferred sources:

Niche RSS Feed URL
Digital Marketing https://www.marketingdive.com/feeds/news/
SEO https://www.searchenginejournal.com/feed/
Tech https://techcrunch.com/feed/
AI https://venturebeat.com/category/ai/feed/
Social Media https://www.socialmediaexaminer.com/feed/

Change the AI Writing Style

Edit the “AI Generate Content Options” node to match your voice:

  • Change “digital marketing professional” to your role
  • Adjust word count (currently 150-250 words)
  • Modify the hashtag count
  • Change the tone (professional, casual, funny, etc.)

Troubleshooting

❌ “Bot is not responding”
  1. Make sure the workflow is Active (toggle is ON)
  2. Check that Telegram credentials are correct
  3. Try sending a message to @BotFather to verify your bot exists
❌ “No articles found”
  1. Check your RSS feed URLs are valid
  2. Try broader keywords in the filter
  3. Make sure the “List” sheet has the correct header (“Websites”)
❌ “Google Sheets error”
  1. Re-authenticate your Google account
  2. Make sure you have edit access to the spreadsheet
  3. Check that column names match exactly
❌ “OpenAI error”
  1. Verify your API key is correct
  2. Check you have credits in your OpenAI account
  3. Make sure billing is set up at platform.openai.com

Frequently Asked Questions

Q: How much does this cost to run?
  • n8n: Free tier available (limited executions)
  • OpenAI: ~$0.05-0.15 per post (GPT-4o + DALL-E)
  • Google Sheets/Drive: Free
  • Telegram: Free
Q: Can I use this for other platforms?
Yes! The generated content works for any platform. Just edit the AI prompt to match the platform’s style.
Q: Can multiple people use the same bot?
Yes! The workflow tracks each user by their Telegram chat ID, so multiple people can use it simultaneously.

Ready to Get Started?

Download the workflow and follow the steps above to automate your LinkedIn content creation.

📥 Download Free Workflow

No email required • Works with free n8n account

Need Help?


Found this helpful? Share it with someone who spends too much time on LinkedIn content!