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.
| One node per network | One publishing API | |
|---|---|---|
| Developer apps to set up | One per network | None (connect accounts in the dashboard) |
| Nodes in the workflow | One branch per network | One HTTP Request node |
| TikTok, Threads, Bluesky | Custom API calls | Same request as every other network |
| Scheduling | Wait node or your own queue | A scheduledAt field |
| Failures | Handled per branch | One status per network, plus webhooks |
Step 1: connect accounts and create an API key
- In Social0, connect the networks you want under Connections. OAuth stays in the dashboard; n8n never sees your social passwords.
- Open Developer → API keys, create a key, and copy the
sk_live_…value (it's shown once). - In n8n, create a credential of type Header Auth: name
Authorization, valueBearer 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 }}"
}- Publish now instead of scheduling: use
/v1/posts/publishand dropscheduledAt. - Time format:
scheduledAttakes an ISO time such as2026-12-01T09:00:00Z, an explicit offset like+05:30, or+defaultto use the time zone set in your Social0 settings. It must be in the future and within a year. - No double posts on retries: on the publish endpoint, add an
Idempotency-Keyheader that is unique per post, such as the sheet row ID; a retry with the same key gets the original response back instead of a second post. For scheduled posts, mark the row as done right after the node succeeds (step 4) so the next run skips it.
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):
- Google Sheets content calendar: a Schedule Trigger every hour → Google Sheets (read rows where Status is "ready") → publish → Google Sheets (set Status to "scheduled"). Writers fill in a sheet; n8n does the rest. The content calendar guide has a column layout that works.
- Blog or changelog to social: an RSS Feed Trigger on your blog → an AI step that writes a short post from the title and summary → publish. Every new article gets announced automatically.
- AI-written posts with review: an AI step drafts the post → n8n sends it to Slack or email for approval → on approval, publish. Keep a human in the loop for anything public.
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
- API rate limits are per hour and depend on your plan (the free plan allows 60 requests an hour), which is plenty for a posting workflow that runs every hour.
- Platform rules still apply: Instagram's 5-hashtag cap, X's 280 characters, TikTok's privacy rules. Check copy with the free post previews before you automate it.
- Write different text per network when it matters. One message cross-posted everywhere is fine for announcements; cross-posting vs repurposing covers when to rewrite.
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