Panduan

How to Automate Social Media Posting with n8n

n8n gives you visual, self-hostable automation workflows. Upload-Post gives you a single API to publish to 10 social platforms. Together they replace expensive scheduling tools and let you build exactly the social media pipeline you need, without writing code.

Mengapa n8n untuk automasi media sosial

Most social media scheduling tools charge per account, per platform, per seat. If you manage multiple brands or clients, costs add up fast. n8n is open-source and self-hostable, so you control the infrastructure. And instead of being locked into whatever features a SaaS tool offers, you build the exact workflow you need.

The missing piece is the social media layer. Connecting directly to each platform\'s API (TikTok\'s Content Posting API, Instagram Graph API, YouTube Data API) means handling separate OAuth flows, different upload formats, and platform-specific quirks. That is where API media sosial Upload-Post comes in: one HTTP request posts to all ten platforms. In n8n, that is a single HTTP Request node.

If you prefer code over visual workflows, check our Panduan automasi Python instead. For other no-code tools, see the Panduan Make.com or the Panduan Zapier.

Atur Upload-Post di n8n

1. Dapatkan kunci API Anda

Create a free account at app.upload-post.com, generate an API key from the halaman Kunci API, and connect your social accounts (create a profile like "mybrand" and link your TikTok, Instagram, YouTube, and other accounts).

2. Create credentials in n8n

In n8n, go to Kredensial and create a new Autentikasi Header credential. Set the header name to Otorisasi and the value to Apikey your-api-key-here. You will reference this credential in every HTTP Request node.

3. Uji dengan cURL terlebih dahulu

Before building the workflow, verify your key works. This cURL uploads a video to TikTok and Instagram:

curl -X POST https://api.upload-post.com/api/upload \
  -H "Otorisasi: Apikey your-api-key-here" \
  -F "video=@/path/to/video.mp4" \
  -F "title=My first automated post" \
  -F "user=mybrand" \
  -F "platform[]=tiktok" \
  -F "platform[]=instagram"

In n8n, an HTTP Request node replicates this exactly. Set the method to POST, the URL to https://api.upload-post.com/api/upload, authentication to Header Auth with your credential, and body type to Multipart Form Data. Then add fields for video, title, user, and platform[].

For the full integration walkthrough, see the n8n integration guide.

Posting video ke beberapa platform secara bersamaan

This is the core n8n social media workflow: take a video and publish it to multiple platforms in one step. The HTTP Request node sends the video to Upload-Post, which distributes it to TikTok, Instagram Reels, YouTube Shorts, and LinkedIn simultaneously.

curl -X POST https://api.upload-post.com/api/upload \
  -H "Otorisasi: Apikey your-api-key-here" \
  -F "[email protected]" \
  -F "title=Check out our new feature" \
  -F "user=mybrand" \
  -F "platform[]=tiktok" \
  -F "platform[]=instagram" \
  -F "platform[]=youtube" \
  -F "platform[]=linkedin" \
  -F "privacy_level=PUBLIC_TO_EVERYONE" \
  -F "media_type=REELS" \
  -F "privacyStatus=public" \
  -F "tags[]=product" \
  -F "tags[]=demo"

In n8n, each -F flag becomes a field in the Multipart Form Data body. Set the video field type to "File" and reference a binary property from an upstream node (like Read Binary File or an HTTP download). The remaining fields are plain text strings.

You can customize captions per platform using tiktok_title, instagram_title, youtube_title, and linkedin_title fields. The title field acts as the default for any platform that does not have a specific override.

Want a ready-made version? Import the manual multi-platform publish template.

Jadwalkan posting dari Google Sheet

One of the most popular n8n social media workflows: use a Google Sheet sebagai kalender konten Anda. Siapkan spreadsheet with columns like video_url, title, platforms, scheduled_date, and status. Then build an n8n workflow that reads unprocessed rows and calls Upload-Post.

curl -X POST https://api.upload-post.com/api/upload \
  -H "Otorisasi: Apikey your-api-key-here" \
  -F "[email protected]" \
  -F "title=Tuesday tip: automate your social media" \
  -F "user=mybrand" \
  -F "platform[]=tiktok" \
  -F "platform[]=instagram" \
  -F "scheduled_date=2025-07-22T09:00:00Z" \
  -F "timezone=America/New_York"

The scheduled_date parameter accepts ISO-8601 format. Add a timezone to make sure it publishes at the right local time. In n8n, the Google Sheets node reads each row and the HTTP Request node maps the columns to these API parameters.

After the upload call, use a Google Sheets Update node to mark the row as "published" so it does not get posted again. For more on scheduling, see the scheduling guide. You can also queue posts using add_to_queue=true instead of a specific date.

Grab the ready-made template: Template penjadwalan Google Sheets.

Otomatis mengubah video panjang menjadi Shorts, Reels, dan TikTok

This workflow takes a long-form video (like a YouTube video or webinar recording), uses AI to identify the best segments, splits them into short clips, and publishes each clip to short-form platforms. The n8n workflow connects Whisper (for transcription), Gemini (for identifying highlights), an FFmpeg node or the API FFmpeg Upload-Post (for cutting), and then the Upload-Post API for publishing.

The result: drop a 30-minute video into the workflow and get five optimized clips posted to TikTok, Reels Instagram, and YouTube Shorts automatically.

For a deep dive on the repurposing strategy, read how to repurpose YouTube videos into Shorts, Reels, and TikToks. For the ready-made n8n workflow, import the long videos to Shorts template.

Ubah episode podcast menjadi klip sosial

Podcasters and media companies use this workflow to extract the most quotable moments from each episode, generate captions and vertical video, and post the clips to social. The n8n flow typically looks like this:

  1. Pemicu pada episode baru (umpan RSS atau unggahan Google Drive)
  2. Transkripsi dengan Whisper atau Deepgram
  3. Kirim transkrip ke Gemini atau GPT-4 untuk memilih 3 hingga 5 segmen sorotan
  4. Potong setiap segmen dengan FFmpeg (atau API FFmpeg Upload-Post)
  5. Hasilkan subtitle dan hashtag dengan AI
  6. Posting setiap klip ke TikTok, Instagram Reels, dan YouTube Shorts melalui Upload-Post

Two ready-made templates cover this exact flow:

Publikasikan secara massal dari Google Drive

If your content team uploads videos to a shared Google Drive folder, this workflow watches that folder and auto-posts new files. In n8n, the Google Drive Trigger node fires when a new file appears. A Download File node fetches the binary, and the HTTP Request node sends it to Upload-Post.

This is ideal for agencies managing multiple clients or bulk uploading video content. Each subfolder can map to a different Upload-Post profile (client), so the workflow routes content to the right social accounts automatically.

You can also post photos and carousels from Drive using the /api/upload_photos endpoint, or text-only posts using /api/upload_text. The workflow structure stays the same, just change the HTTP Request URL and form fields. For posting to LinkedIn specifically, text posts work well for thought leadership content alongside your video clips.

Templates for this:

keterangan dan konten yang dihasilkan AI

n8n has native OpenAI and Google Gemini nodes, which means you can generate captions, hashtags, and even full post copy before publishing. A common pattern:

  1. Unggah video atau berikan topik
  2. Sebuah node AI menghasilkan keterangan yang dioptimalkan untuk platform (pendek dan menarik untuk TikTok, profesional untuk LinkedIn, kaya SEO untuk YouTube)
  3. Node Permintaan HTTP mengunggah video dengan keterangan yang dihasilkan AI ke setiap platform.
# In n8n, the OpenAI node output feeds into the HTTP Request node.
# The equivalent API call with AI-generated captions looks like:

curl -X POST https://api.upload-post.com/api/upload \
  -H "Otorisasi: Apikey your-api-key-here" \
  -F "[email protected]" \
  -F "user=mybrand" \
  -F "platform[]=tiktok" \
  -F "platform[]=instagram" \
  -F "platform[]=youtube" \
  -F "platform[]=linkedin" \
  -F "tiktok_title=POV: you automated your entire content pipeline #n8n #automation" \
  -F "instagram_title=We built a workflow that posts for us. Here is how." \
  -F "youtube_title=How We Automated Social Media Posting with n8n and Upload-Post" \
  -F "youtube_description=Full walkthrough of our n8n automation workflow..." \
  -F "linkedin_title=We replaced 3 SaaS tools with one n8n workflow. Here is the setup."

In n8n, you would use expressions like {{ $json.tiktok_caption }} to reference the output from the AI node in each field of the HTTP Request node.

Related templates:

Template n8n Siap Pakai

You do not have to build from scratch. We maintain a library of n8n templates that you can import in one click. Here are the most relevant ones for social media automation:

Template Kasus penggunaan
Publikasikan secara massal dengan AI Unggah beberapa video secara batch dengan keterangan yang dihasilkan AI
Jadwal Google Sheets Kalender konten dalam spreadsheet, terbit otomatis sesuai jadwal
Google Drive ke sosial Pantau folder Drive, otomatis posting video baru
Video panjang ke Shorts AI membagi video panjang menjadi klip, memposting ke TikTok/Reels/Shorts
Podcast ke TikTok Ekstrak sorotan podcast, buat klip, pos otomatis
Persetujuan GPT-4 + Telegram AI menghasilkan posting, Anda menyetujui melalui Telegram sebelum diterbitkan
generasi video AI Hasilkan video dengan AI dan terbitkan secara otomatis
Automasi Agensi Manajemen media sosial multi-klien untuk agensi

Browse the full collection at n8n templates.

Pertanyaan yang sering diajukan

Apakah n8n gratis?

n8n is open-source and free to self-host. You can run it on your own server with Docker or install it via npm. They also offer a paid cloud version if you prefer not to manage infrastructure. Either way, you get the same workflow builder.

Bisakah saya meng-host n8n sendiri?

Yes. That is one of the main advantages over tools like Zapier or Make.com. Self-hosting means your data stays on your infrastructure, there are no execution limits, and you have full control over the environment. A small VPS (2 GB RAM) is enough for most n8n social media workflows.

Berapa banyak platform yang bisa saya posting?

Upload-Post supports 10 platforms: TikTok, Instagram, YouTube, Facebook, LinkedIn, X (Twitter), Threads, Pinterest, Reddit, and Bluesky. You can post to any combination in a single API call. See the individual platform guides for TikTok, Instagram, and YouTube.

Apakah saya perlu keterampilan pemrograman?

No. n8n is a visual workflow builder. You drag and drop nodes, configure them in a UI, and connect them with lines. The HTTP Request node handles the Upload-Post API call without writing code. If you do know how to code, you can use n8n\'s Code node for advanced logic or use the SDK Python directly.

Apa batas laju API?

Rate limits depend on your social media posting API plan. The free tier includes 10 uploads per month. Paid plans scale up from there. If you hit the limit, the API returns a 429 status code with your current usage. In n8n, you can handle this with an IF node that checks the response status and retries after a delay.

Bisakah saya menggunakan n8n dengan Airtable alih-alih Google Sheets?

Absolutely. n8n has a native Airtable node. The workflow is the same: read records, call Upload-Post, update the record status. See the Panduan integrasi Airtable for details, or check the Template Drive + AI + Airtable.

Bagaimana n8n dibandingkan dengan Make.com atau Zapier untuk posting media sosial?

n8n is open-source and self-hostable, so there are no per-execution fees. Make.com and Zapier are cloud-only and charge based on how many operations you run. For high-volume social media workflows (posting dozens of videos per day), n8n on a $10/month VPS will cost a fraction of what Make or Zapier would charge. All three integrate with Upload-Post through HTTP Request nodes, so the API calls are identical.

Apa yang akan dibangun selanjutnya

Once your first n8n social media workflow is running, consider expanding it:

  • Tambahkan penanganan kesalahan dengan node IF yang memeriksa respons 429 (batas laju) atau 401 (autentikasi) dan mengirimkan peringatan Slack/email.
  • Use the async_upload=true parameter for large files so your workflow does not time out waiting for the upload to finish
  • Chain multiple Upload-Post calls to post different content types: a video via /api/upload, a carousel via /api/upload_photos, and a text post via /api/upload_text, all in one workflow run
  • Hubungkan alat analitik ke hilir untuk melacak posting mana yang berkinerja terbaik, lalu masukkan data itu kembali ke dalam prompt generasi keterangan AI Anda

Mulai mengotomatiskan dengan n8n hari ini

Grab your free API key, import a template, and publish your first automated post in under 20 minutes. The free plan includes 10 uploads per month.

Tidak perlu kartu kredit. Bekerja dengan n8n Cloud dan di-hosting sendiri.