Hướng dẫn

How to Post to Social Media from Google Sheets

Google Sheets is already where most teams plan their content. Why not turn it into a publishing engine? This guide shows you how to set up a spreadsheet that automatically posts your content to TikTok, Instagram, YouTube and more, without leaving your browser.

Cách hoạt động của điều này

The setup has three parts:

  1. Google Sheets as your content calendar (titles, captions, video links, target platforms, publish dates)
  2. Một công cụ tự động hóa (n8n, Make.com, or Airtable) that reads new rows from the sheet
  3. 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.

Bước 1: Thiết lập bảng tính của bạn

Create a Google Sheet with these columns:

A: Tiêu đề B: Chú thích C: Video URL D: Nền tảng. E: Ngày xuất bản F: Trạng thái G: Địa chỉ URL bài viết
Khuyến mãi bán hàng mùa hè 50% off everything this week! https://drive.google.com/... tiktok, instagram, youtube 2025-09-22 10:00 ready
Hậu trường Cách chúng tôi tạo ra sản phẩm của mình https://drive.google.com/... tiktok, instagram, linkedin 2025-09-23 12:00 pending

The "URL Video" 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 "Trạng thái" 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.

Bước 2: Chọn công cụ tự động hóa của bạn

There are three good options, each with its own strengths:

Tùy chọn A: n8n (được khuyến nghị để kiểm soát hoàn toàn)

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:

Import either template into your n8n instance with one click, plug in your API key, and it works out of the box. The workflow:

  1. Kích hoạt theo lịch trình (ví dụ: mỗi giờ) hoặc thủ công
  2. Đọc các hàng từ Google Sheets nơi Trạng thái = "sẵn sàng"
  3. Tải video từ URL trong mỗi hàng
  4. Gửi nó đến API Upload-Post với tiêu đề, chú thích và các nền tảng từ bảng tính
  5. Cập nhật trạng thái hàng thành "đã xuất bản" với các URL bài đăng

For more n8n automation ideas, browse the full n8n template library.

Tùy chọn B: Make.com (tốt cho các nhóm đã sử dụng Make)

Make.com connects Google Sheets to the Upload-Post API using its HTTP module. The flow is the same:

  1. Mô-đun Google Sheets theo dõi các hàng có Trạng thái = "sẵn sàng"
  2. Mô-đun HTTP tải xuống tệp video
  3. HTTP module posts to https://api.upload-post.com/api/upload with multipart form data
  4. Mô-đun Google Sheets cập nhật hàng với kết quả

The HTTP module needs these settings: Method = POST, Body Type = Multipart/form-data, and a custom header with your API key. Check our Mẫu Make.com for prebuilt scenarios.

Tùy chọn C: Airtable (dành cho các nhóm thích Airtable hơn 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 Hướng dẫn tích hợp Airtable walks through setting up an automation that:

  1. Kích hoạt khi trạng thái của bản ghi thay đổi thành "sẵn sàng"
  2. Chạy một script gửi nội dung đến API Upload-Post
  3. Cập nhật bản ghi với kết quả

Bước 3: Cấu hình cuộc gọi API Upload-Post

Regardless of which tool you use, the API call is the same. Here\'s what each spreadsheet column maps to:

Cột bảng tính Tham số API Ghi chú
Tiêu đềtitleMain post caption for all platforms
Chú thíchdescriptionVăn bản mở rộng (YouTube, LinkedIn, Facebook)
URL VideovideoCó thể là một URL hoặc tệp nhị phân
Nền tảngplatform[]Chia chuỗi phân tách bằng dấu phẩy thành mảng
Ngày xuất bảnscheduled_dateĐịnh dạng ISO-8601; để trống để thực hiện ngay lập tức

Mẫu cURL để tham khảo

curl -X POST https://api.upload-post.com/api/upload \
  -H "Ủy quyền: 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.

Nâng cao: Chú thích được tạo bởi AI từ bảng tính của bạn

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 đến mạng xã hội với mô tả 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.

Đang thêm chú thích cụ thể cho nền tảng

If you want different captions per platform, add extra columns to your sheet like "TikTok Caption", "Chú thích Instagram", etc. Then map them to the API\'s platform specific parameters:

  • tiktok_title for TikTok specific captions with hashtags
  • instagram_title for Instagram with call to actions
  • youtube_title and youtube_description for YouTube with SEO keywords
  • linkedin_title for LinkedIn with a professional tone

Use our character counter to make sure your captions fit within each platform\'s limits before adding them to the sheet.

Xử lý ảnh và băng chuyền từ bảng tính

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 "Ủy quyền: 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"

Theo dõi kết quả trở lại trong bảng tính

After the API returns a response, your automation tool should update the spreadsheet row with:

  • Trạng thái đã thay đổi từ "sẵn sàng" sang "đã xuất bản" (hoặc "thất bại" nếu có gì đó không ổn)
  • Đăng URL cho mỗi nền tảng, để bạn có thể nhấp vào và xác minh
  • Dấu thời gian khi bài đăng được phát trực tiếp

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.

Câu hỏi thường gặp

Tôi có thể sử dụng điều này với video Google Drive trực tiếp không?

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.

Thế nào nếu một bài đăng không thành công trên một nền tảng nhưng thành công trên các nền tảng khác?

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).

Nhiều thành viên trong nhóm có thể sử dụng cùng một bảng tính không?

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.

Tần suất tự động hóa kiểm tra các hàng mới là bao lâu?

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.

Biến bảng tính của bạn thành một công cụ xuất bản

Plan in Google Sheets. Publish everywhere. Create a free Upload-Post account and connect it to your content calendar in minutes.

Không cần thẻ tín dụng. Bao gồm 10 lượt tải lên miễn phí.