มันทำงานอย่างไร
The setup has three parts:
- Google Sheets 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: ชื่อเรื่อง | B: คำบรรยาย | C: URL วิดีโอ | D: แพลตฟอร์ม | E: วันที่เผยแพร่ | F: สถานะ | G: โพสต์ URL |
|---|---|---|---|---|---|---|
| โปรโมชั่นลดราคาฤดูร้อน | 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 "URL วิดีโอ" 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) |
| URL วิดีโอ | video | สามารถเป็น URL หรือไฟล์ไบนารี |
| แพลตฟอร์ม | 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.
ขั้นสูง: คำบรรยายที่สร้างโดย AI จากสเปรดชีตของคุณ
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 TikTok specific captions with hashtagsinstagram_titlefor Instagram with call to actionsyoutube_titleandyoutube_descriptionfor YouTube 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.