Would you rather we built and ran it for you? Get a free visibility check: we look at your social accounts and at how your business shows up on Google and in AI answers, then agree what social media should do for you.
Key takeaways
- One node for every network. An HTTP Request node posting to PostWharf reaches Instagram, TikTok, X, LinkedIn, YouTube, Facebook, Threads, Pinterest, Bluesky and Telegram, so there is no node per network to maintain.
- Two languages, one row. The English caption is the post's text; the Arabic caption goes to the Arabic accounts as a per-channel override.
- Turn Retry On Fail off on the publishing node. PostWharf retries the delivery itself, and a retry from n8n would be a second post.
- Check every network, not just the request. A second workflow with a Webhook node logs each delivery event (succeeded, retrying, failed) into the sheet.
- Other routes by need: LinkedIn only, n8n's own LinkedIn node can post without a second tool (to a company page once LinkedIn has approved your app); Facebook and Instagram only, Meta's Business Suite schedules both for free without n8n.
- What you need
- Set up the sheet
- Step 1: pick up rows marked ready
- Step 2: register the image
- Step 3: publish to every network
- Step 4: write the post ID back
- Step 5: log what each network did
- Test it, then publish the workflows
- Mistakes that cost a post
- When n8n is more than you need
- Questions people ask
What you need
- n8n. Its own pricing page lists a free self-hosted Community Edition, and n8n Cloud from €20 a month billed annually (Starter, 2,500 executions). Either works for this, as long as step 5's workflow can be reached at a public https address.
- A Google Sheets credential in n8n for the account that owns the sheet.
- A PostWharf workspace for the brand, with its accounts connected, and a workspace key from Settings > API keys. A key reaches one workspace, so one brand. PostWharf starts at $15 a month (Starter: one brand, unlimited channels, 200 scheduled posts a month), and the first post is free.
- The channel IDs. A GET request to https://api.postwharf.com/v1/channels with the key lists the brand's connected channels. Note the IDs of the channels you want; they start with ch_.
Set up the sheet
One tab called Posts, one row per post, with these columns. Format publish_at as plain text so Google Sheets doesn't turn it into a date.
| Column | What goes in it | Example |
|---|---|---|
| row_id | A number you never reuse | 14 |
| publish_at | Date and time with the UAE offset | 2026-12-02T09:00:00+04:00 |
| text_en | The English caption | Open 10am to 10pm on 2 and 3 December. Come and see the new collection. |
| text_ar | The Arabic caption | مفتوح من 10 صباحاً حتى 10 مساءً يومي 2 و3 ديسمبر. تعالوا لمشاهدة المجموعة الجديدة. |
| image_url | A public https link to the image | https://example.com/images/collection.jpg |
| image_alt | A description of the image | Shop window with the new collection on display |
| status | draft while you write, ready once approved | ready |
| post_id | Left empty; n8n fills it |
The status column is your approval step. Whoever signs off the month changes draft to ready, and nothing else moves. Add a second tab called Deliveries with the columns delivery_key, post_id, channel, event and error; step 5 fills it.
Step 1: pick up rows marked ready
Add a Google Sheets Trigger node on the Posts tab with the event Row added or updated. It is a polling trigger: it checks the sheet on the schedule you set, and if n8n was down when a check was due, it skips that run and carries on at the next one.
Then add a Filter node and rename it Ready rows. Keep items that match all of these conditions: status is equal to ready, and post_id is empty. The trigger fires on every edit, including the one step 4 makes, so this filter is what stops a row being posted twice.
Step 2: register the image
Instagram won't take a post without an image or video (Meta says the same for Business Suite), so give every row that goes there an image. PostWharf posts refer to media by an ID, and you get one by registering the image's public address.
Add an HTTP Request node named Register image:
- Method POST, URL https://api.postwharf.com/v1/media
- Authentication: Generic Credential Type, then Bearer Auth, with your PostWharf key as the token. Save it as a credential and reuse it in every PostWharf node.
- Send Body on, Body Content Type JSON, Specify Body Using JSON:
{
"url": "{{ $json.image_url }}",
"kind": "image",
"alt": "{{ $json.image_alt }}"
}
PostWharf's examples show media IDs starting with med_, but its pages don't show this response, so the next node assumes the ID is in a field called id, as it is in the post response; if your output panel shows it under another name, map that one instead.
Step 3: publish to every network
Add a second HTTP Request node named Publish, with the same credential: method POST, URL https://api.postwharf.com/v1/posts, and this JSON body. Replace the channel IDs with yours: here ch_ig_en, ch_fb, ch_li, ch_x_en and ch_tt are the English or shared accounts, and ch_ig_ar and ch_x_ar are the brand's Arabic accounts.
{
"text": {{ JSON.stringify($('Ready rows').item.json.text_en) }},
"media": ["{{ $json.id }}"],
"channels": ["ch_ig_en", "ch_ig_ar", "ch_fb", "ch_li", "ch_x_en", "ch_x_ar", "ch_tt"],
"overrides": {
"ch_ig_ar": { "text": {{ JSON.stringify($('Ready rows').item.json.text_ar) }} },
"ch_x_ar": { "text": {{ JSON.stringify($('Ready rows').item.json.text_ar) }} }
},
"publish_at": "{{ $('Ready rows').item.json.publish_at }}"
}
$('Ready rows').item reads the sheet row from the Filter node, because the previous node's output is now the image response. JSON.stringify keeps quotes and line breaks in a caption from breaking the request. And overrides gives one channel its own wording, which is how the Arabic accounts get text_ar while every other channel gets text_en. If you post one bilingual caption on a single set of accounts, drop overrides and put that caption in text_en.
Then open the node's Settings and make sure Retry On Fail is off. PostWharf's n8n page is plain about why: if the node retries after PostWharf has already accepted the request, the retry is a second post, not a second try at the first one. PostWharf retries the delivery itself.
Leave out publish_at and the post goes out straight away; keep it, and it is scheduled. PostWharf answers with the post's ID and one delivery per channel, each starting as pending. For PostWharf's own reference for this node, see its n8n page.
Step 4: write the post ID back
Add a Google Sheets node with the operation Append or Update Row on the Posts tab. Set Column to Match On to row_id, and map:
- row_id: {{ $('Ready rows').item.json.row_id }}
- post_id: {{ $json.id }}
- status: queued
The row now shows the post is in the queue, and the filter in step 1 will ignore it from here on. To change a queued post, edit it in PostWharf; editing the row won't send it again.
Step 5: log what each network did
A successful response from the Publish node means PostWharf accepted the post, not that Instagram or TikTok published it. Networks refuse posts for expired logins, wrong formats and their own limits, so the result has to come back per network. Build a second workflow for it:
- Webhook node, HTTP method POST. Copy its Production URL.
- Register that URL with PostWharf once, by sending a POST to https://api.postwharf.com/v1/webhooks with a body of {"url": "your production URL"} from an HTTP Request node or the command line. With no events listed, it receives all of them. The answer includes a signing secret that starts with whsec_ and is shown only once, so store it then. The URL has to be public https: PostWharf refuses private addresses, so a self-hosted n8n needs a public https address for this step.
- Filter node: keep items where {{ $json.headers['x-postwharf-event'] }} is equal to delivery.succeeded, delivery.failed or delivery.retrying (any condition). PostWharf names the event in that header on every webhook.
- Google Sheets node, Append or Update Row on the Deliveries tab, Column to Match On delivery_key, mapping delivery_key to {{ $json.body.data.post }}-{{ $json.body.data.channel }}, post_id to {{ $json.body.data.post }}, channel to {{ $json.body.data.channel }}, event to {{ $json.headers['x-postwharf-event'] }} and error to {{ $json.body.data.error }}. Check the paths against the test event you capture before you publish.
Each post now gets one Deliveries row per network, updated as its status changes. Succeeded means it is live. Retrying means PostWharf is trying again, so don't resend. Failed comes with an error and an action, such as token_expired with reconnect_required, which tells you to reconnect that account in PostWharf. Every delivery is signed: its X-PostWharf-Signature header reads t=<unix time>,v1=<hex>, where v1 is an HMAC-SHA256 of the timestamp, a dot and the raw request body, keyed with your whsec_ secret, so you can check a request came from PostWharf before trusting it.
Test it, then publish the workflows
- Add one test row with status draft, then set it to ready.
- For a first pass that publishes nothing, add "dry_run": true to the Publish node's body and run the workflow by hand, watching each node's output: PostWharf runs every check and writes nothing. Then take dry_run out, clear the row's post_id and set its status back to ready.
- Run it again for real. Your first PostWharf post is free, so the first real post costs nothing.
- In the results workflow, select Listen for test event on the Webhook node. The test URL stays open for 120 seconds and shows incoming data in the editor; register the test URL temporarily if you want to watch a delivery arrive.
- When both work, publish both workflows. n8n registers the production webhook when you publish, and production runs appear in the workflow's Executions tab rather than in the editor.
Mistakes that cost a post
- Retry On Fail left on. The one setting that can post the same thing twice.
- An Instagram row with no image. Keep image_url filled for every row that goes to Instagram.
- A time without the offset. Write +04:00 at the end of publish_at so 9am means 9am in Dubai.
- Long Arabic captions on X. X allows 280 characters, and PostWharf's GET /v1/platforms lists each network's limits. Add a short text_x column and use it as the override for your X channels if your captions run long.
- Advertising posted by someone else. If a freelancer or creator publishes your advertising, read our guide to the UAE Advertiser Permit before the posts are queued: since 1 February 2026, people who publish advertising for others on social media need one.
When n8n is more than you need
n8n earns its place when posts start somewhere else (a sheet, a CMS, a product feed) or when publishing is one step in a longer workflow. If you only want posts drafted and queued, an AI assistant connected to a scheduler is less to maintain; our guide to posting with Claude or ChatGPT sets that up. If you just want a calendar and a composer, compare social media schedulers without per-channel fees.
You can skip the publishing tool for some networks: n8n's LinkedIn node creates posts as a person once LinkedIn's Share on LinkedIn and Sign In with LinkedIn products are set up, and as an organisation, such as a company page, only after LinkedIn approves your app through its Community Management review, and its Facebook Graph API node makes general calls to Meta's API. We found no node in n8n's docs that publishes an Instagram post directly, and every network added this way is one more credential to keep alive.
Questions people ask
Can n8n post to Instagram, TikTok and LinkedIn at the same time?
Yes, if one request goes to a publishing tool that has all the accounts connected. With PostWharf, one HTTP Request node publishes a post to every channel you list, across up to ten networks. n8n's own LinkedIn node posts to LinkedIn, but we found no node in its docs that publishes to Instagram directly.
Is n8n free?
n8n's pricing page lists a free self-hosted Community Edition; you pay for your own server. n8n Cloud starts at €20 a month billed annually, on the Starter plan with 2,500 executions. PostWharf, the publishing side here, starts at $15 a month, and the first post is free.
How do I post in English and Arabic from one row?
Put the English caption in the post's text and the Arabic caption in an override for each Arabic account. PostWharf sends each channel its own wording from the same request. If you post one bilingual caption to a single set of accounts, skip the overrides.
Sources
- docs.n8n.io: Google Sheets Trigger (events), Durable scheduler (poll triggers skip missed runs), Filter, HTTP Request and HTTP Request credentials (JSON body, Bearer Auth), Handling API rate limits (Retry On Fail), Reference previous nodes, Expressions (the request body under $json.body), Google Sheets sheet operations (Append or Update Row, Column to Match On), Webhook workflow development (test and production URLs, the 120-second test window, Executions), LinkedIn credentials (organisation posts need LinkedIn's Community Management review), LinkedIn and Facebook Graph API nodes (web searches, 26 November 2026)
- n8n.io/pricing: Community Edition and Cloud Starter (web search, 26 November 2026)
- postwharf.com/ai/n8n: no custom node, one HTTP Request node, retry off, signed webhooks (read 25 and 26 November 2026)
- postwharf.com/developers: post body fields, overrides, dry runs, channel list, keys, webhook events, network limits (read 25 and 26 November 2026)
- postwharf.com/blog/how-to-auto-post-to-social-media-with-n8n: the event header, the signature header and the whsec_ signing secret (read 26 November 2026)
- postwharf.com/docs/api/reference: registering media by URL, registering a webhook, public https only (read 26 November 2026)
- postwharf.com/pricing: plans, first post free (read 25 November 2026)
- api.postwharf.com/healthz: the ten networks PostWharf publishes to (read 25 November 2026)
- facebook.com/business/help: posts to Instagram must include media (web search, 26 November 2026)
Rather not build it yourself?
Our social media automation service plans the month, writes and checks the Arabic versions, sends everything to you for one review, publishes on schedule and checks every post went live. Get a free visibility check to start.
Get a free visibility checkWant to be included in this article? Email [email protected].