ส่งรูปจาก Freepik ผ่าน Xportly Extension → Upload เข้า Google Drive → Autofill เข้า Canva Brand Template → Export PNG กลับ Drive ทั้งหมดอัตโนมัติผ่าน n8n Webhook + Canva API
Workflow นี้มี 2 ส่วนหลัก: Freepik Extension Webhook (ส่งรูป → Drive → Sheet) และ Canva Autofill Pipeline (Sheet → Canva → Export → Drive)
Xportly Extension ส่งรูปจาก Freepik เข้า Pipeline A → trigger Pipeline B สร้าง Design อัตโนมัติ
ครอบคลุมตั้งแต่ Freepik Extension ส่งรูป ไปจนถึง Canva Design สำเร็จรูป
Xportly Extension ส่งรูปจาก Freepik ผ่าน POST webhook พร้อม binary image, filename, sheet_row_id → Upload เข้า Google Drive อัตโนมัติ
GET /webhook/freepik-rows ดึงรายการ rows จาก Sheet ให้ Extension แสดงเป็น dropdown เลือกว่าจะผูกรูปกับแถวไหน
ตรวจจับการเปลี่ยนแปลงคอลัมน์ "สถานะ" ทุก 1 นาที กรองเฉพาะแถว pending แล้ววน loop ทีละแถว
ใส่ข้อความ (บรรทัดเน้น, บรรทัดรอง) + รูปภาพเข้า Brand Template อัตโนมัติผ่าน Canva REST API v1
เช็คว่ามี Link Image หรือไม่ ถ้ามี → Download จาก Google Drive → Upload เข้า Canva Asset Library พร้อม Async Polling
Export Design เป็น PNG → Download → Upload ไป Google Drive โฟลเดอร์ Design พร้อม link แชร์
ใช้ Wait 3s + Poll + Check Done pattern สำหรับ 3 จุด: Asset Upload, Autofill Job, Export Job
อัปเดต Google Sheet อัตโนมัติ: สถานะ, Link Google Drive, edit_url, view_url, Preview (IMAGE formula)
เช็คเงื่อนไขทุกจุด: มีรูปหรือไม่, มี binary หรือไม่, มี Row ID หรือไม่, Job สำเร็จหรือยัง พร้อม error response
All-in-one image workflow — Optimize Canva exports & send Freepik images to Google Drive via n8n webhook
Chrome Extension ที่ทำงานร่วมกับ Workflow นี้โดยตรง: intercept การ download จาก Canva เพื่อ optimize รูป (เปลี่ยน format, compress, resize) และส่งรูปจาก Freepik ไป Google Drive ผ่าน n8n webhook พร้อมเลือก Row จาก Sheet ที่จะผูกรูป
