See llms.txt for all machine-readable content.

LinkedIn and X (Formerly Twitter) integration

Save yourself the work of writing custom integrations for LinkedIn and X (Formerly Twitter) and use n8n instead. Build adaptable and scalable Marketing, Communication, workflows that work with your technology stack. All within a building experience you will love.

How to connect LinkedIn and X (Formerly Twitter)

Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

LinkedIn and X (Formerly Twitter) integration: Create a new workflow and add the first step

✨🤖Automate Multi-Platform Social Media Content Creation with AI

Automate Multi-Platform Social Media Content Creation with AI Who is this for? Social Media Managers and Digital Marketers seeking to streamline content production across 7+ platforms (X/Twitter, Instagram, LinkedIn, Facebook, TikTok, Threads, YouTube Shorts) using AI-powered automation. What problem does this solve? Creating platform-optimized content at scale while maintaining brand consistency across multiple channels, reducing manual work by 80% through AI generation and automated publishing. What this workflow does AI Content Generation: Uses GPT-4/Gemini to create platform-specific posts Automatically generates hashtags, CTAs, and emoji placement Supports image/video suggestions and image creation using OpenAI or Pollinations.ai Uses SERP api to search for relavent content Approval Workflow: Sends formatted HTML emails for human review Implements double-approval system with Gmail integration Cross-Platform Publishing: One-click deployment to: Instagram/Facebook (via Graph API) X/Twitter (Official API) LinkedIn (Sales Navigator integration) Setup Credentials: OpenAI API key Google Gemini API Social media platform tokens (X, LinkedIn, Facebook) ImgBB for image hosting Gmail SERP API Telegram Configuration: Update all "your-unique-id" placeholders in API nodes Set email recipients in Gmail nodes Customize AI prompts Customization: Adjust character limits per platform Modify approval thresholds Add/remove social platforms as needed How to customize Content Style: Edit prompt templates in the "Social Media Content Factory" agent node Approval Process: Modify email templates Analytics: Connect to Google Sheets for performance tracking Image Generation: Switch between Pollinations.ai/DALL-E/Midjourney

Build your own LinkedIn and X (Formerly Twitter) integration

Create custom LinkedIn and X (Formerly Twitter) workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

LinkedIn supported actions

X (Formerly Twitter) supported actions

LinkedIn and X (Formerly Twitter) integration details

LinkedIn

LinkedIn

LinkedIn is a professional social networking platform and business community where professionals can share job offers and courses, and post about business news and insights.

X (Formerly Twitter)

X (Formerly Twitter)

Twitter is a microblogging and social networking platform where users can post, share and reply to messages called "tweets" on the platform. It remains one of the world's largest social media websites.

Automate lead management

Using too many marketing tools? n8n lets you orchestrate all your apps into one cohesive, automated workflow.

Learn more

FAQ about LinkedIn integrations

Need help setting up your LinkedIn and X (Formerly Twitter) integration?

Discover our latest community's recommendations and join the discussions about LinkedIn and X (Formerly Twitter) integration.

  • Fikri Tekin

    403 Forbidden Error on X (Twitter) Media Upload

    Fikri Tekin

    Hi everyone, I am trying to upload an image to X (Twitter) using the HTTP Request Node but I keep receiving a 403 Forbidden error. My Setup: n8n Version: 2.1.5 (Self-hosted) Endpoint: https://api.x.com/2/media/up…

    Open topic
  • lexgabrees

    Twitter Authentication not Working

    lexgabrees

    I’ve been trying to connect the Twitter node to well, Twitter. Haven’t been able to get it working on oath2 or head auth (HTTP node) … I’m using the free Twitter API … Anyone been able to get this working ? If so, how…

    Open topic
  • Andrey Khokhlov

    Twitter credentials does not working

    Andrey Khokhlov

    Describe the problem/error/question Twitter is not working, no matter v1 or v2 oauth. I thought it was because Twitter is blocked in the country, but after using the Netherlands proxy, nothing happened on the server. Wh…

    Open topic

Looking to integrate Slack and VirusTotal in your company?

Trusted by teams building smarter workflows.

Why

Why use n8n to integrate LinkedIn with X (Formerly Twitter)

Handle branching, merging and iteration easily. Pause your workflow to wait for external events.

Re-run single steps to test changes in no time. And pin your data to avoid generating trigger events every time you execute.

Your data is displayed alongside your settings, making edge cases easy to track down.

Use 1000+ workflow templates available from our core team and our community.

Copy and paste, easily import and export workflows.

Simple enough to 
understand + sophisticated 
enough to ship