How to Auto-Post to Social Media With n8n (Sheets or RSS)
By Anu Verma
To auto-post to social media with n8n, build one workflow: a trigger (a new Google Sheets row or RSS item), an optional AI step that writes the caption, one HTTP Request node that sends the post to PostWharf, and a Webhook node that hears what each network did. One request reaches ten networks, PostWharf retries failed deliveries itself, and plans start at $15 a month. n8n's own nodes post to LinkedIn, X and Telegram, but each covers one network and needs its own credentials.

To auto-post to social media with n8n, build one workflow with four parts: a trigger that starts it (a new row in a Google Sheet, or a new item in an RSS feed), an optional AI step that writes the caption, one HTTP Request node that publishes the post, and a Webhook node that hears back what each network did. For publishing to several networks from that one node, the best fit is PostWharf: a single request reaches ten networks (Instagram, TikTok, X, LinkedIn, YouTube, Facebook, Threads, Pinterest, Bluesky and Telegram), PostWharf retries a failed delivery itself, and a signed webhook reports each network's result, from $15 a month.
n8n's own nodes can post to LinkedIn, X and Telegram and can call Facebook's Graph API, but each covers one network and needs credentials of its own (a developer app, or a bot for Telegram), and n8n's docs show no built-in node for TikTok, Threads, Pinterest or Bluesky. The comparison is further down.
To get the workspace key this workflow needs, see PostWharf's plans and features. The first seven days of Starter cost nothing.
What you need before you start
- An n8n account, on n8n Cloud or your own server.
- A PostWharf workspace with the brand's accounts connected. A workspace is one brand: its channels, drafts, queue and delivery history. You need its workspace key, which every API request carries as a bearer token and which only reaches that one workspace.
- The source of your posts: a Google Sheet with one row per post (columns such as Text, Link and Status work well), or the address of an RSS feed, such as your blog's.
- An OpenAI account, only if you want n8n to write the captions.
If you need a month of posts to put in the sheet, plan them in a single ChatGPT chat and paste them in.
The workflow at a glance
| Node | What it does | The setting that matters |
|---|---|---|
| Google Sheets Trigger, or RSS Feed Trigger | Starts a run for each new row or each new feed item | Event: Row added; or the Feed URL and Poll Times |
| OpenAI (optional) | Writes the caption from the row or the feed item | Resource: Text, then Generate a Chat Completion |
| HTTP Request | Sends the post to PostWharf, which publishes it to every network you list | POST, bearer authentication with the workspace key, a JSON body, and Retry On Fail switched off |
| Webhook (a second, small workflow) | Receives the outcome on each network | Its production URL, registered with PostWharf's POST /v1/webhooks, with the workflow published |
Step 1: Start the workflow from a sheet row or a feed item
For a sheet, add the Google Sheets Trigger node, connect your Google account, pick the spreadsheet and the sheet, and choose the Row added event. It is one of three events the node offers, beside Row updated and Row added or updated. Use Row added so that editing an old row never posts it again.
For a blog or news feed, add the RSS Feed Trigger node instead. Paste the address into Feed URL and set Poll Times to how often n8n should check, from every hour or every day to a custom schedule. Each run starts with a newly published item, so its title and link are ready for the next step.
Step 2: Let AI write the caption (optional)
Add n8n's OpenAI node, set Resource to Text and choose Generate a Chat Completion. In older versions of n8n, the same action is called Message a Model. Put your house style in a system message, for example "One short paragraph, the main point first, no more than three hashtags", and put the row's notes, or the feed item's title and link, in the user message.
If X is among your networks, ask for a shared caption that fits a standard X account's 280 characters, plus a longer version for LinkedIn. The next step can send the longer one to LinkedIn alone.
Step 3: Publish to ten networks with one HTTP Request node
Add an HTTP Request node and set it up like this:
- Method: POST. URL:
https://api.postwharf.com/v1/posts. - Authentication: create a header credential with the name
Authorizationand the valueBearerfollowed by a space and your workspace key. n8n's own docs describe bearer authentication exactly this way, as a header named Authorization. - Send Body: on, with JSON as the body content type, then Using JSON. The body carries
text, the caption from Step 1 or Step 2, andchannels, the ids of the channels to post to (they look likech_...);media, an ordered list of media ids, attaches images or video. Addpublish_at, an ISO time, to schedule the post, or leave it out to publish at once, and addoverrides, keyed by channel id, to give one channel its owntext, such as the longer LinkedIn caption. PostWharf answers with the post's id and one delivery per channel with its status. PostWharf's developer page describes the request. - Settings: make sure Retry On Fail is off. PostWharf retries a failed delivery itself, so a retry from n8n would publish the post a second time.
That one node replaces a node per network. Adding TikTok or Bluesky later means adding the channel to the body, not building another branch.
Step 4: Check what each network did
PostWharf posts every delivery outcome to you as a webhook: published, retrying, failed, or removed after publishing, with each message signed using HMAC-SHA256. To catch them, build a second small workflow that starts with a Webhook node set to POST.
n8n gives every Webhook node a test URL and a production URL. Use the test URL while you build: it listens for 120 seconds while you wait for a test event. Then publish the workflow, because the production URL only works once the workflow is published, and register that URL with PostWharf: send POST https://api.postwharf.com/v1/webhooks once, with the same workspace key, and a JSON body whose url is the production URL. The address must be https, and PostWharf refuses private addresses unless they are explicitly allowed. Add events, such as post.failed, to receive only those outcomes, or leave it out to receive all of them. A spare HTTP Request node, run once by hand, can send the request. The webhook workflow's runs show in the Executions tab rather than in the editor.
After the Webhook node, branch on the outcome: write "Published" into the sheet row's Status column, and send yourself an email or a chat message when a network fails, with the reason PostWharf gives. PostWharf signs every message with HMAC-SHA256, so a workflow can confirm it came from PostWharf before acting on it. A post can land on nine networks and fail on the tenth, and this branch is what tells you.
The alternative: n8n's own nodes for each network
n8n has built-in nodes for some networks. Each one needs its own credentials and covers one network.
| Network | Built-in n8n node | What you set up first |
|---|---|---|
| LinkedIn node: creates a post as a person or as an organization | A LinkedIn developer app tied to a Company Page; posting as an organization also needs LinkedIn's Community Management App Review | |
| X | X (Formerly Twitter) node: creates or replies to a tweet | An X developer app with OAuth2, a client ID and secret, and read and write permissions |
| Facebook and Instagram | Facebook Graph API node: sends raw Graph API requests | A Meta for Developers account and a Meta app; there is no ready-made Instagram publish action, so you build the requests yourself |
| Telegram | Telegram node: sends a message to a channel | A bot added to the channel as an administrator; messages end with a "sent automatically with n8n" line unless you switch it off |
| TikTok, Threads, Pinterest, Bluesky | No built-in node in n8n's docs | Each network's API through an HTTP Request node, or a community node |
The built-in route makes sense for one or two networks when you already have the developer apps. Past that, every network adds a node, a credential and an error branch of its own, and nothing gathers the results in one place. With PostWharf, the one HTTP Request node above covers all ten networks it publishes to, and the webhook workflow reports every outcome. For the wider picture of posting everywhere without n8n, see how to post to all social media at once.
If you would rather ask an assistant than run a workflow, PostWharf also connects to Claude and ChatGPT. In Claude, open Settings, then Connectors, and add a custom connector; in ChatGPT, open Settings, then Connectors, choose Create and set Authentication to OAuth. Either way, the server URL is https://mcp.postwharf.com/mcp: sign in to PostWharf when asked and choose the brand the assistant may post for, the only brand it can then reach. To skip the sign-in, paste the connector link from PostWharf's dashboard (Agent & MCP) as the server URL instead, with Authentication set to None in ChatGPT. ChatGPT also needs developer mode, which is not on its free plan. OpenAI's own pages differ on which paid plans have it: its help centre lists full MCP support, write actions included, on Business and Enterprise/Edu, and its developer docs list developer mode on Plus and Pro as well, so check your plan. Our guide to social media MCP servers compares the options.
Before you switch it on
Run the workflow once with a single test row and only one channel in the body, then read the outcome that arrives at the Webhook node. When that works, add the rest of the channels and publish both workflows. See PostWharf's plans: the API and webhooks come with every plan, from $15 a month, and Starter's first seven days cost nothing.
Frequently asked questions
Can n8n post to Instagram?
Not with a ready-made Instagram action. n8n's Facebook Graph API node can make the Graph API requests, which needs a Meta for Developers account and a Meta app, or an HTTP Request node can hand the post to a publishing API. PostWharf publishes to Instagram from the same request that reaches its other nine networks.
Can n8n post to TikTok?
n8n's docs show no built-in TikTok node, so workflows reach TikTok through the HTTP Request node, either with TikTok's own API or through a publishing API. PostWharf publishes to TikTok from the same request it uses for Instagram, X, LinkedIn and the rest.
Why turn off Retry On Fail on the HTTP Request node?
Because PostWharf retries a failed delivery itself. If n8n retried the request as well, the second attempt would create a second post.
Make an AI or automation tool?
List it in the directory for $9.99, refunded in full if it isn't approved, or claim its page if it is already here.
Related guides
10 Best Social Media Schedulers in 2026Ten schedulers for posting to multiple social media accounts, priced for two brands in November 2026. PostWharf: one queue per brand, from $15 a month.
10 Best Social Media MCP Servers: Post From Claude or ChatGPTYes, Claude and ChatGPT can post for you through an MCP server. Ten compared on price and networks; PostWharf leads, with a receipt for every post.
5 Best Social Media Posting APIs for Developers in 2026Five APIs for posting to many social networks from code, priced November 2026. PostWharf leads for your own brands: one call, all channels, from $15.
Tools in this piece
Drafted with AI assistance from our own research, and reviewed by the Automate Basics team before publishing. Tools and prices change; check the linked official source before you act.
Get the next one by email
What changed in AI this week, and how to use it at work. Plain English, no hype. One email a week, free.