كيف يعمل هذا
The setup has three parts:
- جداول بيانات Google as your content calendar (titles, captions, video links, target platforms, publish dates)
- أداة أتمتة (n8n, Make.com, or Airtable) that reads new rows from the sheet
- API Upload-Post that takes the content and publishes it to your social accounts
When you add a new row to the spreadsheet with status "ready", the automation picks it up, sends the video and caption to the API, publishes to all selected platforms, and updates the row with "published" and the post URLs. The whole thing runs in the background.
الخطوة 1: إعداد جدول البيانات الخاص بك
Create a Google Sheet with these columns:
| A: العنوان | ب: التسمية التوضيحية | C: رابط الفيديو | D: المنصات | E: تاريخ النشر | حالة: F | G: روابط المنشورات |
|---|---|---|---|---|---|---|
| عرض تخفيضات الصيف | 50% off everything this week! | https://drive.google.com/... | tiktok, instagram, youtube | 2025-09-22 10:00 | ready | |
| خلف الكواليس | كيف نصنع منتجاتنا | https://drive.google.com/... | tiktok, instagram, linkedin | 2025-09-23 12:00 | pending |
The "رابط الفيديو" column should contain either a public Google Drive link, a Dropbox link, or any publicly accessible URL to the video file. The automation tool will download it and pass it to the API.
The "الحالة" column is what triggers the automation. Set it to "ready" when a piece of content is approved and should be published. The workflow will change it to "published" after a successful upload.
الخطوة 2: اختر أداة الأتمتة الخاصة بك
There are three good options, each with its own strengths:
الخيار A: n8n (موصى به للتحكم الكامل)
n8n is an open source automation tool that gives you the most flexibility. We have a ready made template that does exactly what we\'ve described:
- جدولة ونشر مقاطع الفيديو تلقائيًا من Google Sheets إلى Instagram وLinkedIn وTikTok
- Google Drive إلى وسائل التواصل الاجتماعي مع أوصاف AI وتتبع Airtable
Import either template into your n8n instance with one click, plug in your API key, and it works out of the box. The workflow:
- الزنادات على جدول زمني (مثل كل ساعة) أو يدويًا
- يقرأ الصفوف من Google Sheets حيث الحالة = "جاهز"
- يقوم بتحميل الفيديو من عنوان URL في كل صف
- يرسلها إلى API Upload-Post مع العنوان، والتعليق، والمنصات من الورقة
- يحدث حالة الصف إلى "منشور" مع عناوين URL للمنشورات
For more n8n automation ideas, browse the full n8n template library.
الخيار B: Make.com (جيد للفرق التي تستخدم Make بالفعل)
Make.com connects Google Sheets to the Upload-Post API using its HTTP module. The flow is the same:
- تراقب وحدة Google Sheets الصفوف حيث الحالة = "جاهز"
- تقوم وحدة HTTP بتنزيل ملف الفيديو
- HTTP module posts to
https://api.upload-post.com/api/uploadwith multipart form data - تحديث وحدة Google Sheets الصف بالنتائج
The HTTP module needs these settings: Method = POST, Body Type = Multipart/form-data, and a custom header with your API key. Check our قوالب Make.com for prebuilt scenarios.
الخيار C: Airtable (للفرق التي تفضل Airtable على Sheets)
If you\'re already using Airtable, you can skip Google Sheets entirely. Airtable has built in automation scripts that trigger when a record is created or updated. Our دليل تكامل Airtable walks through setting up an automation that:
- الزنادات عندما تتغير حالة السجل إلى "جاهز"
- تشغيل سكربت يرسل المحتوى إلى Upload-Post API
- يحدث السجل بالنتيجة
الخطوة 3: تكوين استدعاء API لـ Upload-Post
Regardless of which tool you use, the API call is the same. Here\'s what each spreadsheet column maps to:
| عمود جدول البيانات | معامل API | ملاحظات |
|---|---|---|
| العنوان | title | التسمية التوضيحية الرئيسية للمنشور لجميع المنصات |
| تعليق | description | نص موسع (YouTube، LinkedIn، Facebook) |
| رابط الفيديو | video | يمكن أن يكون عنوان URL أو ملف ثنائي |
| Platforms | platform[] | قسّم سلسلة مفصولة بفواصل إلى مصفوفة |
| تاريخ النشر | scheduled_date | تنسيق ISO-8601؛ اتركه فارغًا للنشر الفوري |
عينة cURL للرجوع إليها
curl -X POST https://api.upload-post.com/api/upload \
-H "التفويض: Apikey your-api-key-here" \
-F "video=https://drive.google.com/uc?id=FILE_ID" \
-F "user=mybrand" \
-F "title=Summer sale promo" \
-F "description=50% off everything this week!" \
-F "platform[]=tiktok" \
-F "platform[]=instagram" \
-F "platform[]=youtube" \
-F "scheduled_date=2025-09-22T10:00:00Z" \
-F "timezone=America/New_York" Notice how you can pass the video as a URL instead of a file upload. This works with any publicly accessible video link, including Google Drive shared links.
متقدم: تعليقات توضيحية مولدة بواسطة الذكاء الاصطناعي من جدول البيانات الخاص بك
You can take this further by adding an AI step between reading the sheet and posting. Instead of writing captions manually, include just a topic or brief note in your spreadsheet and let an LLM generate platform optimized captions.
Our n8n template for Google Drive إلى وسائل التواصل الاجتماعي مع أوصاف AI does exactly this. It uses Gemini to generate tailored captions for each platform based on a short description you provide.
There\'s also a template that lets you generate and schedule posts with GPT-4 and get Telegram approval before they go live. Perfect for teams that want AI assistance but still need a human in the loop.
إضافة تعليقات توضيحية خاصة بالمنصة
If you want different captions per platform, add extra columns to your sheet like "TikTok Caption", "تسمية Instagram", etc. Then map them to the API\'s platform specific parameters:
tiktok_titlefor تيك توك specific captions with hashtagsinstagram_titlefor Instagram with call to actionsyoutube_titleandyoutube_descriptionfor يوتيوب with SEO keywordslinkedin_titlefor LinkedIn with a professional tone
Use our عداد الأحرف to make sure your captions fit within each platform\'s limits before adding them to the sheet.
التعامل مع الصور والدواليب من جدول البيانات
The same approach works for images. Instead of a single video URL column, use multiple image columns or a comma-separated list of image URLs. Then use the /api/upload_photos endpoint instead:
curl -X POST https://api.upload-post.com/api/upload_photos \
-H "التفويض: Apikey your-api-key-here" \
-F "photos[][email protected]" \
-F "photos[][email protected]" \
-F "photos[][email protected]" \
-F "user=mybrand" \
-F "title=Our new collection" \
-F "platform[]=instagram" \
-F "platform[]=tiktok" تتبع النتائج في جدول البيانات
After the API returns a response, your automation tool should update the spreadsheet row with:
- تغيرت الحالة من "جاهز" إلى "منشور" (أو "فشل" إذا حدث خطأ ما)
- نشر عناوين URL لكل منصة، حتى تتمكن من النقر والتحقق
- طابع زمني لوقت نشر المنشور
This gives you a complete audit trail of every piece of content published, all in one place. No need to check each platform\'s dashboard individually.
الأسئلة المتكررة
هل يمكنني استخدام هذا مع مقاطع فيديو Google Drive مباشرة؟
Yes. The Upload-Post API accepts video URLs, so you can link directly to files in Google Drive (make sure the sharing is set to "Anyone with the link"). The n8n templates handle Google Drive authentication automatically.
ماذا لو فشل منشور على منصة واحدة ولكنه نجح على منصات أخرى؟
The API response includes individual results per platform. Your automation can update the spreadsheet with partial results, showing which platforms succeeded and which failed (with the error message).
هل يمكن لعدة أعضاء في الفريق استخدام نفس جدول البيانات؟
Absolutely. That\'s one of the biggest benefits of this approach. Your content team fills in the rows, a manager changes the status to "ready" when approved, and the automation handles publishing. Everyone sees the status in real time.
كم مرة تتحقق الأتمتة من الصفوف الجديدة؟
You configure this in n8n or Make.com. Common settings are every 15 minutes, every hour, or on a fixed daily schedule. In n8n, you can also trigger manually or use a webhook for instant processing.