دليل

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.

لماذا n8n لأتمتة وسائل التواصل الاجتماعي

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 واجهة برمجة التطبيقات 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 دليل أتمتة بايثون instead. For other no-code tools, see the دليل Make.com or the دليل زابير.

قم بإعداد Upload-Post في n8n

1. احصل على مفتاح API

Create a free account at app.upload-post.com, generate an API key from the صفحة مفاتيح API, and connect your social accounts (create a profile like "mybrand" and link your تيك توك, Instagram, يوتيوب, and other accounts).

2. Create credentials in n8n

In n8n, go to الاعتمادات and create a new مصادقة الرأس credential. Set the header name to التفويض and the value to مفتاح API your-api-key-here. You will reference this credential in every HTTP Request node.

3. اختبر باستخدام cURL أولاً

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 "التفويض: 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.

نشر فيديو على منصات متعددة في نفس الوقت

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 "التفويض: 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.

جدولة المنشورات من Google Sheet

One of the most popular n8n social media workflows: use a جدول بيانات Google كجدول محتوى خاص بك. قم بإعداد 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 "التفويض: 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: قالب جدولة Google Sheets.

إعادة استخدام الفيديوهات الطويلة تلقائيًا إلى Shorts وReels وTikToks

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 واجهة برمجة التطبيقات Upload-Post FFmpeg (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 تيك توك, Reels Instagram, and يوتيوب شورتس 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.

حوّل حلقات البودكاست إلى مقاطع اجتماعية

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. الزناد عند الحلقة الجديدة (خلاصة RSS أو تحميل Google Drive)
  2. نسخ باستخدام Whisper أو Deepgram
  3. أرسل النص إلى Gemini أو GPT-4 لاختيار 3 إلى 5 مقاطع بارزة
  4. قص كل مقطع باستخدام FFmpeg (أو API FFmpeg الخاص بـ Upload-Post)
  5. إنشاء تسميات وعلامات تصنيف باستخدام AI
  6. نشر كل مقطع إلى TikTok وInstagram Reels وYouTube Shorts عبر Upload-Post

Two ready-made templates cover this exact flow:

نشر بكميات كبيرة من 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:

تسميات ومحتوى مولد بالذكاء الاصطناعي

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. رفع فيديو أو تقديم موضوع
  2. تقوم عقدة الذكاء الاصطناعي بإنشاء تسميات توضيحية محسّنة للمنصة (قصيرة وجذابة لـ TikTok، احترافية لـ LinkedIn، غنية بـ SEO لـ YouTube)
  3. عقدة طلب HTTP تنشر الفيديو مع تلك التسميات التوضيحية التي تم إنشاؤها بواسطة الذكاء الاصطناعي إلى كل منصة
# 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 "التفويض: 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:

قوالب n8n جاهزة

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:

قالب حالة الاستخدام
نشر تلقائي بكميات كبيرة باستخدام AI رفع عدة مقاطع فيديو دفعة واحدة مع تسميات توضيحية تم إنشاؤها بواسطة الذكاء الاصطناعي
جدولة Google Sheets تقويم المحتوى في جدول بيانات، نشر تلقائي وفقًا للجدول
Google Drive إلى وسائل التواصل الاجتماعي راقب مجلد Drive، وانشر مقاطع الفيديو الجديدة تلقائيًا
Long videos to Shorts يقوم الذكاء الاصطناعي بتقسيم الفيديوهات الطويلة إلى مقاطع، وينشرها على TikTok/Reels/Shorts
البودكاست إلى تيك توك استخراج النقاط البارزة من البودكاست، إنشاء مقاطع، نشر تلقائي
GPT-4 + موافقة تيليجرام يولد الذكاء الاصطناعي المنشورات، وتوافق عليها عبر Telegram قبل النشر
توليد الفيديو الذكي إنشاء مقاطع فيديو باستخدام AI ونشرها تلقائيًا
أتمتة الوكالة إدارة وسائل التواصل الاجتماعي متعددة العملاء للوكالات

Browse the full collection at n8n templates.

الأسئلة المتكررة

هل n8n مجاني؟

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.

هل يمكنني استضافة n8n بنفسي؟

Yes. That is one of the main advantages over tools like زابير 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.

كم عدد المنصات التي يمكنني النشر عليها؟

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 تيك توك, Instagram, and يوتيوب.

هل أحتاج إلى مهارات برمجية؟

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 بايثون directly.

ما هي حدود معدل واجهة برمجة التطبيقات؟

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.

هل يمكنني استخدام n8n مع Airtable بدلاً من 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 دليل تكامل Airtable for details, or check the قالب Drive + AI + Airtable.

كيف يقارن n8n بـ Make.com أو Zapier في نشر الوسائط الاجتماعية؟

n8n is open-source and self-hostable, so there are no per-execution fees. Make.com and زابير 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.

ماذا نبني بعد ذلك

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

  • أضف معالجة الأخطاء مع عقد IF التي تتحقق من ردود 429 (حد المعدل) أو 401 (المصادقة) وترسل تنبيهات عبر Slack/البريد الإلكتروني
  • 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
  • ربط أدوات التحليلات في الأسفل لتتبع أي المنشورات تحقق أفضل أداء، ثم قم بإدخال تلك البيانات مرة أخرى في مطالبات توليد التعليقات التوضيحية باستخدام الذكاء الاصطناعي.

ابدأ في أتمتة باستخدام n8n اليوم

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.

لا حاجة لبطاقة ائتمان. يعمل مع n8n Cloud والمستضاف ذاتيًا.