Skip to main content

Auto-post Medium.com articles to LinkedIn with Telegram alerts

Workflow preview

Workflow preview
100%
Auto-post Medium.com articles to LinkedIn with Telegram alerts preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Problem This Solves Manually sharing Medium articles to LinkedIn daily can be repetitive and time consuming. This automation: Fetches the latest Medium articles based on a tag (e.g., android) Po...

Best for

  • Social Media automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.airtable, n8n-nodes-base.code, n8n-nodes-base.filter, n8n-nodes-base.telegram, n8n-nodes-base.scheduletrigger, n8n-nodes-base.stickynote, n8n-nodes-base.httprequest, n8n-nodes-base.if

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Krishna Kumar Eswaran.

Original n8n.io source

1.1 Workflow description

Title
Auto-post Medium.com articles to LinkedIn with Telegram alerts
Workflow name
Auto-post Medium.com articles to LinkedIn with Telegram alerts

🧠 Problem This Solves Manually sharing Medium articles to LinkedIn daily can be repetitive and time-consuming. This automation:

Fetches the latest Medium articles based on a tag (e.g., android)

Posts them on LinkedIn twice daily

Uses Airtable to prevent duplicates

Sends a confirmation to Telegram once posted

Stay consistently active on LinkedIn without lifting a finger.

👥 Who This Template Is For Developers who write or follow Medium content

Tech creators or founders looking to grow an audience

Community or page managers needing regular curated posts

Busy professionals who want hands-free LinkedIn engagement

⚙️ Workflow Breakdown This automation runs at 9:00 AM and 7:00 PM daily and performs these steps:

Fetch articles from MediumAPI.com by tag

Check Airtable to prevent reposting the same article

Post on LinkedIn if it’s new

Store the article ID in Airtable

Send a Telegram message after successful posting

🧾 Step-by-Step Setup Instructions

✅ 1. Airtable Configuration Create a base with:

Table Name: PostedArticles

Column: ArticleID (Single line text – to track posted articles)

🔗 2. MediumAPI Setup Go to https://mediumapi.com

Sign up and generate your API key from the dashboard

Use this API endpoint in an HTTP node:

GET https://mediumapi.com/api/tag/YOUR_TAG/latest

Headers: Authorization: Bearer YOUR_API_KEY Replace YOUR_TAG with a topic like android, ai, webdev, etc.

💬 3. Telegram Bot Setup Go to @BotFather and create a new bot

Save the bot token

Use @userinfobot to get your Telegram chat ID

Add a Telegram node in n8n with the token + chat ID

🔗 4. LinkedIn Setup Create a LinkedIn Developer App

Connect it via OAuth2 in n8n

Choose to post on your profile or company page

🧱 5. n8n Workflow Structure Node Type Description Cron Triggers the flow twice a day HTTP Request Fetches articles from MediumAPI.com Airtable Search Checks if article ID already exists IF Node Skips duplicates LinkedIn Post Publishes to your LinkedIn profile/page Airtable Create Stores posted article ID Telegram Node Sends success notification

🛠️ Customization Tips Change the tag in the API URL to match your niche

Add hashtags or personal comments to the LinkedIn message

Schedule different posting times in the Cron node

Filter Medium posts based on length or title keywords (optional)

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Get List of records used

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 2 - Update the used node

Type / Role
n8n-nodes-base.airtable - airtable
Config choices
Version 2.1

Block 3 - map used articls ids

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - filter only unused Ids

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.2

Block 5 - get random tags

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - sent the status

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 7 - Morning 9 Clock

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 8 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - fetch article ids from tag

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 11 - Fetch Medium post using Article Id

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 12 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 13 - make Linkedin post

Type / Role
n8n-nodes-base.linkedIn - linkedIn
Config choices
Version 1

Block 14 - Fetch Medium post content

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 15 - download image for post

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

3. Summary Table

Workflow Auto-post Medium.com articles to LinkedIn with Telegram alerts
Complexity advanced
Nodes 15
Categories Social Media
Author Krishna Kumar Eswaran
Published 08 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3931/3931.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Auto-post Medium.com articles to LinkedIn with Telegram alerts do?

Problem This Solves Manually sharing Medium articles to LinkedIn daily can be repetitive and time consuming. This automation: Fetches the latest Medium articles based on a tag (e.g., android) Po...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Social Media use case.