Skip to main content

Repurpose LinkedIn posts into X tweets with Apify, Claude AI and Airtable

Workflow preview

Workflow preview
100%
Repurpose LinkedIn posts into X tweets with Apify, Claude AI and Airtable preview
Open on n8n.io

1. Workflow Overview

Automatically scrape LinkedIn posts with Apify, transform them into optimized tweets and threads using Claude AI, store them in Airtable for approval, and publish to X on a daily schedule. Who is t...

Best for

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

Tools used

n8n-nodes-base.stickynote, @apify/n8n-nodes-apify.apify, n8n-nodes-base.splitinbatches, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.switch, @n8n/n8n-nodes-langchain.chainllm, n8n-nodes-base.splitout, 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 Elodie Tasia.

Original n8n.io source

1.1 Workflow description

Title
Repurpose LinkedIn posts into X tweets with Apify, Claude AI and Airtable
Workflow name
Repurpose LinkedIn posts into X tweets with Apify, Claude AI and Airtable

Automatically scrape LinkedIn posts with Apify, transform them into optimized tweets and threads using Claude AI, store them in Airtable for approval, and publish to X on a daily schedule.

Who is this for

This workflow is designed for content creators, social media managers, and personal brand builders who want to maximize their content reach by repurposing LinkedIn posts for X (Twitter) without manual rewriting.

What it does

This workflow automates the entire LinkedIn-to-X content repurposing pipeline:

  1. Weekly scraping: Uses Apify to scrape your recent LinkedIn posts based on configurable parameters stored in Airtable
  2. Carousel extraction: If a post contains a carousel/PDF, OpenAI extracts the slide content via OCR
  3. AI transformation: Claude (via OpenRouter) converts each LinkedIn post into two X-optimized variations: a standalone tweet and a thread (3-7 tweets)
  4. Content storage: Saves both the original posts and generated tweets to Airtable with a "Pending" status for review
  5. Scheduled publishing: Daily at 12:30, searches for ‘Approved’ tweets whose publication date has passed and posts them to X
  6. Thread handling: Properly chains thread tweets as replies to maintain the conversation structure

Requirements

  • Apify account (LinkedIn Profile Posts Scraper actor)
  • Airtable account with configured base
  • OpenAI API access (for carousel OCR)
  • OpenRouter API access (for Claude)
  • X/Twitter API access

How to set up

  1. Create an Airtable base with three tables: Config, LK Posts, and X Tweets (see table configurations below)
  2. Configure the Config table with your LinkedIn profile URL, scraping limits, and tweet scheduling delay
  3. Configure the ‘TWEET NOW’ button in Airtable with the following URL formula: "https://your-n8-server-url/webhook/post-tweet?id="&RECORD_ID()
  4. Connect your credentials: Apify, Airtable, OpenAI, OpenRouter, and X/Twitter
  5. Set the weekly and daily schedule triggers according to your timezone
  6. Activate the workflow

Config Table

Field Name Type Description
Name String Configuration parameter name
Type Single Select Data type indicator: String, Integer
String Value String Value when Type is "String"
Integer Value Number Value when Type is "Integer"

Configuration parameters to create:

  • profile_url — LinkedIn profile URL to scrape
  • posted_limit — Time range for scraping (possible values: "any", "1h", "24h", "week", "3months", "6months", "year")
  • max_posts — Maximum number of posts to scrape
  • schedule_tweets_days_after_lk — Number of days after LinkedIn post date to schedule the tweet

LK Posts Table

Field Name Type Description
LK Post ID String LinkedIn post unique identifier
Status Single Select Post processing status: Scrapped, Converted, Tweeted
Date DateTime Original LinkedIn post publication date
Content Long Text LinkedIn post text content
Post URL URL Link to the original LinkedIn post
Post Img URL URL URL of post image (if any)
Post Doc URL URL URL of carousel/PDF document (if any)
Carousel Content Long Text Extracted text content from carousel slides

X Tweets Table

Field Name Type Description
Unique ID Formula Auto-generated unique identifier
LK Post ID String Reference to the source LinkedIn post
Status Single Select Tweet status: Pending, Approved, Rejected, Tweeted
Variation Single Select Tweet format: Standalone, Thread
Tweet Nb Number Tweet position in thread (0 for standalone, 1-7 for thread tweets)
Content Long Text The tweet text content
Publication Date DateTime Scheduled date/time to publish the tweet
Post Now Button Triggers webhook to post immediately

How to customize

  • AI prompt: Edit the "ConvertPostIntoTweets" node to adjust tone and style
  • LLM model: Replace the OpenRouter node with OpenAI or any other LLM node in "ConvertPostIntoTweets" if you prefer a different model
  • Posting delay: Change schedule_tweets_days_after_lk in the Config table
  • Schedule: Modify "Weekly_OnSunday" and "Daily_AtNoon" triggers
  • Scraping: Adjust max_posts and posted_limit in Config table

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 - Sticky Note

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

Block 2 - ScrapeLastPosts

Type / Role
@apify/n8n-nodes-apify.apify - apify
Config choices
Version 1

Block 3 - LoopOverPosts

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 4 - Sticky Note1

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

Block 5 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 6 - Switch

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.4

Block 7 - ConvertPostIntoTweets

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.9

Block 8 - SplitThreadVariations

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

Block 9 - Sticky Note2

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

Block 10 - IfIsCarousel

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

Block 11 - Sticky Note3

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

Block 12 - GetCarouselFile

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

Block 13 - MergePost

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 14 - MergeContent

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 15 - MergeTweets

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 16 - Webhook_OnPostTweet

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

Block 17 - SearchExistingPost

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

Block 18 - SavePost

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

Block 19 - CreateStandaloneTweet

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

Block 20 - CreateThreadTweet

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

Block 21 - UpdatePostStatus

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

Block 22 - GetTweet

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

Block 23 - SwitchStatusAndVariation

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.4

Block 24 - PostStandaloneTweet

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

Showing the first 24 of 54 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Repurpose LinkedIn posts into X tweets with Apify, Claude AI and Airtable
Complexity advanced
Nodes 54
Categories Social Media, Multimodal AI
Author Elodie Tasia
Published 20 Jan 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12847/12847.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 Repurpose LinkedIn posts into X tweets with Apify, Claude AI and Airtable do?

Automatically scrape LinkedIn posts with Apify, transform them into optimized tweets and threads using Claude AI, store them in Airtable for approval, and publish to X on a daily schedule. Who is t...

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, Multimodal AI use case.