n8n

How to Automate LinkedIn and X Content Distribution?

Turn trending tech links into ready social posts without manual work. It finds fresh GitHub projects from popular news, writes short posts with AI, and publishes them to LinkedIn and X after a brief review window. Ideal for developer marketing teams and founders who want steady social activity.

A daily schedule pulls the news homepage, extracts GitHub links with code, and checks Airtable to skip anything posted before. It visits each GitHub page, converts the page content to clean text, and uses AI to draft a tweet and a LinkedIn post. A validation step filters bad outputs and logs issues. When content passes, it creates a record in Airtable, sends you a ping on Telegram, waits five minutes, then posts to X and LinkedIn. After posting, it marks both channels as done in Airtable for clear tracking.

You will need Airtable, LinkedIn, X, OpenAI, and Telegram accounts. Expect a big cut in time spent on curation and copy, plus fewer errors and duplicates. Great for developer relations, open source newsletters, and tech media who want consistent, high quality posts with minimal effort.

What are the key features?

  • Scheduled crawl of a news homepage to find fresh posts
  • Code parsing to extract GitHub links and key metadata
  • Airtable search to detect and skip items already posted
  • HTTP visit to each GitHub page and HTML to Markdown conversion
  • AI content generation for both a tweet and a LinkedIn post
  • Validation and error filter to stop bad outputs from going live
  • Airtable create and update steps to record status and outcomes
  • Telegram ping and a five minute wait window before publishing
  • Direct posting to X and LinkedIn, then status updates in Airtable

What are the benefits?

  • Reduce manual curation and posting from 2 hours to 10 minutes per day
  • Automate about 90 percent of repetitive copy and scheduling work
  • Eliminate duplicate posts with database checks before publishing
  • Connect five systems in one flow for faster execution
  • Handle up to 10 times more links without adding staff

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Airtable, LinkedIn, X, OpenAI and Telegram. See the Tools Required section above for links to create accounts with these services.
  3. In the n8n credentials manager, create an Airtable Personal Access Token. Double click an Airtable node, choose Create new credential, paste your token from the Airtable account page, and save.
  4. For LinkedIn, double click the LinkedIn node, choose Create new credential, then follow the on screen OAuth steps to connect your LinkedIn account. Confirm the correct person or page target is selected in the node.
  5. For X, double click the X node, choose Create new credential, and complete the OAuth flow with your developer account. Test by sending a test post to a private or draft target if available.
  6. For OpenAI, double click the Generate Content node, choose Create new credential, then paste your API key from the OpenAI dashboard API keys page. Save and test the connection.
  7. For Telegram, create a bot with BotFather to get a bot token. In n8n, open the Telegram node, choose Create new credential, paste the bot token, and set the chat ID to your user or group. Send a test message to confirm delivery.
  8. Open the Airtable nodes and set Base and Table to your workspace. Map fields Title, Url, Post, Tweet, and status flags to match your Airtable schema.
  9. Check the Schedule Trigger and set the run cadence you want, such as daily or hourly.
  10. Review the HTTP Request nodes. The first crawls the news homepage and the second visits each GitHub URL. No authentication is needed, but you can adjust timeout and headers if rate limits appear.
  11. Run once with manual execution. Confirm a new Airtable row is created, you receive the Telegram ping, and after five minutes the posts appear on X and LinkedIn. Verify Airtable flags TDone and LDone update to true.
  12. If you see errors: verify OpenAI quota, confirm LinkedIn permissions for the selected account or page, ensure your X app has write access, check the Telegram chat ID, and make sure Airtable field names match the node mappings.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Airtable

Sign up

Free (1,000 API calls / mo)

LinkedIn

Sign up

Self-serve developer products (e.g., Sign In with LinkedIn, Share on LinkedIn): $0; Partner/Marketing APIs require approval and have no public pricing.

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

Telegram

Sign up

Free: $0, Telegram Bot API usage is free for developers

Free tier: $0 / mo, 1000 API calls per workspace / mo

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.