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:
- n8n account (free at n8n.io)
- Google account (for Google Sheets & Drive)
- Telegram account (free)
- OpenAI API key (for ChatGPT & DALL-E) – Get one here
Step-by-Step Setup Guide
Create Your Google Sheet
- Go to Google Sheets
- Create a new spreadsheet
- Name it:
LinkedIn Content Generator - 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.
Create Your Telegram Bot
- Open Telegram and search for @BotFather
- Send
/newbot - Choose a name (e.g., “My LinkedIn Bot”)
- Choose a username (e.g., “my_linkedin_content_bot”)
- Save the API token – you’ll need it later
Your token looks like this:
Import the Workflow into n8n
- Log into your n8n account
- Click “Add workflow” → “Import from file”
- Upload the JSON file you downloaded
- The workflow will appear with red warning icons (that’s normal – we need to connect accounts)
Connect Your Accounts in n8n
You need to connect 4 services:
Connect Google Sheets
- Click any Google Sheets node (green icon)
- Click “Credential to connect with” → “Create new”
- Choose “OAuth2”
- Sign in with your Google account
- Allow access
Connect Google Drive
- Click the “Upload Image to Drive” node
- Click “Credential to connect with” → “Create new”
- Sign in with the same Google account
Connect Telegram
- Click the “Telegram Trigger” node
- Click “Credential to connect with” → “Create new”
- Paste your Bot API Token from Step 2
Connect OpenAI
- Click the “AI Generate Content Options” node
- Click “Credential to connect with” → “Create new”
- Paste your OpenAI API Key
Update Google Sheet References
Each Google Sheets node needs to point to YOUR spreadsheet:
- Click on each Google Sheets node (there are several)
- In “Document”, select your “LinkedIn Content Generator” spreadsheet
- 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
Update Google Drive Folder
- Click the “Upload Image to Drive” node
- Select the folder where you want images saved
- Do the same for “Upload Regenerated Image” node
Activate the Workflow
- Click the “Save” button (top right)
- Toggle the “Active” switch to ON
- Your workflow is now live!
How to Use It (Daily Workflow)
Morning: Update Your Article List
Send this to your Telegram bot:
The bot will:
- Fetch articles from 3 RSS feeds
- Filter for marketing-related content
- Add URLs to your “List” sheet
- Reply: “✅ Website list updated! Added X new articles.”
When You Need Content: Generate Posts
Send this to your Telegram bot:
The bot will:
- Read URLs from your “List” sheet
- Scrape each article
- Use AI to write LinkedIn posts
- Send you multiple options to choose from
Select Your Favorite Option
Found one you like? Send:
(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:
→ Saves to your “Published” sheet
If you want a different image:
→ 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
- Make sure the workflow is Active (toggle is ON)
- Check that Telegram credentials are correct
- Try sending a message to @BotFather to verify your bot exists
- Check your RSS feed URLs are valid
- Try broader keywords in the filter
- Make sure the “List” sheet has the correct header (“Websites”)
- Re-authenticate your Google account
- Make sure you have edit access to the spreadsheet
- Check that column names match exactly
- Verify your API key is correct
- Check you have credits in your OpenAI account
- Make sure billing is set up at platform.openai.com
Frequently Asked Questions
- n8n: Free tier available (limited executions)
- OpenAI: ~$0.05-0.15 per post (GPT-4o + DALL-E)
- Google Sheets/Drive: Free
- Telegram: Free
Ready to Get Started?
Download the workflow and follow the steps above to automate your LinkedIn content creation.
📥 Download Free WorkflowNo email required • Works with free n8n account
Need Help?
- 💬 Comment below with any questions
- 📧 Email me at shahin@quantumcube.ca
- 🔗 Connect on LinkedIn
Found this helpful? Share it with someone who spends too much time on LinkedIn content!