Freepik → Canva → Drive Automation

Freepik Spaces to
Canva Design.
Fully Automated.

ส่งรูปจาก Freepik ผ่าน Xportly Extension → Upload เข้า Google Drive → Autofill เข้า Canva Brand Template → Export PNG กลับ Drive ทั้งหมดอัตโนมัติผ่าน n8n Webhook + Canva API

n8n
Xportly Extension
Freepik
Canva API
Google Sheets
Google Drive
Architecture

ภาพรวม Workflow

Workflow นี้มี 2 ส่วนหลัก: Freepik Extension Webhook (ส่งรูป → Drive → Sheet) และ Canva Autofill Pipeline (Sheet → Canva → Export → Drive)

Freepik Spaces → Canva → Drive & Sheet (Workflow)
Active
How it works

2 Pipeline ทำงานร่วมกัน

Xportly Extension ส่งรูปจาก Freepik เข้า Pipeline A → trigger Pipeline B สร้าง Design อัตโนมัติ

Pipeline A — Freepik Extension → Drive & Sheet
Extension ส่งรูป Intercept รูปจาก Freepik แล้วส่งผ่าน Webhook
Upload Drive อัปโหลดรูปเข้า Google Drive อัตโนมัติ
Update Sheet อัปเดต Link + สถานะ pending → trigger Pipeline B
Pipeline B — Google Sheet → Canva Autofill → Export → Drive
Trigger ตรวจจับแถว pending ทุก 1 นาที
Canva Autofill ใส่ข้อความ + รูปเข้า Template อัตโนมัติ
Export & Upload Export PNG แล้วอัปโหลดกลับ Drive
Complete อัปเดต Sheet สถานะ completed + links
Features

ฟีเจอร์ครบจบใน Workflow เดียว

ครอบคลุมตั้งแต่ Freepik Extension ส่งรูป ไปจนถึง Canva Design สำเร็จรูป

Freepik Webhook Upload

Xportly Extension ส่งรูปจาก Freepik ผ่าน POST webhook พร้อม binary image, filename, sheet_row_id → Upload เข้า Google Drive อัตโนมัติ

Row Picker API

GET /webhook/freepik-rows ดึงรายการ rows จาก Sheet ให้ Extension แสดงเป็น dropdown เลือกว่าจะผูกรูปกับแถวไหน

Google Sheets Trigger

ตรวจจับการเปลี่ยนแปลงคอลัมน์ "สถานะ" ทุก 1 นาที กรองเฉพาะแถว pending แล้ววน loop ทีละแถว

Canva Autofill API

ใส่ข้อความ (บรรทัดเน้น, บรรทัดรอง) + รูปภาพเข้า Brand Template อัตโนมัติผ่าน Canva REST API v1

Smart Image Upload

เช็คว่ามี Link Image หรือไม่ ถ้ามี → Download จาก Google Drive → Upload เข้า Canva Asset Library พร้อม Async Polling

PNG Export + Drive Upload

Export Design เป็น PNG → Download → Upload ไป Google Drive โฟลเดอร์ Design พร้อม link แชร์

Async Polling Pattern

ใช้ Wait 3s + Poll + Check Done pattern สำหรับ 3 จุด: Asset Upload, Autofill Job, Export Job

Sheet Auto-Update

อัปเดต Google Sheet อัตโนมัติ: สถานะ, Link Google Drive, edit_url, view_url, Preview (IMAGE formula)

Error Handling & Validation

เช็คเงื่อนไขทุกจุด: มีรูปหรือไม่, มี binary หรือไม่, มี Row ID หรือไม่, Job สำเร็จหรือยัง พร้อม error response

Chrome Extension

Xportly Extension v2.0

All-in-one image workflow — Optimize Canva exports & send Freepik images to Google Drive via n8n webhook

🧩 Xportly — Optimize & Upload

Chrome Extension ที่ทำงานร่วมกับ Workflow นี้โดยตรง: intercept การ download จาก Canva เพื่อ optimize รูป (เปลี่ยน format, compress, resize) และส่งรูปจาก Freepik ไป Google Drive ผ่าน n8n webhook พร้อมเลือก Row จาก Sheet ที่จะผูกรูป

Freepik → Drive Upload Row Picker (Sheet) Canva Image Optimizer Image Compression ZIP Download Format Conversion Dark/Light Theme Webhook Config
Xportly Extension