Skip to content
n8n integration

n8n social media automation: post to TikTok, Instagram and YouTube

Works today via HTTPGet a test key

You can post to TikTok, Instagram and YouTube from n8n with one HTTP Request node that calls POST /posts, plus a Webhook node that receives post.published and post.failed. There is no PostMyReels node, and no community node is needed. This guide has the exact node settings, a JSON body you can paste, and three workflows.

·6 min read·PostMyReels team

Workflow diagram on a monitor with connected nodes, a person's hands on the keyboard

The setup in four lines: create a Header Auth credential (Authorization: Bearer pmr_live_...), add an HTTP Request node with method POST to /posts, send a JSON body with profile, platform and media, and add a Webhook node to hear back when it publishes or fails. Start with a pmr_test_ key; it posts nothing.

What you need before you start

  • A free PostMyReels account with a profile and at least one connected TikTok, Instagram or YouTube account. Instagram must be a Business or Creator account linked to a Facebook Page.
  • An API key. pmr_test_ keys validate every request and simulate deliveries without posting. pmr_live_ keys publish for real.
  • An n8n instance (cloud or self-hosted) where the Webhook node is reachable from the internet, if you want callbacks.
  • A video at a public URL. For large files, upload through POST /media/uploads and pass the returned media_id instead.

The full endpoint list is in the developer overview. This page only covers what n8n needs.

Triggernew file, row or RSS item
Caption steptemplate or AI
HTTP RequestPOST /posts
Webhookpublished or failed → notify
Any automation tool that can send an HTTP request can publish to TikTok, Instagram and YouTube.

Why the HTTP Request node, not a dedicated node

PostMyReels does not ship a native n8n node or a community node. You do not need one: the REST API is plain JSON, and the built-in HTTP Request node covers authentication, JSON bodies, retries and timeouts. The upside is that you control every field and nothing breaks when a node package falls behind the API.

Step 1: create the credential (Header Auth)

  1. In n8n, open Credentials and create a new credential of type Header Auth.
  2. Set Name to Authorization.
  3. Set Value to Bearer pmr_test_your_key. Swap in a pmr_live_ key when you are ready to publish.
  4. Name the credential something like "PostMyReels test" so you can tell test and live apart.

Keeping the key in a credential, not in the node, stops it from showing up in exported workflows.

From a new file to a published post, no code
From a new file to a published post, no code

Step 2: configure the HTTP Request node

Add an HTTP Request node and set these fields (labels as in the current n8n HTTP Request docs):

FieldValue
MethodPOST
URLhttps://api.postmyreels.com/api/v1/posts
AuthenticationGeneric credentials, then Header Auth, and pick your credential
Send HeadersOn. Add Idempotency-Key with an expression such as {{ $json.id }} so a retried run never double-posts
Send BodyOn
Body Content TypeJSON
Specify BodyUsing JSON
Options → TimeoutOptional. The API answers fast because posting is asynchronous

The API replies 202 Accepted immediately with a post_id and a list of deliveries. Publishing happens afterwards, which is why the webhook in step 4 matters.

Step 3: the JSON body

Paste this into the JSON field of the node. n8n expressions, written with double curly braces, pull values from the previous node:

{
  "profile": "bakery-kowalski",
  "platform": ["tiktok", "instagram", "youtube"],
  "media": [{ "url": "{{ $json.video_url }}" }],
  "title": "{{ $json.title }}",
  "caption": "{{ $json.caption }}",
  "scheduled_at": "2026-12-20T09:30:00",
  "timezone": "America/New_York",
  "external_id": "{{ $json.id }}",
  "tiktok": { "privacy_level": "PUBLIC_TO_EVERYONE" },
  "instagram": { "media_type": "REELS", "share_to_feed": true },
  "youtube": { "title": "{{ $json.title }}", "privacy_status": "public" }
}

Notes on the fields:

  • profile is a profile id or slug. platform picks the accounts inside that profile.
  • Leave out scheduled_at to publish now, or set a future time. Without a UTC offset it is read in the timezone you send.
  • external_id is your own label (a row id, a file name). It comes back on the post and in webhooks, which makes matching results to source rows easy.
  • While TikTok's audit of our app is pending, TikTok posts are forced to private ("Only me"), whatever privacy_level says. YouTube uploads publish with the privacy you choose, and a daily API quota, still the default while our increase request is reviewed, limits how many go out per day. Instagram opens after Meta's review.

Already using Upload-Post in n8n? The flat field names (user, platform[], tiktok_title, privacy_level) and the Apikey header are accepted, so migrating a flow is mostly changing the URL and the key.

Step 4: receive post.published and post.failed in a Webhook node

  1. Add a Webhook node. Set HTTP Method to POST and pick a Path.
  2. Copy the Production URL once the workflow is published. The Test URL only works while you are listening for a test event in the editor (see the n8n Webhook docs).
  3. Register it with the API:
curl -X POST https://api.postmyreels.com/api/v1/webhooks \
  -H "Authorization: Bearer pmr_live_xxx" -H "Content-Type: application/json" \
  -d '{"url":"https://your-n8n.example.com/webhook/pmr","events":["post.published","post.failed"]}'

The response includes a secret (whsec_...), shown once. Store it. Deliveries carry an X-PMR-Signature header, an HMAC-SHA256 over the timestamp and raw body, so enable the Webhook node's Raw Body option if you verify it.

The payload has type (post.published or post.failed) and data.post with the status, your external_id and each delivery's platform, URL or error. Use an IF or Switch node on {{ $json.body.type }} to branch. Respond with a 2xx within 10 seconds; failed deliveries are retried with backoff, and events can repeat, so dedupe on the event id.

Use the pmr_test_ key first. Statuses move from queued to published after a few seconds with a fake platform id, so you can build the whole flow without posting anything.

Workflow idea 1: RSS or Drive folder to video post

For a blog, podcast or a folder of finished clips:

  1. RSS Feed Trigger (or a Google Drive trigger watching a folder).
  2. A Set node maps title, link and a public video URL to video_url, title and caption.
  3. The HTTP Request node posts it with external_id set to the item's guid or file id.
  4. The Webhook workflow writes published and the post URL back to a sheet.

Drive files are not public by default. Give the file a direct public link, or upload it through /media/uploads and send the media_id.

Workflow idea 2: an AI caption step

Insert an AI node (OpenAI, Anthropic or any model you already use) between the trigger and the post. Pass the video title or transcript, ask for a caption under 2,200 characters plus a shorter YouTube title (YouTube titles cap at 100), and map the output to caption and youtube.title. Keep a human in the loop for brand-sensitive accounts: send the draft to Slack or email, wait for approval with a Wait node, then post. The caption step is optional. The posting call works the same without it.

Workflow idea 3: retry on failure

Failures have two kinds. Some fix themselves, like a platform rate limit or an outage, and PostMyReels retries those automatically. Others need a human, like a wrong aspect ratio or an expired account.

  1. In the Webhook workflow, branch on post.failed.
  2. Read each failed delivery's error_code and fix.
  3. If the delivery is retryable, call POST /posts/{id}/retry from another HTTP Request node, optionally after a Wait node.
  4. If not, send the fix text to Slack or email with a link to the post, so a person re-exports the file or reconnects the account, then retries from the dashboard or the API.

On the n8n side, the node-level retry option helps with network errors on the call itself. Keep the Idempotency-Key header so a repeated call returns the original response and does not create a second post.

Rate limits and good habits

  • Free keys allow 60 requests a minute, paid 300. Responses carry X-RateLimit-* headers; over the limit you get 429 and a Retry-After value.
  • Use a separate credential for test and live keys.
  • Always set external_id. It is the simplest way to connect a post to the row or file it came from.
  • Schedule ahead instead of posting at trigger time, so a late run never misses the slot. You can schedule up to 365 days ahead.

Also automating in Make or Zapier? The same HTTP Request approach works there. Prefer clicking? The dashboard uses the same engine. Start free

FAQ

Questions

Is there an n8n node for PostMyReels?

No, and none is needed. Use n8n's built-in HTTP Request node to call POST /posts and a Webhook node to receive post.published and post.failed.

How do I authenticate the HTTP Request node?

Create a Header Auth credential with the name Authorization and the value Bearer followed by your API key, then pick it under Authentication in the node. Use a pmr_test_ key while building.

Can n8n post to Instagram, TikTok and YouTube in one request?

Yes. Send platform as an array, for example tiktok, instagram and youtube, with one media item. Per-platform objects set options such as TikTok privacy or the YouTube title.

How do I know when a post went live?

Register a webhook for post.published and post.failed that points to your n8n Webhook node's Production URL. The payload includes each delivery's status, URL or error.

Can I schedule posts from n8n instead of publishing instantly?

Yes. Add scheduled_at with a future time, plus a timezone if the time has no UTC offset. Omit it to publish now.

Why is my TikTok post private?

While TikTok's audit of our app is pending, TikTok posts publish as private (Only me). This applies to every unaudited app using TikTok's Content Posting API.

Post to TikTok, Instagram and YouTube from one place.

Free plan, no card. Connect an account in under a minute.

Start freeAsk your AI