n8n social media automation: post everywhere from one workflow

By Abhishek BR · Published · 9 min read

n8n can post to social media, but wiring X, LinkedIn, Instagram and TikTok separately means four developer apps and four sets of quirks. Here is a workflow that posts to all of them with one HTTP Request node, with copy-paste settings.

Short answer: n8n is great at the trigger and the content (a schedule, a Google Sheet, an RSS feed, an AI step). The hard part is publishing: each network needs its own developer app, OAuth setup and media rules. The simplest pattern is to let n8n build the post and send it to one publishing API with an HTTP Request node, which then posts to every network you connected.

This guide builds that workflow with Social0's API, step by step. The same shape works with any unified posting API.

Why not use n8n's built-in social nodes?

n8n ships nodes for some networks, such as X and LinkedIn. They work, but each one needs credentials from that network's own developer program, and you build and maintain a separate branch per network. Coverage is uneven: TikTok, Threads and Bluesky publishing usually mean raw API calls, and Instagram means the Graph API with its container-then-publish flow. The posting API guide covers what each network asks for.

Two ways to post from n8n
One node per networkOne publishing API
Developer apps to set upOne per networkNone (connect accounts in the dashboard)
Nodes in the workflowOne branch per networkOne HTTP Request node
TikTok, Threads, BlueskyCustom API callsSame request as every other network
SchedulingWait node or your own queueA scheduledAt field
FailuresHandled per branchOne status per network, plus webhooks

Step 1: connect accounts and create an API key

  1. In Social0, connect the networks you want under Connections. OAuth stays in the dashboard; n8n never sees your social passwords.
  2. Open Developer → API keys, create a key, and copy the sk_live_… value (it's shown once).
  3. In n8n, create a credential of type Header Auth: name Authorization, value Bearer sk_live_….

Step 2: get your account IDs

Posts target account IDs, not network names. Add a temporary HTTP Request node, run it once, and copy the id of each account you want to post to:

Method:          GET
URL:             https://api.social0.app/v1/accounts
Authentication:  Generic Credential Type → Header Auth (the credential from step 1)

Step 3: the publish node

This one node does the posting. Set it up like this:

Method:          POST
URL:             https://api.social0.app/v1/posts/schedule
Authentication:  Header Auth (same credential)
Send Body:       JSON
Body:
{
  "content": "{{ $json.text }}",
  "platforms": ["ACCOUNT_ID_1", "ACCOUNT_ID_2"],
  "scheduledAt": "{{ $json.publishAt }}"
}

Step 4: pick a trigger

Put one of these in front of the publish node. Each one only has to output text (and publishAt if you're scheduling):

Step 5: know when a post fails

Add a Webhook node in a second workflow and register its URL in Social0 for the post.published and post.failed events. Social0 then calls n8n when each post finishes, with a per-network status. Send failures to Slack so a rejected video or an expired login doesn't go unnoticed. Every delivery is signed in the X-Social0-Signature header, so you can check it really came from Social0. Why scheduled posts fail covers the usual causes.

Adding images and video

Media is three calls: ask for an upload URL (POST /v1/media/presign), upload the file to that URL with an HTTP PUT, then confirm it (POST /v1/media/confirm) to get a media ID. Put the ID in a media array on the post. In n8n that is three HTTP Request nodes in a row. Images can be up to about 50 MB and videos about 500 MB, and the file must match each network's specs: see the video specs guide.

Limits to plan around

Get an API key and post to 9 networks from n8n. Free plan includes the API, no credit card. See the Social0 API

Frequently asked questions

Can n8n post to social media automatically?

Yes. Use a trigger (Schedule, Google Sheets, RSS or a webhook), build the post text, and send it to a publishing API with an HTTP Request node, or use n8n's own nodes for each network.

Can n8n post to Instagram and TikTok?

Not with a simple built-in node for every case. Instagram needs the Graph API's two-step container flow, and TikTok needs an approved Content Posting API app. A unified API like Social0 handles both through the same HTTP Request node.

How do I schedule posts from n8n?

Either hold the item with a Wait node until the time comes, or send it straight away to an API that accepts a future time. Social0's /v1/posts/schedule takes a scheduledAt field up to a year ahead, so n8n doesn't need to stay running until then.

How do I stop n8n from posting twice?

For immediate posts, send an Idempotency-Key header that is unique per post, such as the spreadsheet row ID; a retry within 24 hours gets the original response instead of a duplicate. For scheduled posts, mark the row as scheduled as soon as the request succeeds so the next run skips it.

Do I need a paid plan to use the Social0 API from n8n?

No. The API is on every plan, including Free (3 accounts, 10 posts). Paid plans raise the post and account limits and the hourly API quota.

Related

All guides · Social0 · Pricing