Upload-Post + Airtable Integration
Post videos to social media directly from Airtable using Upload-Post\'s API. Automate your content publishing workflow in minutes.
Airtable\'s Automation Scripts allow you to trigger workflows when events happen in your base. By integrating with Upload-Post\'s API, you can automatically publish videos to platforms like TikTok, Instagram, and YouTube whenever a new record is created or updated.
ตัวอย่างเริ่มต้นอย่างรวดเร็ว
3 Simple Steps
-
สร้างตารางวิดีโอใน Airtable
เพิ่มคอลัมน์สำหรับ URL วิดีโอ, ชื่อ, และสถานะ
-
สร้างการทำงานอัตโนมัติ
เลือก "เมื่อสร้างระเบียน" และการกระทำ "เรียกใช้สคริปต์"
-
วางโค้ดตัวอย่าง
แทนที่ API_KEY และ USERNAME ด้วยข้อมูลประจำตัวของคุณ
โค้ดตัวอย่าง
// Basic Airtable to Upload-Post Integration
// Get the record that triggered this automation
let table = base.getTable('Videos');
let record = await table.selectRecordAsync(input.config().recordId);
// Get video URL from Airtable record
let videoUrl = record.getCellValue('URL วิดีโอ');
// Upload to social media via Upload-Post
let formData = new FormData();
// Add the video URL (API will download it automatically)
formData.append('video_url', videoUrl);
// Add metadata
formData.append('title', record.getCellValue('ชื่อเรื่อง'));
formData.append('user', 'YOUR_USERNAME');
// Add platforms - you can add multiple platforms
formData.append('platform[]', 'tiktok');
formData.append('platform[]', 'instagram');
formData.append('platform[]', 'youtube');
formData.append('platform[]', 'facebook');
formData.append('platform[]', 'linkedin');
// Send to Upload-Post API
let result = await fetch('https://api.upload-post.com/api/upload', {
method: 'POST',
headers: { 'การอนุญาต': 'Apikey YOUR_API_KEY' },
body: formData
});
// Update the record with result
let uploadResult = await result.json();
await table.updateRecordAsync(record, {
'สถานะ': uploadResult.success ? 'Uploaded' : 'ล้มเหลว'
}); ขั้นสูง: เทมเพลต N8n พร้อม AI & Airtable
กระบวนการทำงานการเผยแพร่วิดีโออัตโนมัติ
This powerful n8n workflow automatically detects new videos in Google Drive, generates AI-powered descriptions, publishes to Instagram, TikTok & YouTube, and tracks everything in Airtable.
มันทำอะไร:
- ติดตาม Google Drive สำหรับวิดีโอใหม่
- สร้างคำอธิบาย AI โดยใช้ OpenAI
- เผยแพร่ไปยังหลายแพลตฟอร์มพร้อมกัน
- ติดตามสถานะ และ URL ใน Airtable
- ส่งการแจ้งเตือนข้อผิดพลาดผ่าน Telegram
ข้อกำหนด:
- การติดตั้ง N8n (คลาวด์หรือโฮสต์เอง)
- บัญชี Google Drive, OpenAI, Airtable
- การเข้าถึง API ของ Upload-Post.com
- บัญชีโซเชียลมีเดียที่เชื่อมต่อแล้ว
ขั้นตอนการทำงาน
การตรวจจับวิดีโอ
ตรวจจับวิดีโอใหม่ที่อัปโหลดไปยังโฟลเดอร์ Google Drive ของคุณโดยอัตโนมัติ
การสร้างเนื้อหา AI
ใช้ OpenAI ในการถอดเสียงและสร้างคำบรรยายที่น่าสนใจ
การติดตาม Airtable
สร้างบันทึกพร้อมข้อมูลเมตาของวิดีโอและติดตามสถานะการเผยแพร่
การเผยแพร่หลายแพลตฟอร์ม
อัปโหลดพร้อมกันไปยัง Instagram, TikTok และ YouTube ผ่าน Upload-Post
โครงสร้างฐาน Airtable
| ชื่อฟิลด์ | Type | คำอธิบาย |
|---|---|---|
| ชื่อวิดีโอ | ข้อความบรรทัดเดียว | ชื่อไฟล์วิดีโอ |
| คำอธิบาย | Long text | คำอธิบายที่สร้างโดย AI |
| วันที่อัปโหลด | Date | เมื่อวิดีโอถูกประมวลผล |
| สถานะ Instagram | เลือกเพียงหนึ่ง | สำเร็จ, ล้มเหลว, รอดำเนินการ |
| สถานะ TikTok | เลือกเพียงหนึ่ง | สำเร็จ, ล้มเหลว, รอดำเนินการ |
| สถานะของ YouTube | เลือกเพียงหนึ่ง | สำเร็จ, ล้มเหลว, รอดำเนินการ |
| URL ของแพลตฟอร์ม | Long text | URLs ไปยังเนื้อหาที่เผยแพร่ |
เทมเพลตที่พร้อมใช้งาน
Get the complete n8n workflow template with all configurations and setup instructions.
เอกสารอ้างอิง API
จุดสิ้นสุด
POSThttps://api.upload-post.com/api/upload
curl Example
curl \
-H 'การอนุญาต: Apikey your-api-key-here' \
-F 'video=@/path/to/your/video.mp4' \
-F 'title="ชื่อวิดีโอของคุณ"' \
-F 'user="test"' \
-F 'platform[]=tiktok' \
-F 'platform[]=facebook' \
-F 'platform[]=linkedin' \
-X POST https://api.upload-post.com/api/upload ต้องการรายละเอียดเพิ่มเติม?
For complete API reference, advanced options, and troubleshooting:
ต้องการความช่วยเหลือเกี่ยวกับการรวมของคุณ?
[email protected]