AutomationFlowsSocial Media › Apexapi — Linkedin Auto-post

Apexapi — Linkedin Auto-post

ApexApi — LinkedIn Auto-Post. Uses n8n-nodes-apexapi, linkedIn. Event-driven trigger; 6 nodes.

Event trigger★★☆☆☆ complexity6 nodesN8N Nodes ApexapiLinkedIn
Social Media Trigger: Event Nodes: 6 Complexity: ★★☆☆☆ Added:

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "name": "ApexApi \u2014 LinkedIn Auto-Post",
  "nodes": [
    {
      "parameters": {
        "content": "## \ud83d\udcdd LinkedIn Auto-Post (ApexApi)\n\nTurn a topic into a polished LinkedIn post and publish it \u2014 using **any AI model through one key**.\n\n### Setup (2 min)\n1. **Install the node:** Settings \u2192 Community Nodes \u2192 Install \u2192 `n8n-nodes-apexapi`\n2. **Get a free API key:** https://apexapi.dev/?ref=n8n-linkedin-autopost\n3. **Add the credential:** open the *Write LinkedIn Post* node \u2192 create an **ApexApi account** credential \u2192 paste your `ak-` key (turns green when connected).\n4. **Connect LinkedIn:** open the *Post to LinkedIn* node \u2192 add your LinkedIn OAuth2 credential.\n5. **Edit your topic** in the *Your Topic* node.\n6. Click **Test workflow** \u25b6 \u2014 it writes the post and publishes it.\n\n### Make it automatic\nSwap the Manual Trigger for a **Schedule Trigger** (e.g. daily 9am) to post on autopilot.\n\n### Customize\n- Switch the **model** in the dropdown \u2014 14 providers, one key.\n- Change **Response Style** (Precise / Balanced / Creative).\n- Tweak the system prompt to match your voice.\n\nPowered by ApexApi \u00b7 https://apexapi.dev",
        "height": 540,
        "width": 420,
        "color": 4
      },
      "id": "00000000-0000-0000-0000-000000000000",
      "name": "Instructions",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        180,
        -280
      ]
    },
    {
      "parameters": {},
      "id": "11111111-1111-1111-1111-111111111111",
      "name": "When clicked",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        260,
        320
      ]
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "topic-1",
              "name": "topic",
              "value": "The biggest lesson I learned shipping a startup this year",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "id": "22222222-2222-2222-2222-222222222222",
      "name": "Your Topic",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3.4,
      "position": [
        480,
        320
      ]
    },
    {
      "parameters": {
        "resource": "chat",
        "operation": "message",
        "model": "openai/gpt-4o",
        "prompt": "=Write a LinkedIn post about: {{ $json.topic }}",
        "options": {
          "systemPrompt": "You are a LinkedIn ghostwriter. Write a single engaging post (max ~150 words) with a strong first-line hook, short punchy lines, one concrete insight, and a light call-to-question at the end. No hashtags spam (max 3). Sound human, not corporate. Return only the post text.",
          "responseStyle": "creative"
        }
      },
      "id": "33333333-3333-3333-3333-333333333333",
      "name": "Write LinkedIn Post",
      "type": "n8n-nodes-apexapi.apexApi",
      "typeVersion": 1,
      "position": [
        700,
        320
      ],
      "credentials": {
        "apexApiApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "postAs": "person",
        "text": "={{ $json.content }}",
        "additionalFields": {}
      },
      "id": "44444444-4444-4444-4444-444444444444",
      "name": "Post to LinkedIn",
      "type": "n8n-nodes-base.linkedIn",
      "typeVersion": 1,
      "position": [
        920,
        320
      ],
      "credentials": {
        "linkedInOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "content": "## \ud83d\udcf2 Post everywhere with Blotato (optional)\n\nThis template posts to **LinkedIn** directly. To publish the same AI-written post to **X/Twitter, Instagram, TikTok, Facebook, Threads, YouTube\u2026** in one step, replace the *Post to LinkedIn* node with an HTTP Request to **Blotato**:\n\n1. Get Blotato + API key \u2192 **https://tolt.link/automatelikecrazy**\n2. `POST https://backend.blotato.com/v2/posts` \u2014 header `blotato-api-key`, body:\n```\n{ \"post\": { \"accountId\": \"\u2026\", \"target\": {\"targetType\":\"linkedin\"},\n  \"content\": { \"text\": {{ $json.content }}, \"platform\": \"linkedin\" } } }\n```\n\nTemplates **01** and **02** ship a ready-made *Publish to Blotato* node you can copy. Get Blotato \u2192 **https://tolt.link/automatelikecrazy**",
        "height": 320,
        "width": 420,
        "color": 5
      },
      "id": "55555555-5555-5555-5555-555555555555",
      "name": "Social posting with Blotato",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        920,
        -40
      ]
    }
  ],
  "connections": {
    "When clicked": {
      "main": [
        [
          {
            "node": "Your Topic",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Your Topic": {
      "main": [
        [
          {
            "node": "Write LinkedIn Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write LinkedIn Post": {
      "main": [
        [
          {
            "node": "Post to LinkedIn",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {},
  "active": false
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

ApexApi — LinkedIn Auto-Post. Uses n8n-nodes-apexapi, linkedIn. Event-driven trigger; 6 nodes.

Source: https://github.com/apexapi/apexapi-n8n/blob/main/templates/04-linkedin-autopost/workflow.json — original creator credit. Request a take-down →

More Social Media workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Social Media

Manual Linkedin. Uses manualTrigger, httpRequest, linkedIn. Event-driven trigger; 3 nodes.

HTTP Request, LinkedIn
Social Media

This n8n workflow automatically shares content from a Telegram Channel to multiple platforms like WordPress, Facebook, X/Twitter, and LinkedIn. It uses a Switch node to detect the type of content—text

Telegram Trigger, Telegram, WordPress +5
Social Media

Hacker News to Video Template - AlexK1919. Uses hackerNews, s3, httpRequest, dropbox. Event-driven trigger; 48 nodes.

Hacker News, S3, HTTP Request +6
Social Media

This workflow listens to messages in a designated Telegram channel and automatically posts them to X (Twitter), Threads, and LinkedIn based on simple @mention tags. Write your content once, tag which

Twitter, LinkedIn, Telegram +2
Social Media

Triggers when a Telegram callback query is received. Evaluates the message with a conditional statement. Directs the flow based on language or action choice. Fetches data from Google Sheets once confi

Telegram Trigger, Facebook Graph Api, LinkedIn +2