<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Learning_resources - NOVELBIZ</title>
	<atom:link href="https://www.novelbiz.co.th/category/learning_resources/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.novelbiz.co.th</link>
	<description>บริษัท โนเวลบิซ จำกัด</description>
	<lastBuildDate>Wed, 13 Aug 2025 07:52:23 +0000</lastBuildDate>
	<language>th</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.novelbiz.co.th/wp-content/uploads/2025/01/cropped-S__711508000-32x32.jpg</url>
	<title>Learning_resources - NOVELBIZ</title>
	<link>https://www.novelbiz.co.th</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>สอน Authen Twitter API ใน n8n ใช้ API Key ทำ Automation ได้เลย!</title>
		<link>https://www.novelbiz.co.th/tutorial-authen-twitter-api-n8n-api-key-automation/</link>
		
		<dc:creator><![CDATA[novelbi1]]></dc:creator>
		<pubDate>Tue, 05 Aug 2025 05:07:29 +0000</pubDate>
				<category><![CDATA[Learning_resources]]></category>
		<guid isPermaLink="false">https://www.novelbiz.co.th/?p=61368</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper"><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/08/dreamina-2025-08-05-4474-A-modern-flat-illustration-showing-the-c-e1754411226798.jpeg" target="_self" data-large_image_width="1328" data-large_image_height="920"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img fetchpriority="high" decoding="async" width="1328" height="920" src="https://www.novelbiz.co.th/wp-content/uploads/2025/08/dreamina-2025-08-05-4474-A-modern-flat-illustration-showing-the-c-e1754411226798.jpeg" class="vc_single_image-img attachment-full" alt="สอน Authen Twitter API ใน n8n ใช้ API KEY" title="dreamina-2025-08-05-4474-A modern flat illustration showing the c..." srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/08/dreamina-2025-08-05-4474-A-modern-flat-illustration-showing-the-c-e1754411226798.jpeg 1328w, https://www.novelbiz.co.th/wp-content/uploads/2025/08/dreamina-2025-08-05-4474-A-modern-flat-illustration-showing-the-c-e1754411226798-768x532.jpeg 768w" sizes="(max-width: 1328px) 100vw, 1328px"  data-dt-location="https://www.novelbiz.co.th/tutorial-authen-twitter-api-n8n-api-key-automation/dreamina-2025-08-05-4474-a-modern-flat-illustration-showing-the-c/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h2>สอน Authen Twitter API ใน n8n  ใช้ API Key ทำ Automation ได้เลย!</h2>
<p><!-- Introduction --></p>
<p class="word-wrap">อยากทำ Automation กับ Twitter แต่ไม่รู้จะเริ่มยังไง? <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f914.png" alt="🤔" class="wp-smiley" style="height: 1em; max-height: 1em;" /><br />
บทความนี้จะสอนวิธี <strong>เชื่อมต่อ Twitter API กับ n8n ด้วย API Key</strong> แบบเข้าใจง่าย เหมาะสำหรับคนที่อยากให้ Bot ของตัวเองโพสต์หรืออ่านข้อมูลจาก Twitter อัตโนมัติ</p>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>1. สมัคร Twitter Developer Account</h3>
<ol class="ol-post">
<li>เข้าไปที่ <a href="https://developer.twitter.com" target="_blank" rel="noopener">https://developer.twitter.com</a></li>
<li>สมัครและยืนยันบัญชี</li>
<li>สร้าง <strong>Project</strong> และ <strong>App</strong> สำหรับใช้งาน API</li>
</ol>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/08/screencapture-developer-x-en-portal-projects-1950076966381768708-apps-31273909-keys-2025-08-05-22_44_49.png" target="_self" data-large_image_width="1280" data-large_image_height="1086"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img decoding="async" width="1280" height="1086" src="https://www.novelbiz.co.th/wp-content/uploads/2025/08/screencapture-developer-x-en-portal-projects-1950076966381768708-apps-31273909-keys-2025-08-05-22_44_49.png" class="vc_single_image-img attachment-full" alt="" title="screencapture-developer-x-en-portal-projects-1950076966381768708-apps-31273909-keys-2025-08-05-22_44_49" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/08/screencapture-developer-x-en-portal-projects-1950076966381768708-apps-31273909-keys-2025-08-05-22_44_49.png 1280w, https://www.novelbiz.co.th/wp-content/uploads/2025/08/screencapture-developer-x-en-portal-projects-1950076966381768708-apps-31273909-keys-2025-08-05-22_44_49-768x652.png 768w" sizes="(max-width: 1280px) 100vw, 1280px"  data-dt-location="https://www.novelbiz.co.th/tutorial-authen-twitter-api-n8n-api-key-automation/screencapture-developer-x-en-portal-projects-1950076966381768708-apps-31273909-keys-2025-08-05-22_44_49/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>2. สร้าง API Key</h3>
<ol class="ol-post">
<li>ไปที่หน้า <strong>Keys and Tokens</strong> ของแอป</li>
<li>คัดลอกค่า:
<ul class="ol-post">
<li><strong>API Key</strong></li>
<li><strong>API Secret Key</strong></li>
</ul>
</li>
<li><em>เก็บข้อมูลนี้ให้ปลอดภัย ห้ามแชร์ออกสู่สาธารณะ</em></li>
</ol>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/08/Screenshot-2025-08-05-225646.png" target="_self" data-large_image_width="561" data-large_image_height="136"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img decoding="async" width="561" height="136" src="https://www.novelbiz.co.th/wp-content/uploads/2025/08/Screenshot-2025-08-05-225646.png" class="vc_single_image-img attachment-full" alt="" title="Screenshot 2025-08-05 225646"  data-dt-location="https://www.novelbiz.co.th/tutorial-authen-twitter-api-n8n-api-key-automation/screenshot-2025-08-05-225646/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/08/Screenshot-2025-08-05-224855.png" target="_self" data-large_image_width="618" data-large_image_height="487"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="618" height="487" src="https://www.novelbiz.co.th/wp-content/uploads/2025/08/Screenshot-2025-08-05-224855.png" class="vc_single_image-img attachment-full" alt="" title="Screenshot 2025-08-05 224855"  data-dt-location="https://www.novelbiz.co.th/tutorial-authen-twitter-api-n8n-api-key-automation/screenshot-2025-08-05-224855/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>3. ตั้งค่าใน n8n</h3>
<ol class="ol-post">
<li>เปิด n8n → ไปที่ <a href="https://docs.n8n.io/credentials" target="_blank" rel="noopener">Credentials</a> → กด <strong>New</strong></li>
<li>เลือก OAuth1 API</li>
<li>กรอกข้อมูล:
<ul class="ol-post">
<li><strong>Authorization UR</strong>L → ใส่ https://api.twitter.com/oauth/authorize</li>
<li><strong>Access Token URL</strong> → https://api.twitter.com/oauth/access_token</li>
<li><strong>Consumer Key</strong> → ใส่ API Key ของคุณ</li>
<li><strong>Consumer Secret</strong>  → ใส่ API Secret Key ของคุณ</li>
<li><strong>Request Token URL</strong>  → ใส่ https://api.twitter.com/oauth/request_token</li>
<li><strong>Signature Method</strong>  → เลือกเป็น HMAC-SHA1</li>
</ul>
</li>
<li>กด <strong>Save</strong></li>
</ol>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/08/Screenshot-2025-08-05-225453.png" target="_self" data-large_image_width="596" data-large_image_height="587"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="596" height="587" src="https://www.novelbiz.co.th/wp-content/uploads/2025/08/Screenshot-2025-08-05-225453.png" class="vc_single_image-img attachment-full" alt="" title="Screenshot 2025-08-05 225453"  data-dt-location="https://www.novelbiz.co.th/tutorial-authen-twitter-api-n8n-api-key-automation/screenshot-2025-08-05-225453/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/08/Screenshot-2025-08-05-225203.png" target="_self" data-large_image_width="1202" data-large_image_height="733"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1202" height="733" src="https://www.novelbiz.co.th/wp-content/uploads/2025/08/Screenshot-2025-08-05-225203.png" class="vc_single_image-img attachment-full" alt="" title="Screenshot 2025-08-05 225203" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/08/Screenshot-2025-08-05-225203.png 1202w, https://www.novelbiz.co.th/wp-content/uploads/2025/08/Screenshot-2025-08-05-225203-768x468.png 768w" sizes="auto, (max-width: 1202px) 100vw, 1202px"  data-dt-location="https://www.novelbiz.co.th/tutorial-authen-twitter-api-n8n-api-key-automation/screenshot-2025-08-05-225203/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>ชื่อ Workflow</h3>
<p>โพสต์ภาพลง Twitter โดยอัตโนมัติ (ดึงภาพ ปรับขนาด และโพสต์)</p>
<h3>ลำดับการทำงาน</h3>
<ol class="ol-post">
<li><strong>When clicking &#8216;Execute workflow&#8217;</strong> &#8211; Trigger แบบ Manual ใช้สำหรับเริ่มทำงาน workflow ด้วยการกดปุ่ม Execute</li>
<li><strong>Get Image</strong> &#8211; ดึงไฟล์ภาพจาก URL (<code>GET: https://www.novelbiz.co...</code>) ทำหน้าที่โหลดภาพต้นฉบับจากเว็บหรือเซิร์ฟเวอร์</li>
<li><strong>Edit Image (Resize)</strong> &#8211; ปรับขนาดภาพให้เหมาะสมก่อนอัปโหลด เช่น ลดความกว้าง/สูง เพื่อให้ตรงตามข้อกำหนดของ Twitter</li>
<li><strong>Upload Image</strong> &#8211; ส่งไฟล์ภาพไปที่ API ของ Twitter (<code>POST: https://upload.twitter.com/...</code>) เพื่ออัปโหลดไฟล์และรับ <code>media_id</code> กลับมา</li>
<li><strong>Cleaned Output</strong> &#8211; จัดรูปแบบข้อมูลผลลัพธ์จากขั้น Upload Image ดึงเฉพาะข้อมูลสำคัญ เช่น <code>media_id</code> สำหรับใช้ในขั้นตอนถัดไป</li>
<li><strong>Create Tweet</strong> &#8211; ใช้ API <code>create:tweet</code> ของ Twitter เพื่อสร้างทวีตใหม่พร้อมแนบ <code>media_id</code> จากขั้นตอนก่อนหน้า และสามารถเพิ่มข้อความประกอบภาพได้</li>
</ol>
<p>Workflow นี้จะเริ่มทำงานเมื่อกด Execute → โหลดภาพจากเว็บ → ปรับขนาด → อัปโหลดไป Twitter → ทำความสะอาดข้อมูลผลลัพธ์ → สร้างทวีตใหม่พร้อมภาพที่อัปโหลด</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/08/Screenshot-2025-08-05-222202.png" target="_self" data-large_image_width="1068" data-large_image_height="602"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1068" height="602" src="https://www.novelbiz.co.th/wp-content/uploads/2025/08/Screenshot-2025-08-05-222202.png" class="vc_single_image-img attachment-full" alt="" title="Screenshot 2025-08-05 222202" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/08/Screenshot-2025-08-05-222202.png 1068w, https://www.novelbiz.co.th/wp-content/uploads/2025/08/Screenshot-2025-08-05-222202-768x433.png 768w" sizes="auto, (max-width: 1068px) 100vw, 1068px"  data-dt-location="https://www.novelbiz.co.th/tutorial-authen-twitter-api-n8n-api-key-automation/screenshot-2025-08-05-222202/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>วิดีโอสอน</h3>
<p class="word-wrap">รับชมวิดีโอการสอนแบบเต็มได้ที่นี่:</p>
<p><center><iframe style="width: 100%; min-height: 500px; border: none; overflow-y: hidden; overflow-x: hidden;" title="YouTube video player" src="https://www.youtube.com/embed/7xsseqN_Vn8" scrolling="no"><span data-mce-type="bookmark" style="display: inline-block; width: 0px; overflow: hidden; line-height: 0;" class="mce_SELRES_start">﻿</span><span data-mce-type="bookmark" style="display: inline-block; width: 0px; overflow: hidden; line-height: 0;" class="mce_SELRES_start">﻿</span></iframe></center></p>
<hr />
<p><!-- Conclusion --></p>
<h3>สรุป</h3>
<p class="word-wrap">เพียงเท่านี้คุณก็สามารถเชื่อมต่อ <strong>Twitter API</strong> กับ <strong>n8n</strong> ได้สำเร็จ และสามารถสร้าง Automation ได้หลากหลาย เช่น โพสต์ทวีตอัตโนมัติ, ดึงข้อมูล Mention, หรือทำ Bot ตอบกลับได้ง่ายๆ<br />
อย่าลืมดูรายละเอียดเพิ่มเติมจากเอกสารทางการ:</p>
<ul class="ol-post">
<li><a href="https://developer.twitter.com/en/docs" target="_blank" rel="noopener">Twitter API Documentation</a></li>
<li><a href="https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.twitter/" target="_blank" rel="noopener">n8n Twitter Node Docs</a></li>
<li>ติดต่อเรา: <a href="https://www.novelbiz.co.th/about-us/">คลิ้ก</a></li>
</ul>

		</div>
	</div>
</div></div></div></div>
</div><p>The post <a href="https://www.novelbiz.co.th/tutorial-authen-twitter-api-n8n-api-key-automation/">สอน Authen Twitter API ใน n8n ใช้ API Key ทำ Automation ได้เลย!</a> first appeared on <a href="https://www.novelbiz.co.th">NOVELBIZ</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>เก็บข้อมูล LINE OA เข้า Google Sheets อัตโนมัติด้วย n8n</title>
		<link>https://www.novelbiz.co.th/line-oa-google-sheets-n8n/</link>
		
		<dc:creator><![CDATA[novelbi1]]></dc:creator>
		<pubDate>Wed, 18 Jun 2025 03:25:49 +0000</pubDate>
				<category><![CDATA[Learning_resources]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[ChatGPT]]></category>
		<category><![CDATA[GPT-4]]></category>
		<category><![CDATA[Technology]]></category>
		<guid isPermaLink="false">https://www.novelbiz.co.th/?p=61262</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper"><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/06/ChatGPT-Image-Jun-18-2025-03_23_25-PM.png" target="_self" data-large_image_width="1536" data-large_image_height="1024"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1536" height="1024" src="https://www.novelbiz.co.th/wp-content/uploads/2025/06/ChatGPT-Image-Jun-18-2025-03_23_25-PM.png" class="vc_single_image-img attachment-full" alt="" title="ChatGPT Image Jun 18, 2025, 03_23_25 PM" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/06/ChatGPT-Image-Jun-18-2025-03_23_25-PM.png 1536w, https://www.novelbiz.co.th/wp-content/uploads/2025/06/ChatGPT-Image-Jun-18-2025-03_23_25-PM-768x512.png 768w" sizes="auto, (max-width: 1536px) 100vw, 1536px"  data-dt-location="https://www.novelbiz.co.th/line-oa-google-sheets-n8n/chatgpt-image-jun-18-2025-03_23_25-pm/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h2>เก็บข้อมูลลูกค้าจาก LINE OA เข้า Google Sheets อัตโนมัติ ด้วย n8n – ไม่ต้องพิมพ์มืออีกต่อไป!</h2>
<p>ใครที่ใช้ <strong>LINE Official Account</strong> (LINE OA) แล้วอยากเก็บข้อมูลลูกค้าที่ทักเข้ามา เช่น ชื่อ, เบอร์, คำถาม ฯลฯ เข้า <strong>Google Sheets</strong> แบบเรียลไทม์ บอกเลยว่าทำได้ง่ายมากด้วย <strong>n8n</strong>!</p>
<h3><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f6e0.png" alt="🛠" class="wp-smiley" style="height: 1em; max-height: 1em;" /> สิ่งที่ต้องเตรียม</h3>
<ul class="ol-post">
<li>LINE Messaging API (ตั้งค่า Webhook ได้)</li>
<li>บัญชี Google + เปิดใช้งาน Google Sheets API</li>
<li>Workflow ใน n8n ที่รับ Webhook แล้วส่งข้อมูลเข้า Google Sheets</li>
</ul>
<h3><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4cb.png" alt="📋" class="wp-smiley" style="height: 1em; max-height: 1em;" /> ขั้นตอน Workflow</h3>
<ol class="ol-post">
<li><strong>ตั้งค่า Webhook</strong> ใน <a href="https://developers.line.biz/en/">LINE Developer Console</a> ให้ชี้มาที่ Webhook URL จาก n8n (HTTP Request Node)</li>
<li><strong>ใน n8n</strong>: รับข้อมูลจาก LINE เช่น userId และข้อความที่ลูกค้าพิมพ์</li>
<li>เลือกดึงข้อมูลเพิ่มเติมจาก LINE API เช่น <code>/v2/bot/profile/{userId}</code> เพื่อได้ชื่อผู้ใช้</li>
<li>ส่งข้อมูลทั้งหมดเข้า <a href="https://workspace.google.com/intl/th/products/sheets/">Google Sheets</a> โดยใช้ Node &#8220;Append Sheet Row&#8221;</li>
<li>(เลือกได้) ส่งข้อความตอบกลับกลับไปหาลูกค้า เช่น &#8220;ขอบคุณที่สนใจ ทีมงานจะติดต่อกลับเร็ว ๆ นี้ <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f60a.png" alt="😊" class="wp-smiley" style="height: 1em; max-height: 1em;" />&#8221;</li>
</ol>
<h3><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4cc.png" alt="📌" class="wp-smiley" style="height: 1em; max-height: 1em;" /> โค้ดตัวอย่างใน Function Node</h3>
<pre><code class="language-javascript">
const body = $json.events[0];
return [{
  json: {
    userId: body.source.userId,
    message: body.message.text,
    timestamp: new Date(body.timestamp).toISOString()
  }
}]
</code></pre>
<h3><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4ca.png" alt="📊" class="wp-smiley" style="height: 1em; max-height: 1em;" /> ตัวอย่าง Mapping ใน Google Sheets</h3>
<ul class="ol-post">
<li><strong>Column A:</strong> userId</li>
<li><strong>Column B:</strong> message</li>
<li><strong>Column C:</strong> timestamp</li>
</ul>
<h3><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4a1.png" alt="💡" class="wp-smiley" style="height: 1em; max-height: 1em;" /> เพิ่มเติมที่คุณทำได้</h3>
<ul class="ol-post">
<li>ใช้ Regex กรองเฉพาะข้อความที่น่าสนใจ เช่น “สนใจสินค้า” ก่อนเก็บ</li>
<li>ตั้งค่า Rich Menu ให้ลูกค้ากด “ลงทะเบียน” แล้วยิง Webhook</li>
<li>ผูกระบบ CRM หรือระบบตอบกลับอัตโนมัติเข้าไปใน Workflow ได้อีก</li>
</ul>
<p><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2728.png" alt="✨" class="wp-smiley" style="height: 1em; max-height: 1em;" /> เพียงเท่านี้คุณก็สามารถเก็บข้อมูลลูกค้าจาก LINE OA ได้แบบมืออาชีพ โดยไม่ต้องเสียเวลา Copy &amp; Paste อีกต่อไป!<br />
<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f517.png" alt="🔗" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <a href="https://www.novelbiz.co.th/about-us/">ติดต่อเรา</a><br />
<strong>#n8n #LINEOA #GoogleSheets #Automation #DigitalMarketing #NoCodeThailand</strong></p>

		</div>
	</div>

	<div class="wpb_video_widget wpb_content_element vc_clearfix   vc_video-aspect-ratio-169 vc_video-el-width-100 vc_video-align-center" >
		<div class="wpb_wrapper">
			<h2 class="wpb_heading wpb_video_heading">วีดีโอ Workflow Automation</h2>
			<div class="wpb_video_wrapper"><iframe loading="lazy" title="Workflow Automation" width="500" height="281" src="https://www.youtube.com/embed/videoseries?list=PLh2POp0fyXfTGAG3xY4SUGh1G-Rlr4ZC9" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
		</div>
	</div>
</div></div></div></div>
</div><p>The post <a href="https://www.novelbiz.co.th/line-oa-google-sheets-n8n/">เก็บข้อมูล LINE OA เข้า Google Sheets อัตโนมัติด้วย n8n</a> first appeared on <a href="https://www.novelbiz.co.th">NOVELBIZ</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>RAG อัตโนมัติด้วย n8n + Gemini + Supabase</title>
		<link>https://www.novelbiz.co.th/rag-automation-n8n-gemini-supabase/</link>
		
		<dc:creator><![CDATA[novelbi1]]></dc:creator>
		<pubDate>Wed, 11 Jun 2025 02:00:18 +0000</pubDate>
				<category><![CDATA[Learning_resources]]></category>
		<guid isPermaLink="false">https://www.novelbiz.co.th/?p=61219</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper"><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Screenshot-2025-06-11-211442.png" target="_self" data-large_image_width="1740" data-large_image_height="708"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1740" height="708" src="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Screenshot-2025-06-11-211442.png" class="vc_single_image-img attachment-full" alt="" title="Screenshot 2025-06-11 211442" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Screenshot-2025-06-11-211442.png 1740w, https://www.novelbiz.co.th/wp-content/uploads/2025/06/Screenshot-2025-06-11-211442-768x312.png 768w, https://www.novelbiz.co.th/wp-content/uploads/2025/06/Screenshot-2025-06-11-211442-1536x625.png 1536w" sizes="auto, (max-width: 1740px) 100vw, 1740px"  data-dt-location="https://www.novelbiz.co.th/rag-automation-n8n-gemini-supabase/screenshot-2025-06-11-211442/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h2>RAG อัตโนมัติด้วย n8n + Gemini + Supabase</h2>
<p>ในยุคที่ข้อมูลเอกสารท่วมท้น เราจะปล่อยให้มนุษย์ไล่เปิด PDF ทีละหน้าอยู่ทำไม? <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f916.png" alt="🤖" class="wp-smiley" style="height: 1em; max-height: 1em;" /> วันนี้เราขอพาไปดูตัวอย่าง workflow ที่สุดแสนอัจฉริยะ ด้วยพลังของ n8n, Google Gemini และ Supabase Vector Store ที่ช่วยให้คุณสามารถ</p>
<ul class="ol-post">
<li>โหลดไฟล์จาก Google Drive</li>
<li>อ่านข้อมูลจาก PDF และ CSV</li>
<li>สร้าง metadata อัตโนมัติ</li>
<li>สร้าง embedding ใส่ Supabase</li>
<li>ประมวลผล context และสรุปผลด้วย AI</li>
</ul>
<h3>เครื่องมือที่ใช้ใน Workflow นี้</h3>
<ul class="ol-post">
<li>n8n: ระบบ Workflow Automation แบบ Open Source</li>
<li>Google Gemini API: ใช้ในการประมวลผลเนื้อหาและสรุปข้อความ</li>
<li>Supabase Vector Store: ฐานข้อมูลเก็บ embedding สำหรับการค้นคืนข้อมูล</li>
<li>PDF/CSV Parser: ดึงข้อมูลจากไฟล์</li>
<li>AI Agents: ช่วยสร้าง metadata, title, description และ context</li>
</ul>
<h3>โครงสร้างของ Workflow นี้เป็นอย่างไร?</h3>
<p>ภาพด้านบนแสดงการไหลของข้อมูลตั้งแต่ต้นจนจบ:</p>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<ol>
<li>
<h3>Google Drive Trigger</h3>
<p>เมื่อมีไฟล์ใหม่เข้ามาในโฟลเดอร์ Drive จะเริ่มทำงานทันที</li>
</ol>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Google-Drive-Trigger-File-Created.png" target="_self" data-large_image_width="1218" data-large_image_height="855"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1218" height="855" src="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Google-Drive-Trigger-File-Created.png" class="vc_single_image-img attachment-full" alt="" title="Google Drive Trigger File Created" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Google-Drive-Trigger-File-Created.png 1218w, https://www.novelbiz.co.th/wp-content/uploads/2025/06/Google-Drive-Trigger-File-Created-768x539.png 768w" sizes="auto, (max-width: 1218px) 100vw, 1218px"  data-dt-location="https://www.novelbiz.co.th/rag-automation-n8n-gemini-supabase/google-drive-trigger-file-created/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<ol start="2">
<li>
<h3>Loop Over Items</h3>
<p>วนลูปไฟล์ใหม่ทีละไฟล์</li>
</ol>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Loop-Over-Items.png" target="_self" data-large_image_width="1226" data-large_image_height="882"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1226" height="882" src="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Loop-Over-Items.png" class="vc_single_image-img attachment-full" alt="" title="Loop Over Items" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Loop-Over-Items.png 1226w, https://www.novelbiz.co.th/wp-content/uploads/2025/06/Loop-Over-Items-768x553.png 768w" sizes="auto, (max-width: 1226px) 100vw, 1226px"  data-dt-location="https://www.novelbiz.co.th/rag-automation-n8n-gemini-supabase/loop-over-items/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<ol start="3">
<li>
<h3>Download File</h3>
<p>ดาวน์โหลดไฟล์จาก Google Drive</li>
</ol>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Download-FIle.png" target="_self" data-large_image_width="1225" data-large_image_height="863"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1225" height="863" src="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Download-FIle.png" class="vc_single_image-img attachment-full" alt="" title="Download FIle" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Download-FIle.png 1225w, https://www.novelbiz.co.th/wp-content/uploads/2025/06/Download-FIle-768x541.png 768w" sizes="auto, (max-width: 1225px) 100vw, 1225px"  data-dt-location="https://www.novelbiz.co.th/rag-automation-n8n-gemini-supabase/download-file/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<ol start="4">
<li>
<h3>แยกประเภทไฟล์</h3>
<p>ผ่าน node Switch เพื่อแยกว่าเป็น PDF หรือ CSV แล้วใช้ตัวแยกต่างกัน</li>
</ol>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Switch.png" target="_self" data-large_image_width="1223" data-large_image_height="873"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1223" height="873" src="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Switch.png" class="vc_single_image-img attachment-full" alt="" title="Switch" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Switch.png 1223w, https://www.novelbiz.co.th/wp-content/uploads/2025/06/Switch-768x548.png 768w" sizes="auto, (max-width: 1223px) 100vw, 1223px"  data-dt-location="https://www.novelbiz.co.th/rag-automation-n8n-gemini-supabase/switch/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<ol start="5">
<li>
<h3>ดึงข้อมูลจากเอกสาร</h3>
<p>ข้อมูลจาก PDF หรือ CSV จะถูกประมวลผลและจัดระเบียบ</li>
</ol>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Extract-from-PDF.png" target="_self" data-large_image_width="1226" data-large_image_height="861"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1226" height="861" src="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Extract-from-PDF.png" class="vc_single_image-img attachment-full" alt="" title="Extract from PDF" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Extract-from-PDF.png 1226w, https://www.novelbiz.co.th/wp-content/uploads/2025/06/Extract-from-PDF-768x539.png 768w" sizes="auto, (max-width: 1226px) 100vw, 1226px"  data-dt-location="https://www.novelbiz.co.th/rag-automation-n8n-gemini-supabase/extract-from-pdf/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Extract-from-CSV.png" target="_self" data-large_image_width="1222" data-large_image_height="863"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1222" height="863" src="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Extract-from-CSV.png" class="vc_single_image-img attachment-full" alt="" title="Extract from CSV" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Extract-from-CSV.png 1222w, https://www.novelbiz.co.th/wp-content/uploads/2025/06/Extract-from-CSV-768x542.png 768w" sizes="auto, (max-width: 1222px) 100vw, 1222px"  data-dt-location="https://www.novelbiz.co.th/rag-automation-n8n-gemini-supabase/extract-from-csv/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<ol start="6">
<li>
<h3>AI Agent</h3>
<p>ใช้ Gemini วิเคราะห์เอกสารเพื่อสร้าง title และ description อัตโนมัติ</li>
</ol>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Create-Metadata-Title-Description.png" target="_self" data-large_image_width="1227" data-large_image_height="888"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1227" height="888" src="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Create-Metadata-Title-Description.png" class="vc_single_image-img attachment-full" alt="" title="Create Metadata Title &amp; Description" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Create-Metadata-Title-Description.png 1227w, https://www.novelbiz.co.th/wp-content/uploads/2025/06/Create-Metadata-Title-Description-768x556.png 768w" sizes="auto, (max-width: 1227px) 100vw, 1227px"  data-dt-location="https://www.novelbiz.co.th/rag-automation-n8n-gemini-supabase/create-metadata-title-description/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Structured-Output-Parser.png" target="_self" data-large_image_width="1225" data-large_image_height="871"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1225" height="871" src="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Structured-Output-Parser.png" class="vc_single_image-img attachment-full" alt="" title="Structured Output Parser" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Structured-Output-Parser.png 1225w, https://www.novelbiz.co.th/wp-content/uploads/2025/06/Structured-Output-Parser-768x546.png 768w" sizes="auto, (max-width: 1225px) 100vw, 1225px"  data-dt-location="https://www.novelbiz.co.th/rag-automation-n8n-gemini-supabase/structured-output-parser/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<ol start="7">
<li>
<h3>Embedding + RAG</h3>
<ul class="ol-post">
<li>ใช้ Character Text Splitter แบ่งข้อความ</li>
</ul>
</li>
</ol>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Split-into-chunks.png" target="_self" data-large_image_width="1222" data-large_image_height="886"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1222" height="886" src="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Split-into-chunks.png" class="vc_single_image-img attachment-full" alt="" title="Split into chunks" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Split-into-chunks.png 1222w, https://www.novelbiz.co.th/wp-content/uploads/2025/06/Split-into-chunks-768x557.png 768w" sizes="auto, (max-width: 1222px) 100vw, 1222px"  data-dt-location="https://www.novelbiz.co.th/rag-automation-n8n-gemini-supabase/split-into-chunks/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Split-Out.png" target="_self" data-large_image_width="1222" data-large_image_height="866"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1222" height="866" src="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Split-Out.png" class="vc_single_image-img attachment-full" alt="" title="Split Out" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Split-Out.png 1222w, https://www.novelbiz.co.th/wp-content/uploads/2025/06/Split-Out-768x544.png 768w" sizes="auto, (max-width: 1222px) 100vw, 1222px"  data-dt-location="https://www.novelbiz.co.th/rag-automation-n8n-gemini-supabase/split-out/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Limit.png" target="_self" data-large_image_width="1223" data-large_image_height="887"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1223" height="887" src="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Limit.png" class="vc_single_image-img attachment-full" alt="" title="Limit" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Limit.png 1223w, https://www.novelbiz.co.th/wp-content/uploads/2025/06/Limit-768x557.png 768w" sizes="auto, (max-width: 1223px) 100vw, 1223px"  data-dt-location="https://www.novelbiz.co.th/rag-automation-n8n-gemini-supabase/limit/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<ul class="ol-post">
<li>แปลงเป็น embedding</li>
</ul>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Embeddings-Ollama1.png" target="_self" data-large_image_width="1227" data-large_image_height="885"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1227" height="885" src="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Embeddings-Ollama1.png" class="vc_single_image-img attachment-full" alt="" title="Embeddings Ollama1" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Embeddings-Ollama1.png 1227w, https://www.novelbiz.co.th/wp-content/uploads/2025/06/Embeddings-Ollama1-768x554.png 768w" sizes="auto, (max-width: 1227px) 100vw, 1227px"  data-dt-location="https://www.novelbiz.co.th/rag-automation-n8n-gemini-supabase/embeddings-ollama1/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<ul class="ol-post">
<li>บันทึกเข้า Supabase Vector Store</li>
</ul>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Add-Data-to-Supabase-Vector-Store.png" target="_self" data-large_image_width="1226" data-large_image_height="888"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1226" height="888" src="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Add-Data-to-Supabase-Vector-Store.png" class="vc_single_image-img attachment-full" alt="" title="Add Data to Supabase Vector Store" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/06/Add-Data-to-Supabase-Vector-Store.png 1226w, https://www.novelbiz.co.th/wp-content/uploads/2025/06/Add-Data-to-Supabase-Vector-Store-768x556.png 768w" sizes="auto, (max-width: 1226px) 100vw, 1226px"  data-dt-location="https://www.novelbiz.co.th/rag-automation-n8n-gemini-supabase/add-data-to-supabase-vector-store/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>ใช้ทำอะไรได้บ้าง?</h3>
<ul class="ol-post">
<li>ระบบ Knowledge Base อัตโนมัติ</li>
<li>ช่วยทีม HR, บัญชี หรือกฎหมายประหยัดเวลาในการอ่านเอกสาร</li>
</ul>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/06/rag.png" target="_self" data-large_image_width="500" data-large_image_height="500"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="500" height="500" src="https://www.novelbiz.co.th/wp-content/uploads/2025/06/rag.png" class="vc_single_image-img attachment-full" alt="" title="rag"  data-dt-location="https://www.novelbiz.co.th/rag-automation-n8n-gemini-supabase/rag/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>สรุป</h3>
<p>Workflow นี้คือก้าวสำคัญในการนำ AI มาช่วยจัดการเอกสารอย่างอัตโนมัติและมีประสิทธิภาพ เหมาะกับทั้งองค์กรขนาดเล็กและใหญ่ที่ต้องการเพิ่มความเร็ว ลดข้อผิดพลาด และใช้ข้อมูลอย่างชาญฉลาดมากขึ้น</p>
<h3>ตัวอย่างไฟล์ JSON Workflow: <a href="https://drive.google.com/file/d/1FJ6mYS6LFvXb-wqomVekF2P0AJHB7l65/view?usp=sharing">คลิ้ก</a><br />
ติดต่อเรา: <a href="https://www.novelbiz.co.th/about-us/">คลิ้ก</a></h3>

		</div>
	</div>

	<div class="wpb_video_widget wpb_content_element vc_clearfix   vc_video-aspect-ratio-169 vc_video-el-width-100 vc_video-align-center" >
		<div class="wpb_wrapper">
			
			<div class="wpb_video_wrapper"><iframe loading="lazy" title="EP.7 การสร้างระบบ RAG ด้วย Gemini ร่วมกับ Ollama และ Supabase Vector โดยใช้ n8n" width="500" height="281" src="https://www.youtube.com/embed/cj5foG9ATXg?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
		</div>
	</div>
</div></div></div></div>
</div><p>The post <a href="https://www.novelbiz.co.th/rag-automation-n8n-gemini-supabase/">RAG อัตโนมัติด้วย n8n + Gemini + Supabase</a> first appeared on <a href="https://www.novelbiz.co.th">NOVELBIZ</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>ไม่ต้องตัดเอง! ใช้ Gemini + n8n สร้าง Shorts ง่ายๆ</title>
		<link>https://www.novelbiz.co.th/gemini-n8n-easy-shorts/</link>
		
		<dc:creator><![CDATA[novelbi1]]></dc:creator>
		<pubDate>Wed, 04 Jun 2025 02:00:18 +0000</pubDate>
				<category><![CDATA[Learning_resources]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[GPT-4]]></category>
		<category><![CDATA[Technology]]></category>
		<guid isPermaLink="false">https://www.novelbiz.co.th/?p=61199</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper"><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/06/ChatGPT-Image-Jun-4-2025-07_01_26-PM.png" target="_self" data-large_image_width="1536" data-large_image_height="1024"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1536" height="1024" src="https://www.novelbiz.co.th/wp-content/uploads/2025/06/ChatGPT-Image-Jun-4-2025-07_01_26-PM.png" class="vc_single_image-img attachment-full" alt="ChatGPT Image" title="ChatGPT Image Jun 4, 2025, 07_01_26 PM" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/06/ChatGPT-Image-Jun-4-2025-07_01_26-PM.png 1536w, https://www.novelbiz.co.th/wp-content/uploads/2025/06/ChatGPT-Image-Jun-4-2025-07_01_26-PM-768x512.png 768w" sizes="auto, (max-width: 1536px) 100vw, 1536px"  data-dt-location="https://www.novelbiz.co.th/gemini-n8n-easy-shorts/chatgpt-image-jun-4-2025-07_01_26-pm/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h2>ไม่ต้องตัดเอง! ใช้ Gemini + n8n สร้าง Shorts ง่ายๆ</h2>
<p><strong>เหนื่อยกับการตัดคลิป Shorts เองไหม?</strong><br />
มาลองระบบ &#8220;AI Short Generator&#8221; ที่ใช้พลังของ <a href="https://aistudio.google.com/app/apikey">Google Gemini</a> + <a href="https://n8n.io/">n8n</a> เพื่อ เขียนสคริปต์ → สร้างเสียง → สร้างภาพ/วิดีโอ → อัปโหลดไป YouTube Shorts ทั้งหมดอัตโนมัติใน Workflow เดียว!</p>
<h3>เป้าหมาย</h3>
<p>สร้าง Shorts 1 คลิป โดยใช้ AI ช่วยทุกขั้นตอน<br />
ตั้งแต่ คิดหัวข้อ, เขียนสคริปต์, ใส่เสียง, ทำวิดีโอ, จนถึง อัปโหลด YouTube Shorts</p>
<h3>เครื่องมือที่ใช้</h3>
<ul class="ol-post">
<li>Gemini 1.5 Pro via Google AI Studio — สร้างสคริปต์จากหัวข้อ</li>
<li>n8n — ตัวเชื่อมอัตโนมัติทุกขั้นตอน (Workflow orchestration)</li>
<li>TTS (Text-to-Speech) เช่น Google Cloud Text-to-Speech หรือ ElevenLabs</li>
<li>AI Image Generator (เช่น Replicate, DALL·E หรือ Leonardo.AI)</li>
<li>FFmpeg — รวมเสียงและภาพเป็นวิดีโอ</li>
<li>YouTube API — อัปโหลด Shorts อัตโนมัติ</li>
</ul>
<h3>โครงสร้าง Workflow แบบ Step-by-step</h3>
<p><strong>Trigger: เริ่ม Workflow (แบบตั้งเวลา หรือ webhook)</strong></p>
<ul class="ol-post">
<li>Time Trigger → ให้มันยิงทุกวัน เช่น 09:00 น.</li>
<li>หรือใช้ Webhook จาก Telegram / Discord / Notion เพื่อสั่งแบบ manual</li>
</ul>
<h3>Generate Topic ด้วย Gemini</h3>
<pre><code>
Prompt:
"ช่วยเสนอหัวข้อวิดีโอสั้นที่น่าสนใจสำหรับช่อง YouTube แนว [แนวของคุณ เช่น ความรู้ทั่วไป, จิตวิทยา, AI ฯลฯ] พร้อมคำอธิบายสั้น ๆ"

Response:
{
  "title": "ทำไมคนถึงชอบเลื่อน TikTok โดยไม่หยุด?",
  "summary": "อธิบายพฤติกรรมการเสพ dopamine จากการ scroll"
}

</code></pre>
<p>ใช้ Gemini 1.5 Pro API หรือผ่าน Google AI Studio + Webhook n8n</p>
<h3>Generate Script จากหัวข้อ</h3>
<p>Prompt ถัดไป:</p>
<pre><code>
"เขียนสคริปต์วิดีโอ YouTube Shorts จากหัวข้อ: ทำไมคนถึงชอบเลื่อน TikTok โดยไม่หยุด? ความยาวประมาณ 60 วินาที ใช้ภาษาพูดเป็นกันเอง"
</code></pre>
<p>Gemini จะตอบกลับด้วย script พร้อมแบ่งบรรทัด</p>
<h3>แปลงสคริปต์เป็นเสียงพูด (TTS)</h3>
<ul class="ol-post">
<li>ใช้ Google TTS หรือ ElevenLabs เพื่อแปลงเป็นไฟล์เสียง .mp3</li>
<li>เลือกเสียงที่น่าฟัง เช่น Zephyr หรือ Orus จาก Gemini TTS Voice List</li>
<li>เสียงควร energetic และชัดเจน เพื่อดึงคนดู</li>
</ul>
<h3>สร้างภาพ (หรือวิดีโอพื้นหลัง)</h3>
<ul class="ol-post">
<li>ใช้ Midjourney / DALL·E / Replicate / Leonardo.AI เพื่อสร้าง 1–5 ภาพประกอบ</li>
<li>หรือใส่วิดีโอสั้นวนลูปเป็น background</li>
<li>สำหรับขั้นสูง: ใช้ RunwayML หรือ Pika เพื่อ generate วิดีโอจากข้อความ</li>
</ul>
<h3>รวมเสียงและภาพเป็นวิดีโอ (FFmpeg)</h3>
<p>ใช้ Node Execute Command หรือ Node FFmpeg แบบ custom:</p>
<pre><code>
ffmpeg -loop 1 -i background.jpg -i voice.mp3 -c:v libx264 -tune stillimage -c:a aac -b:a 192k -shortest output.mp4
</code></pre>
<h3>อัปโหลดวิดีโอไป YouTube Shorts</h3>
<ul class="ol-post">
<li>ใช้ YouTube API ผ่าน OAuth2 บน n8n</li>
<li>ตั้งค่า:
<ul class="ol-post">
<li>ใtitle: เอาจาก Gemini</li>
<li>ใdescription: ใส่แฮชแท็ก เช่น #shorts #dopamine #tiktok</li>
<li>ใprivacyStatus: public / unlisted / private</li>
</ul>
</li>
</ul>
<h3>Optional: แจ้งเตือนกลับไปยัง Telegram/Notion</h3>
<p>หลังอัปโหลดสำเร็จ ให้ยิง webhook แจ้งเตือน</p>
<ul class="ol-post">
<li>“Shorts อัปโหลดสำเร็จ: [ลิงก์วิดีโอ]”</li>
<li>“ความยาววิดีโอ: 52 วินาที / เสียง: Zephyr / Topic: Dopamine &amp; TikTok”</li>
</ul>
<h3>ตัวอย่าง Flow บน n8n</h3>
<pre>code&gt;
graph TD
A[Time Trigger] --&gt; B[Gemini: Generate Topic]
B --&gt; C[Gemini: Generate Script]
C --&gt; D[TTS: Generate Voice]
D --&gt; E[Image Generator: Create Visuals]
E --&gt; F[FFmpeg: Combine Audio + Visual]
F --&gt; G[YouTube API: Upload Shorts]
G --&gt; H[Telegram: Notify Success]
</pre>
<h3>ข้อดีของระบบนี้</h3>
<ul class="ol-post">
<li>สร้าง Shorts อัตโนมัติทุกวัน</li>
<li>ปรับแนวเสียง/ภาพได้หลากหลาย</li>
<li>ขยายช่อง YouTube แบบไม่ต้องใช้แรงคนเยอะ</li>
<li>ต่อกับ Notion, Airtable, Sheet ได้</li>
</ul>
<p>ติดต่อเรา: <a href="https://www.novelbiz.co.th/about-us/">https://www.novelbiz.co.th/about-us/</a><br />
YouTube: <a href="https://www.youtube.com/results?search_query=novelbiz">https://www.youtube.com/results?search_query=novelbiz</a></p>

		</div>
	</div>

	<div class="wpb_video_widget wpb_content_element vc_clearfix   vc_video-aspect-ratio-169 vc_video-el-width-100 vc_video-align-center" >
		<div class="wpb_wrapper">
			
			<div class="wpb_video_wrapper"><iframe loading="lazy" title="Workflow Automation" width="500" height="281" src="https://www.youtube.com/embed/videoseries?list=PLh2POp0fyXfTGAG3xY4SUGh1G-Rlr4ZC9" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
		</div>
	</div>
</div></div></div></div>
</div><p>The post <a href="https://www.novelbiz.co.th/gemini-n8n-easy-shorts/">ไม่ต้องตัดเอง! ใช้ Gemini + n8n สร้าง Shorts ง่ายๆ</a> first appeared on <a href="https://www.novelbiz.co.th">NOVELBIZ</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>สร้างโพสต์จากวิดีโอด้วย AI ใช้ Gemini + n8n</title>
		<link>https://www.novelbiz.co.th/create-post-video-gemini-n8n/</link>
					<comments>https://www.novelbiz.co.th/create-post-video-gemini-n8n/#respond</comments>
		
		<dc:creator><![CDATA[novelbi1]]></dc:creator>
		<pubDate>Wed, 28 May 2025 02:00:15 +0000</pubDate>
				<category><![CDATA[Learning_resources]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[ChatGPT]]></category>
		<category><![CDATA[GPT-4]]></category>
		<category><![CDATA[Technology]]></category>
		<guid isPermaLink="false">https://www.novelbiz.co.th/?p=61134</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper"><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/videotofacebook.png" target="_self" data-large_image_width="907" data-large_image_height="593"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="907" height="593" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/videotofacebook.png" class="vc_single_image-img attachment-full" alt="videotofacebook" title="videotofacebook" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/videotofacebook.png 907w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/videotofacebook-768x502.png 768w" sizes="auto, (max-width: 907px) 100vw, 907px"  data-dt-location="https://www.novelbiz.co.th/create-post-video-gemini-n8n/videotofacebook/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h2>สร้างโพสต์จากวิดีโอด้วย AI ใช้ Gemini + n8n</h2>
<p>คุณเคยมีวิดีโอดี ๆ แต่ไม่รู้จะเอาภาพไหนมาใช้ หรือจะเขียนแคปชั่นยังไงให้น่าสนใจไหม?</p>
<ul class="ol-post">
<li>แยกเฟรมที่ดูดีที่สุดจากวิดีโอ</li>
<li>ส่งให้ AI ช่วยวิเคราะห์และเขียนแคปชั่น</li>
<li>โพสต์ลง Facebook โดยอัตโนมัติ</li>
</ul>
<p>ทั้งหมดนี้เกิดขึ้นได้ด้วยพลังของ n8n + Gemini API (Google AI)</p>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<figure class="wp-block-table">
<table>
<thead>
<tr>
<th>เครื่องมือ</th>
<th>หน้าที่</th>
</tr>
</thead>
<tbody>
<tr>
<td><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f6e0.png" alt="🛠" class="wp-smiley" style="height: 1em; max-height: 1em;" /> n8n</td>
<td>ระบบ Automation ที่ลากวางได้ ไม่ต้องเขียนโค้ด</td>
</tr>
<tr>
<td><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2601.png" alt="☁" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Google Drive</td>
<td>แหล่งเก็บวิดีโอ</td>
</tr>
<tr>
<td><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f9ea.png" alt="🧪" class="wp-smiley" style="height: 1em; max-height: 1em;" /> FFmpeg</td>
<td>ดึงภาพจากวิดีโอ</td>
</tr>
<tr>
<td><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f52e.png" alt="🔮" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Gemini API</td>
<td>วิเคราะห์ภาพและสร้าง caption</td>
</tr>
<tr>
<td><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4e2.png" alt="📢" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Facebook Graph API</td>
<td>โพสต์เนื้อหาลง Facebook</td>
</tr>
</tbody>
</table>
</figure>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f504.png" alt="🔄" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Workflow ที่ใช้</h3>
<ol>
<li>Trigger เริ่มงาน – เริ่มจากคลิก หรือใช้ Cron ตั้งเวลา</li>
</ol>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/001-1.png" target="_self" data-large_image_width="110" data-large_image_height="108"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="98" height="96" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/001-1.png" class="vc_single_image-img attachment-thumbnail" alt="001" title="001"  data-dt-location="https://www.novelbiz.co.th/create-post-video-gemini-n8n/001-2/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<ol start="2">
<li>ค้นหาไฟล์วิดีโอใน Google Drive<br />
ระบบจะค้นหาไฟล์วิดีโอล่าสุดหรือวิดีโอที่ตรงเงื่อนไข เช่น ชื่อไฟล์ หรือโฟลเดอร์เฉพาะในบัญชี Google Drive โดยใช้ Google Drive API ผ่าน n8n</li>
</ol>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/102.png" target="_self" data-large_image_width="1237" data-large_image_height="852"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1237" height="852" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/102.png" class="vc_single_image-img attachment-full" alt="" title="102" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/102.png 1237w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/102-768x529.png 768w" sizes="auto, (max-width: 1237px) 100vw, 1237px"  data-dt-location="https://www.novelbiz.co.th/create-post-video-gemini-n8n/102-2/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<ol start="3">
<li>ดาวน์โหลดและบันทึกไว้ชั่วคราวบนเซิร์ฟเวอร์<br />
เมื่อเจอไฟล์ ระบบจะดาวน์โหลดวิดีโอมายังเซิร์ฟเวอร์ที่รัน n8n และเขียนลง disk เพื่อใช้ประมวลผลต่อไป เช่น<br />
/tmp/frame_{{ $now.toString().slice(0, 10)}}.png ผลลัพธ์ /tmp/frame_2025-05-28.png</li>
</ol>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/103.png" target="_self" data-large_image_width="1243" data-large_image_height="851"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1243" height="851" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/103.png" class="vc_single_image-img attachment-full" alt="" title="103" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/103.png 1243w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/103-768x526.png 768w" sizes="auto, (max-width: 1243px) 100vw, 1243px"  data-dt-location="https://www.novelbiz.co.th/create-post-video-gemini-n8n/attachment/103/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/104.png" target="_self" data-large_image_width="1238" data-large_image_height="851"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1238" height="851" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/104.png" class="vc_single_image-img attachment-full" alt="" title="104" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/104.png 1238w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/104-768x528.png 768w" sizes="auto, (max-width: 1238px) 100vw, 1238px"  data-dt-location="https://www.novelbiz.co.th/create-post-video-gemini-n8n/attachment/104/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<ol start="4">
<li>แยกเฟรมออกมาด้วย FFmpeg<br />
ใช้ FFmpeg เพื่อดึงภาพจากวิดีโอ เช่น ทุก ๆ 10 วินาที หรือเลือกเฉพาะเฟรมแรก/กลาง/ท้าย ขึ้นอยู่กับการตั้งค่า</p>
<pre><code>ffmpeg -y -i "{{ $json['fileName'] }}" -vf "select=eq(n\,10)" -vframes 1 "{{ $json.frameImageName }}"</code></pre>
<p>หากดึงหลายเฟรม ระบบสามารถวิเคราะห์ภาพด้วย AI หรือเลือกแบบ manual (เช่น เฟรมกลาง) เพื่อหาภาพที่น่าสื่อสารได้ดี</li>
</ol>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/105.png" target="_self" data-large_image_width="1237" data-large_image_height="851"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1237" height="851" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/105.png" class="vc_single_image-img attachment-full" alt="" title="105" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/105.png 1237w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/105-768x528.png 768w" sizes="auto, (max-width: 1237px) 100vw, 1237px"  data-dt-location="https://www.novelbiz.co.th/create-post-video-gemini-n8n/attachment/105/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/106.png" target="_self" data-large_image_width="1237" data-large_image_height="851"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1237" height="851" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/106.png" class="vc_single_image-img attachment-full" alt="" title="106" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/106.png 1237w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/106-768x528.png 768w" sizes="auto, (max-width: 1237px) 100vw, 1237px"  data-dt-location="https://www.novelbiz.co.th/create-post-video-gemini-n8n/attachment/106/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<ol start="5">
<li>แปลงภาพเป็น base64 เพื่อส่งให้ AI<br />
ภาพถูกอ่านเป็น Binary แล้วแปลงเป็น Base64 เพื่อเตรียมส่งผ่าน API (เช่น Gemini Vision) ซึ่งรองรับภาพแบบ encoded</li>
</ol>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/109.png" target="_self" data-large_image_width="1235" data-large_image_height="851"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1235" height="851" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/109.png" class="vc_single_image-img attachment-full" alt="" title="109" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/109.png 1235w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/109-768x529.png 768w" sizes="auto, (max-width: 1235px) 100vw, 1235px"  data-dt-location="https://www.novelbiz.co.th/create-post-video-gemini-n8n/attachment/109/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<ol start="6">
<li>เรียกใช้ Gemini Vision API เพื่อวิเคราะห์ภาพ<br />
พร้อมส่งภาพ base64 เข้าไปเพื่อให้ AI วิเคราะห์ว่าสิ่งที่อยู่ในภาพคืออะไร<br />
Gemini จะตอบกลับด้วยการบรรยายภาพในรูปแบบข้อความ เช่น</p>
<ul class="ol-post">
<li>สร้าง Chatbot ง่ายๆ ด้วย n8n และ Ollama! <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f916.png" alt="🤖" class="wp-smiley" style="height: 1em; max-height: 1em;" /><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2728.png" alt="✨" class="wp-smiley" style="height: 1em; max-height: 1em;" /></li>
</ul>
</li>
</ol>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/110.png" target="_self" data-large_image_width="1242" data-large_image_height="851"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1242" height="851" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/110.png" class="vc_single_image-img attachment-full" alt="" title="110" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/110.png 1242w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/110-768x526.png 768w" sizes="auto, (max-width: 1242px) 100vw, 1242px"  data-dt-location="https://www.novelbiz.co.th/create-post-video-gemini-n8n/attachment/110/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/1101.png" target="_self" data-large_image_width="1232" data-large_image_height="855"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1232" height="855" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/1101.png" class="vc_single_image-img attachment-full" alt="" title="1101" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/1101.png 1232w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/1101-768x533.png 768w" sizes="auto, (max-width: 1232px) 100vw, 1232px"  data-dt-location="https://www.novelbiz.co.th/create-post-video-gemini-n8n/attachment/1101/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/1102.png" target="_self" data-large_image_width="1217" data-large_image_height="852"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1217" height="852" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/1102.png" class="vc_single_image-img attachment-full" alt="" title="1102" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/1102.png 1217w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/1102-768x538.png 768w" sizes="auto, (max-width: 1217px) 100vw, 1217px"  data-dt-location="https://www.novelbiz.co.th/create-post-video-gemini-n8n/attachment/1102/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<ol start="7">
<li>สร้าง Description ด้วย AI Agent<br />
หลังจากที่เราได้คำบรรยายภาพ (caption) เบื้องต้นจาก Gemini API แล้ว ขั้นตอนนี้คือการใช้ AI Agent เพื่อแปลงคำบรรยายนั้นให้กลายเป็น โพสต์ที่น่าสนใจยิ่งขึ้น — เหมือนมี Copywriter ส่วนตัวมาช่วยปรับแต่ง!</li>
</ol>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/111.png" target="_self" data-large_image_width="1235" data-large_image_height="852"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1235" height="852" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/111.png" class="vc_single_image-img attachment-full" alt="" title="111" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/111.png 1235w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/111-768x530.png 768w" sizes="auto, (max-width: 1235px) 100vw, 1235px"  data-dt-location="https://www.novelbiz.co.th/create-post-video-gemini-n8n/111-2/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/11021.png" target="_self" data-large_image_width="1227" data-large_image_height="850"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1227" height="850" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/11021.png" class="vc_single_image-img attachment-full" alt="" title="11021" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/11021.png 1227w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/11021-768x532.png 768w" sizes="auto, (max-width: 1227px) 100vw, 1227px"  data-dt-location="https://www.novelbiz.co.th/create-post-video-gemini-n8n/attachment/11021/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/11022.png" target="_self" data-large_image_width="1237" data-large_image_height="853"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1237" height="853" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/11022.png" class="vc_single_image-img attachment-full" alt="" title="11022" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/11022.png 1237w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/11022-768x530.png 768w" sizes="auto, (max-width: 1237px) 100vw, 1237px"  data-dt-location="https://www.novelbiz.co.th/create-post-video-gemini-n8n/attachment/11022/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/11023.png" target="_self" data-large_image_width="1238" data-large_image_height="851"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1238" height="851" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/11023.png" class="vc_single_image-img attachment-full" alt="" title="11023" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/11023.png 1238w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/11023-768x528.png 768w" sizes="auto, (max-width: 1238px) 100vw, 1238px"  data-dt-location="https://www.novelbiz.co.th/create-post-video-gemini-n8n/attachment/11023/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<ol start="8">
<li>สุดท้าย ระบบจะนำภาพที่เลือกและ caption ที่สร้างได้ ไปโพสต์บนเพจ Facebook โดยใช้ Facebook Graph API ด้วย token และ page ID ที่กำหนดไว้</li>
</ol>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/1103-1.png" target="_self" data-large_image_width="1241" data-large_image_height="851"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1241" height="851" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/1103-1.png" class="vc_single_image-img attachment-full" alt="" title="1103" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/1103-1.png 1241w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/1103-1-768x527.png 768w" sizes="auto, (max-width: 1241px) 100vw, 1241px"  data-dt-location="https://www.novelbiz.co.th/create-post-video-gemini-n8n/1103-2/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/111011.png" target="_self" data-large_image_width="1236" data-large_image_height="852"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1236" height="852" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/111011.png" class="vc_single_image-img attachment-full" alt="" title="111011" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/111011.png 1236w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/111011-768x529.png 768w" sizes="auto, (max-width: 1236px) 100vw, 1236px"  data-dt-location="https://www.novelbiz.co.th/create-post-video-gemini-n8n/attachment/111011/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/99.png" target="_self" data-large_image_width="1230" data-large_image_height="850"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1230" height="850" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/99.png" class="vc_single_image-img attachment-full" alt="" title="99" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/99.png 1230w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/99-768x531.png 768w" sizes="auto, (max-width: 1230px) 100vw, 1230px"  data-dt-location="https://www.novelbiz.co.th/create-post-video-gemini-n8n/attachment/99/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>สรุป Workflow แบบย่อ (เข้าใจง่าย ใช้งานจริง)</h3>
<ul class="ol-post">
<li>Trigger เริ่มงาน<br />
เริ่มต้นด้วยการคลิก หรือสั่งทำงานอัตโนมัติตามเวลาที่ตั้งไว้ (Cron)</li>
<li>ค้นหาไฟล์วิดีโอใน Google Drive<br />
ระบบค้นหาไฟล์วิดีโอจาก Google Drive โดยอิงจากชื่อ โฟลเดอร์ หรือช่วงเวลา</li>
<li>ดาวน์โหลดวิดีโอมาเก็บไว้ชั่วคราว<br />
ดาวน์โหลดวิดีโอมายังเซิร์ฟเวอร์เพื่อใช้ประมวลผลในขั้นตอนถัดไป</li>
<li>แยกเฟรมจากวิดีโอด้วย FFmpeg<br />
ใช้ FFmpeg เพื่อดึงภาพ (เฟรม) จากวิดีโอ เช่น ภาพกลางเรื่องหรือภาพที่กำหนด</li>
<li>เลือกเฟรมที่น่าสนใจที่สุด<br />
ระบบจะเลือกภาพที่ดีที่สุดจากหลายเฟรม เช่น เฟรมที่ชัดหรือน่าดึงดูด</li>
<li>แปลงภาพเป็น base64 เพื่อส่งให้ AI วิเคราะห์<br />
เตรียมภาพให้อยู่ในรูปแบบ base64 ซึ่งเป็นรูปแบบที่ AI สามารถรับได้ผ่าน API</li>
<li>วิเคราะห์ภาพด้วย Gemini Vision API<br />
ส่งภาพให้ Gemini วิเคราะห์แล้วสร้างคำบรรยาย (caption) อัตโนมัติจากภาพ</li>
<li>ใช้ AI Agent ปรับข้อความให้เป็นโพสต์ที่น่าสนใจ<br />
นำ caption ดิบมาผ่าน AI Agent เพื่อแต่งให้ดูดี เช่น ใส่ emoji, hashtag, CTA</li>
<li>โพสต์ขึ้น Facebook ด้วย Facebook Graph API<br />
สุดท้าย ระบบจะโพสต์ภาพและข้อความไปยังเพจ Facebook โดยอัตโนมัติ</li>
</ul>
<h3>ผลลัพธ์</h3>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/10.png" target="_self" data-large_image_width="681" data-large_image_height="545"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="681" height="545" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/10.png" class="vc_single_image-img attachment-full" alt="" title="10"  data-dt-location="https://www.novelbiz.co.th/create-post-video-gemini-n8n/attachment/10/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<ul class="ol-post">
<li>ได้โพสต์ Facebook ที่มีภาพจากวิดีโอ พร้อมคำบรรยายที่น่าสนใจ</li>
<li>ลดเวลาและแรงงานในการคิดและโพสต์</li>
<li>ทำงานอัตโนมัติซ้ำได้ตลอดเวลา (เหมือนมีทีมล่องหนช่วยทำงานให้คุณ)</li>
</ul>
<p>ตัวอย่าง Workflow: <a href="https://shorturl.asia/ZpGdP">https://shorturl.asia/ZpGdP</a><br />
สนใจเรียนรู้เพิ่มเติมได้ที่ YouTube: <a href="https://www.youtube.com/@NOVELBIZ_CO_TH">https://www.youtube.com/@NOVELBIZ_CO_TH</a></p>

		</div>
	</div>

	<div class="wpb_video_widget wpb_content_element vc_clearfix   vc_video-aspect-ratio-169 vc_video-el-width-100 vc_video-align-center" >
		<div class="wpb_wrapper">
			
			<div class="wpb_video_wrapper"><iframe loading="lazy" title="EP4. จากภาพสู่แคปชั่น โพสต์ลง Facebook อัตโนมัติ ด้วย Gemini + n8n ใน 10 นาที!" width="500" height="281" src="https://www.youtube.com/embed/_ABQDSUSWMg?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
		</div>
	</div>
</div></div></div></div>
</div><p>The post <a href="https://www.novelbiz.co.th/create-post-video-gemini-n8n/">สร้างโพสต์จากวิดีโอด้วย AI ใช้ Gemini + n8n</a> first appeared on <a href="https://www.novelbiz.co.th">NOVELBIZ</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://www.novelbiz.co.th/create-post-video-gemini-n8n/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Image to Caption ง่ายนิดเดียว ด้วย Gemini บน n8n</title>
		<link>https://www.novelbiz.co.th/image-to-caption-n8n/</link>
		
		<dc:creator><![CDATA[novelbi1]]></dc:creator>
		<pubDate>Wed, 21 May 2025 02:00:00 +0000</pubDate>
				<category><![CDATA[Learning_resources]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[ChatGPT]]></category>
		<category><![CDATA[GPT-4]]></category>
		<category><![CDATA[Technology]]></category>
		<guid isPermaLink="false">https://www.novelbiz.co.th/?p=61064</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper"><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			
		</div>
	</div>
</div></div></div></div><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/Image-to-Caption-ง่ายนิดเดียว-ด้วย-Gemini-บน-n8n-1.png" target="_self" data-large_image_width="942" data-large_image_height="505"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="942" height="505" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/Image-to-Caption-ง่ายนิดเดียว-ด้วย-Gemini-บน-n8n-1.png" class="vc_single_image-img attachment-full" alt="Image to Caption ง่ายนิดเดียว ด้วย Gemini บน n8n" title="Image to Caption ง่ายนิดเดียว ด้วย Gemini บน n8n" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/Image-to-Caption-ง่ายนิดเดียว-ด้วย-Gemini-บน-n8n-1.png 942w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/Image-to-Caption-ง่ายนิดเดียว-ด้วย-Gemini-บน-n8n-1-768x412.png 768w" sizes="auto, (max-width: 942px) 100vw, 942px"  data-dt-location="https://www.novelbiz.co.th/image-to-caption-n8n/image-to-caption-%e0%b8%87%e0%b9%88%e0%b8%b2%e0%b8%a2%e0%b8%99%e0%b8%b4%e0%b8%94%e0%b9%80%e0%b8%94%e0%b8%b5%e0%b8%a2%e0%b8%a7-%e0%b8%94%e0%b9%89%e0%b8%a7%e0%b8%a2-gemini-%e0%b8%9a%e0%b8%99-n8n-2/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h2>Image to Caption ง่ายนิดเดียว ด้วย Gemini บน n8n</h2>
<h4>เปลี่ยนภาพให้กลายเป็นคำบรรยายแบบมืออาชีพ ด้วย AI และระบบอัตโนมัติ</h4>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<p class="word-wrap">ในยุคที่ AI และระบบ Automation เข้ามาช่วยลดภาระงานซ้ำๆ ได้อย่างมหาศาล หนึ่งในไอเดียที่น่าสนใจคือ “การเปลี่ยนภาพให้กลายเป็นคำบรรยาย (caption)” แบบอัตโนมัติ บทความนี้จะแชร์ให้เห็นภาพจริงผ่าน n8n ร่วมกับ Gemini API ซึ่งจะช่วยให้คุณสร้าง caption จากรูปภาพ และโพสต์ลง Facebook โดยไม่ต้องลงมือเองแม้แต่นิดเดียว!</p>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>โครงสร้าง Workflow</h3>
<p>มาดูขั้นตอนการทำงานแต่ละส่วนตามภาพ Workflow:</p>
<h3>1. Schedule Trigger</h3>
<p>ตั้งเวลาให้ Workflow ทำงานอัตโนมัติ เช่น ทุกวันตอน 9 โมงเช้า</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/101-1.png" target="_self" data-large_image_width="1257" data-large_image_height="850"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1257" height="850" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/101-1.png" class="vc_single_image-img attachment-full" alt="101" title="101" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/101-1.png 1257w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/101-1-768x519.png 768w" sizes="auto, (max-width: 1257px) 100vw, 1257px"  data-dt-location="https://www.novelbiz.co.th/image-to-caption-n8n/101-2/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>2. Set Date</h3>
<p>ตั้งค่าต่างๆ เช่น วันที่ เพื่อใช้ในการค้นหาไฟล์</p>
<pre><code>
return [
  {
    json: {
      query: {
        startDate: new Date().toISOString().slice(0, 10)
      }
    }
  }
];
</code></pre>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/201-1.png" target="_self" data-large_image_width="1247" data-large_image_height="847"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1247" height="847" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/201-1.png" class="vc_single_image-img attachment-full" alt="201" title="201" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/201-1.png 1247w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/201-1-768x522.png 768w" sizes="auto, (max-width: 1247px) 100vw, 1247px"  data-dt-location="https://www.novelbiz.co.th/image-to-caption-n8n/201-2/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>3. Google Drive Search</h3>
<p><strong>ค้นหาไฟล์ภาพในโฟลเดอร์ที่กำหนด</strong><br />
ในขั้นตอนนี้ เราใช้ Node ชื่อว่า Google Drive → Search เพื่อค้นหาไฟล์ภาพ (เช่น .jpg, .png) ภายในโฟลเดอร์ที่ระบุไว้<br />
<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> สิ่งที่ต้องตั้งค่า:</p>
<ul class="ol-post">
<li>Resource: File/Folder</li>
<li>Operation: Search</li>
<li>Search Method: Advanced Search</li>
<li>Query String:
<pre class="line-numbers"><code class="language-js">modifiedTime &gt; '{{ $json.query.startDate }}'and trashed = false and mimeType contains 'image/'</code></pre>
</li>
<li>Limit: 1</li>
<li>Filter:<br />
From list: Folder</li>
</ul>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/301-1.png" target="_self" data-large_image_width="1267" data-large_image_height="828"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1267" height="828" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/301-1.png" class="vc_single_image-img attachment-full" alt="301" title="301" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/301-1.png 1267w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/301-1-768x502.png 768w" sizes="auto, (max-width: 1267px) 100vw, 1267px"  data-dt-location="https://www.novelbiz.co.th/image-to-caption-n8n/301-2/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>4. Google Drive Download</h3>
<p>ดาวน์โหลดภาพจาก Google Drive เพื่อนำไปใช้งานต่อใน Workflow<br />
หลังจากที่เราค้นพบภาพจากขั้นตอนก่อนหน้านี้แล้ว เราจะใช้ Node Google Drive → Download เพื่อ ดาวน์โหลดเนื้อหาของไฟล์ภาพ มาใช้ในขั้นตอนต่อๆ ไป (เช่น ส่งเข้า Gemini API)</p>
<p><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> สิ่งที่ต้องตั้งค่า:</p>
<ul class="ol-post">
<li>File ID: นำมาจากผลลัพธ์ของ Google Drive Search</li>
<li>Options&#8211;&gt; Name: ตั้งชื่อ เช่น data, image, หรืออะไรก็ได้ตามต้องการ (จะถูกใช้ใน node ถัดไป)</li>
</ul>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/411.png" target="_self" data-large_image_width="1237" data-large_image_height="622"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1237" height="622" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/411.png" class="vc_single_image-img attachment-full" alt="" title="411" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/411.png 1237w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/411-768x386.png 768w" sizes="auto, (max-width: 1237px) 100vw, 1237px"  data-dt-location="https://www.novelbiz.co.th/image-to-caption-n8n/attachment/411/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>5. Move Binary Data</h3>
<p>แปลงข้อมูล Binary เป็น JSON เพื่อส่งต่อไปยัง Gemini</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/501-1.png" target="_self" data-large_image_width="1240" data-large_image_height="687"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1240" height="687" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/501-1.png" class="vc_single_image-img attachment-full" alt="501" title="501" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/501-1.png 1240w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/501-1-768x425.png 768w" sizes="auto, (max-width: 1240px) 100vw, 1240px"  data-dt-location="https://www.novelbiz.co.th/image-to-caption-n8n/501-2/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>6. Gemini Image to Caption</h3>
<p>ใช้ Gemini API วิเคราะห์ภาพ และสร้างคำบรรยายอัตโนมัติ<br />
ในขั้นตอนนี้ เราจะส่งภาพที่ได้จาก Google Drive (ในรูปแบบ binary) ไปให้ Gemini API เพื่อให้ AI ช่วย &#8220;ดูภาพ&#8221; แล้วเขียนคำอธิบายออกมาในรูปแบบข้อความ</p>
<h4>ใช้ node ประเภทอะไร?</h4>
<p>ใน n8n เราใช้ HTTP Request Node เพื่อเรียกใช้งาน Gemini API ของ Google (หรือผ่าน Vertex AI endpoint ก็ได้)</p>
<p><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" />การตั้งค่า HTTP Request Node:</p>
<ul class="ol-post">
<li>Method: POST</li>
<li>Send Query Parameters:<br />
Specify Query Parameters: Using Fields Below</p>
<ul class="ol-post">Query Parameters:</p>
<li>Name: Key</li>
<li>Value: [key-Gemini]</li>
</ul>
</li>
<li>Send Headers:<br />
Specify Headers: Using Fields Below<br />
Header Parameters</p>
<ul class="ol-post">
<li>Name: Content-Type</li>
<li>Value: application/json</li>
</ul>
</li>
<li>Send Body:<br />
Body Content Type: JSON<br />
Specify Body: Using JSON<br />
JSON:</p>
<pre class="line-numbers"><code class="language-js">
{
  "contents": [
    {
      "parts": [
        {
          "text": "ช่วยเขียนแคปชั่นเท่ ๆ สำหรับโพสต์ขายสินค้าแฟชั่น บน Facebook พร้อมแฮชแท็ก โดยขอแค่ 1 คำตอบเท่านั้น"
        },
        {
          "inline_data": {
            "mime_type": "image/jpeg",
            "data": "{{ $json.data }}"
          }
        }
      ]
    }
  ]
}
</code></pre>
</li>
</ul>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/601-1.png" target="_self" data-large_image_width="1237" data-large_image_height="838"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1237" height="838" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/601-1.png" class="vc_single_image-img attachment-full" alt="" title="601" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/601-1.png 1237w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/601-1-768x520.png 768w" sizes="auto, (max-width: 1237px) 100vw, 1237px"  data-dt-location="https://www.novelbiz.co.th/image-to-caption-n8n/601-2/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/602.png" target="_self" data-large_image_width="316" data-large_image_height="432"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="316" height="432" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/602.png" class="vc_single_image-img attachment-full" alt="" title="602"  data-dt-location="https://www.novelbiz.co.th/image-to-caption-n8n/attachment/602/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/603.png" target="_self" data-large_image_width="446" data-large_image_height="352"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="446" height="352" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/603.png" class="vc_single_image-img attachment-full" alt="" title="603"  data-dt-location="https://www.novelbiz.co.th/image-to-caption-n8n/attachment/603/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>7. Get Image</h3>
<p>ดึงลิงก์ภาพจาก Google Drive มาใช้งานสำหรับโพสต์ต่อ (เช่น Facebook)<br />
หลังจากที่เราดาวน์โหลดภาพจาก Google Drive แล้ว (ในขั้นตอนที่ 4) และประมวลผลด้วย Gemini (ข้อ 6) แล้ว เราจะต้อง เตรียม URL ของภาพ เพื่อให้ระบบภายนอก (เช่น Facebook API) สามารถเข้าถึงไฟล์ภาพนั้นได้</p>
<p><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" />การตั้งค่า HTTP Request Node:</p>
<ul class="ol-post">
<li>Method: Get</li>
<li>URL: https://www.googleapis.com/drive/v3/files/{{ID-รูปภาพ}}?alt=media</li>
<li>Authentication: Generic Credential Type</li>
<li>Generic Auth Type: OAuth2 API</li>
<li>OAuth2 API: <a href="https://developers.google.com/identity/protocols/oauth2?hl=th">OAuth API Google Drive ของคุณ</a></li>
<li>Options: Response
<ul class="ol-post">
<li>Response Format: File</li>
<li>Put Output in Field: data</li>
</ul>
</li>
</ul>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/701-1.png" target="_self" data-large_image_width="1241" data-large_image_height="808"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1241" height="808" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/701-1.png" class="vc_single_image-img attachment-full" alt="" title="701" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/701-1.png 1241w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/701-1-768x500.png 768w" sizes="auto, (max-width: 1241px) 100vw, 1241px"  data-dt-location="https://www.novelbiz.co.th/image-to-caption-n8n/701-2/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>8. Post to Facebook</h3>
<p>โพสต์ภาพจาก Google Drive พร้อมคำบรรยาย (caption) จาก Gemini ลงบนเพจ Facebook โดยอัตโนมัติ</p>
<h4>วัตถุประสงค์:</h4>
<ul class="ol-post">
<li>นำภาพ (ที่ได้จาก Google Drive → get image)</li>
<li>นำ caption (ที่ได้จาก Gemini → image to caption)</li>
<li>ส่งไปโพสต์บนเพจ Facebook ผ่าน Facebook Graph API</li>
</ul>
<p><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" />การตั้งค่า HTTP Request Node</p>
<ul class="ol-post">
<li>Method:</li>
<li>https://graph.facebook.com/v22.0/(id-page)/photos</li>
<li>Send Body:
<ul class="ol-post">
<li>Body Content Type: Form-Data</li>
<li>Parameter Type: From Data</li>
<li>Name: access_token</li>
<li>Value: (Key-Facebook-graph)</li>
<li>Parameter Type: Form Data</li>
<li>Name: caption</li>
<li>Value: {{ $json.candidates[0].content.parts[0].text }}</li>
</ul>
</li>
<li>Parameter Type: n8n Binary File</li>
<li>Name: image</li>
<li>Input Data Field Name: data</li>
</ul>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/801.png" target="_self" data-large_image_width="1238" data-large_image_height="741"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1238" height="741" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/801.png" class="vc_single_image-img attachment-full" alt="" title="801" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/801.png 1238w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/801-768x460.png 768w" sizes="auto, (max-width: 1238px) 100vw, 1238px"  data-dt-location="https://www.novelbiz.co.th/image-to-caption-n8n/attachment/801/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/802.png" target="_self" data-large_image_width="1237" data-large_image_height="808"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1237" height="808" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/802.png" class="vc_single_image-img attachment-full" alt="" title="802" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/802.png 1237w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/802-768x502.png 768w" sizes="auto, (max-width: 1237px) 100vw, 1237px"  data-dt-location="https://www.novelbiz.co.th/image-to-caption-n8n/attachment/802/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3 style="text-align: center;">ภาพตัวอย่างการโพสต์ลง Facebook ของ workflow นี้</h3>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/p101.png" target="_self" data-large_image_width="522" data-large_image_height="608"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="522" height="608" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/p101.png" class="vc_single_image-img attachment-full" alt="Image to Caption ง่ายนิดเดียว ด้วย Gemini บน n8n" title="Image to Caption ง่ายนิดเดียว ด้วย Gemini บน n8n"  data-dt-location="https://www.novelbiz.co.th/image-to-caption-n8n/p101/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>จุดเด่นของระบบนี้</h3>
<p><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> อัตโนมัติ 100%<br />
<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> ใช้ AI ช่วยคิด caption<br />
<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> ไม่ต้องเขียนโค้ดเอง<br />
<img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> ขยายต่อยอดได้ง่าย เช่น ส่งเข้า LINE, Discord, หรือเก็บใน Airtable</p>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>สรุป</h3>
<p class="word-wrap">Image to Caption ไม่ใช่แค่เรื่องของความสะดวก แต่มันคือการเปิดประตูสู่โลกใหม่ของ “Content Automation” ด้วย n8n และ Gemini API คุณสามารถสร้างระบบที่ทำงานแทนคุณได้ทุกวัน โดยไม่ต้องเหนื่อยเลยแม้แต่นิดเดียว</p>
<p>บริการของเรา: <a href="https://www.novelbiz.co.th/services/">https://www.novelbiz.co.th/services/</a><br />
Youtube: <a href="https://youtu.be/_ABQDSUSWMg?si=WvjfP6a1XZ6MnLF1">https://youtu.be/_ABQDSUSWMg?si=WvjfP6a1XZ6MnLF1</a></p>

		</div>
	</div>
</div></div></div></div><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			
		</div>
	</div>
</div></div></div></div>
</div><p>The post <a href="https://www.novelbiz.co.th/image-to-caption-n8n/">Image to Caption ง่ายนิดเดียว ด้วย Gemini บน n8n</a> first appeared on <a href="https://www.novelbiz.co.th">NOVELBIZ</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>การโพสต์วิดีโอจาก n8n ขึ้น YouTube แบบอัตโนมัติ เวอร์ชั่น 2</title>
		<link>https://www.novelbiz.co.th/n8n-to-youtube/</link>
		
		<dc:creator><![CDATA[novelbi1]]></dc:creator>
		<pubDate>Mon, 12 May 2025 02:00:00 +0000</pubDate>
				<category><![CDATA[Learning_resources]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[ChatGPT]]></category>
		<category><![CDATA[Technology]]></category>
		<guid isPermaLink="false">https://www.novelbiz.co.th/?p=60927</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper"><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/youtube.png" target="_self" data-large_image_width="841" data-large_image_height="610"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="841" height="610" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/youtube.png" class="vc_single_image-img attachment-full" alt="youtube" title="youtube" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/youtube.png 841w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/youtube-768x557.png 768w" sizes="auto, (max-width: 841px) 100vw, 841px"  data-dt-location="https://www.novelbiz.co.th/n8n-to-youtube/youtube-2/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h2>การโพสต์วิดีโอจาก n8n ขึ้น YouTube แบบอัตโนมัติ เวอร์ชั่น 2</h2>
<p>ในยุคที่ระบบอัตโนมัติกลายเป็นกุญแจสำคัญของการทำงานอย่างชาญฉลาด n8n (เครื่องมือ Workflow Automation สุดเทพ) ก็กลายเป็นผู้ช่วยที่หลายคนรัก วันนี้เราจะพาไปดู Workflow ที่ช่วยให้คุณโพสต์วิดีโอลง YouTube ได้โดยอัตโนมัติแบบ “คลิกเดียวจบ!”</p>
<h3>Workflow นี้ประกอบด้วยขั้นตอนหลัก ๆ ดังนี้:</h3>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h4>1. Trigger: &#8220;When clicking &#8216;Test workflow'&#8221;</h4>
<p>ประเภท Node: Trigger (Manual)<br />
หน้าที่: เป็นจุดเริ่มต้นของ Workflow</p>
<p>การทำงาน:</p>
<ul class="ol-post">
<li>ใช้เป็นจุดเริ่ม Workflow แบบ manual (กด “Execute Node” หรือ “Test Workflow” ใน n8n)</li>
<li>เป็นตัวกระตุ้นให้ทุก Node ที่เชื่อมต่อเริ่มทำงานต่อเนื่องกัน</li>
<li>เหมาะสำหรับการทดสอบก่อนตั้งให้ทำงานอัตโนมัติ (เช่น เปลี่ยนเป็น Cron trigger หรือ Webhook trigger ในอนาคต)</li>
</ul>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/001.png" target="_self" data-large_image_width="206" data-large_image_height="201"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="206" height="201" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/001.png" class="vc_single_image-img attachment-full" alt="" title="001"  data-dt-location="https://www.novelbiz.co.th/n8n-to-youtube/attachment/001/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h4>2. Title Post (Manual Input)</h4>
<p>ประเภท Node: Input (Manual)<br />
หน้าที่: ให้ผู้ใช้ป้อนชื่อวิดีโอ (Title) ที่จะโพสต์ลง YouTube</p>
<p>การทำงาน:</p>
<ul>
<li>เป็น Input แบบกำหนดค่าด้วยตัวเอง (Manual หรือ Static Value)</li>
<li>ทำหน้าที่เป็นค่าเริ่มต้นให้กับ AI หรือใช้เป็น title โดยตรง</li>
<li>สามารถเปลี่ยนให้รับค่าจากฟอร์ม, API, หรือ Google Sheets ได้ในภายหลัง</li>
</ul>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/101.png" target="_self" data-large_image_width="441" data-large_image_height="582"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="441" height="582" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/101.png" class="vc_single_image-img attachment-full" alt="" title="101"  data-dt-location="https://www.novelbiz.co.th/n8n-to-youtube/attachment/101/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h4>3.  AI Agent (Google Gemini + Structured Output)</h4>
<p>ประเภท Node: Custom AI Agent<br />
โมดูลที่ใช้:</p>
<ul class="ol-post">
<li>Model: Google Gemini Chat Model</li>
<li>Parser: Structured Output Parser</li>
</ul>
<p>การทำงาน:<br />
ดึงข้อมูลจาก Node “Title Post” มาเป็นอินพุต</p>
<ul class="ol-post">
<li>ส่งข้อมูลเข้า Google Gemini เพื่อให้ AI สร้าง คำอธิบายวิดีโอ (Description) หรือแม้แต่ แท็ก (Tags) ตามคำสั่งที่ตั้งไว้</li>
<li>หลังจาก AI ตอบกลับมาเป็นข้อความ อาจจะอยู่ในรูปแบบ JSON หรือข้อความปกติ</li>
<li>จึงใช้ Structured Output Parser เพื่อแปลงผลลัพธ์ให้พร้อมสำหรับ YouTube API</li>
</ul>
<h4>ตัวอย่างผลลัพธ์จาก AI:</h4>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<pre><code>
{
&quot;title&quot;: &quot;How to Automate YouTube Uploads with n8n&quot;,
&quot;description&quot;: &quot;In this video, we&#039;ll show you how to build an automation workflow to upload videos to YouTube using n8n...&quot;,
&quot;tags&quot;: [&quot;n8n&quot;, &quot;automation&quot;, &quot;youtube&quot;, &quot;workflow&quot;]
}</code></pre>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h4>Custom AI Agent</h4>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/201.png" target="_self" data-large_image_width="1233" data-large_image_height="811"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1233" height="811" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/201.png" class="vc_single_image-img attachment-full" alt="" title="201" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/201.png 1233w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/201-768x505.png 768w" sizes="auto, (max-width: 1233px) 100vw, 1233px"  data-dt-location="https://www.novelbiz.co.th/n8n-to-youtube/attachment/201/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/202.png" target="_self" data-large_image_width="410" data-large_image_height="221"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="410" height="221" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/202.png" class="vc_single_image-img attachment-full" alt="" title="202"  data-dt-location="https://www.novelbiz.co.th/n8n-to-youtube/attachment/202/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h4>Model: Google Gemini Chat Model</h4>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/203.png" target="_self" data-large_image_width="396" data-large_image_height="363"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="396" height="363" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/203.png" class="vc_single_image-img attachment-full" alt="" title="203"  data-dt-location="https://www.novelbiz.co.th/n8n-to-youtube/attachment/203/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h4>Parser: Structured Output Parser</h4>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/204.png" target="_self" data-large_image_width="392" data-large_image_height="477"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="392" height="477" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/204.png" class="vc_single_image-img attachment-full" alt="" title="204"  data-dt-location="https://www.novelbiz.co.th/n8n-to-youtube/attachment/204/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h4>4. up content to YouTube (POST: https://www.googleapis.com/youtube/v3/videos)</h4>
<p>ประเภท Node: HTTP Request<br />
หน้าที่: ส่งข้อมูลวิดีโอไปยัง YouTube API เพื่อโพสต์<br />
การทำงาน: ใช้ HTTP POST ไปยัง <a href="https://developers.google.com/youtube/v3?hl=th">YouTube Data API v3</a><br />
ส่งค่าที่ได้จาก AI เช่น:</p>
<ul class="ol-post">
<li>title (ชื่อวิดีโอ)</li>
<li>description (คำอธิบาย)</li>
<li>tags (แท็กช่วยในการค้นหา)</li>
<li>privacyStatus (เช่น public, unlisted หรือ private)</li>
<li>ในบางกรณีอาจแนบ videoId ด้วยถ้าอัปโหลดไฟล์วิดีโอมาก่อนหน้า</li>
</ul>
<p>การตั้งค่า HTTP Node:<br />
Method: POST</p>
<ul class="ol-post">
<li>URL: https://www.googleapis.com/youtube/v3/videos?part=snippet,status</li>
<li>Body: JSON แบบ raw หรือแปลงด้วย Function Node ล่วงหน้า</li>
</ul>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/301.png" target="_self" data-large_image_width="721" data-large_image_height="731"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="721" height="731" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/301.png" class="vc_single_image-img attachment-full" alt="" title="301"  data-dt-location="https://www.novelbiz.co.th/n8n-to-youtube/attachment/301/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/302.png" target="_self" data-large_image_width="718" data-large_image_height="767"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="718" height="767" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/302.png" class="vc_single_image-img attachment-full" alt="" title="302"  data-dt-location="https://www.novelbiz.co.th/n8n-to-youtube/attachment/302/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/303.png" target="_self" data-large_image_width="1230" data-large_image_height="748"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1230" height="748" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/303.png" class="vc_single_image-img attachment-full" alt="" title="303" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/303.png 1230w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/303-768x467.png 768w" sizes="auto, (max-width: 1230px) 100vw, 1230px"  data-dt-location="https://www.novelbiz.co.th/n8n-to-youtube/attachment/303/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>ส่วนของวิดีโอและภาพ Thumbnail</h3>
<p>ใน Workflow นี้ เส้นทางด้านล่างของภาพถูกออกแบบมาเพื่อจัดการ เนื้อหาหลักของโพสต์ YouTube นั่นคือวิดีโอและภาพหน้าปก โดยแบ่งเป็น 4 ขั้นตอนสำคัญดังนี้</p>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h4>1. Get Video</h4>
<p>หน้าที่: ดึงไฟล์วิดีโอที่ต้องการโพสต์ขึ้นมาจากแหล่งที่กำหนดไว้ (อาจเป็น Google Drive, Dropbox หรือไฟล์ที่อัปโหลดผ่านฟอร์ม)<br />
ผลลัพธ์: ไฟล์วิดีโอในรูปแบบ .mp4 หรืออื่น ๆ ที่รองรับ YouTube พร้อมสำหรับการอัปโหลด</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/401.png" target="_self" data-large_image_width="502" data-large_image_height="428"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="502" height="428" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/401.png" class="vc_single_image-img attachment-full" alt="" title="401"  data-dt-location="https://www.novelbiz.co.th/n8n-to-youtube/attachment/401/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h4>2.  upload-video-to-you-tube</h4>
<p>Method: PUT – ใช้สำหรับอัปโหลดไฟล์<br />
URL: {{ $json.headers.location }} – ดึง URL จาก response ของขั้นตอนก่อนหน้า<br />
Auth: ใช้ OAuth2 (Access Youtube) เพื่อเข้าถึง YouTube API<br />
Send Body: เปิดอยู่ <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> – ต้องส่งไฟล์วิดีโอ<br />
Body Content Type: n8n Binary File – ระบุว่าไฟล์ที่ส่งเป็น binary<br />
Input Data Field Name: data – ชื่อ field ที่เก็บไฟล์วิดีโอใน workflow</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/501.png" target="_self" data-large_image_width="522" data-large_image_height="771"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="522" height="771" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/501.png" class="vc_single_image-img attachment-full" alt="" title="501"  data-dt-location="https://www.novelbiz.co.th/n8n-to-youtube/attachment/501/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h4>3. Get Image</h4>
<p>หน้าที่:<br />
ดึงภาพที่จะใช้เป็น Thumbnail (ภาพหน้าปกของวิดีโอ) ซึ่งอาจมาจาก</p>
<ul class="ol-post">
<li>การสร้างจาก AI (เช่นใช้ Midjourney หรือ DALL·E)</li>
<li>ไฟล์ที่กำหนดเอง</li>
<li>Google Drive หรือ API อื่น ๆ</li>
</ul>
<p>ผลลัพธ์:<br />
ไฟล์ภาพในรูปแบบ .jpg หรือ .png ที่เตรียมไว้สำหรับการอัปโหลด</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/601.png" target="_self" data-large_image_width="525" data-large_image_height="416"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="525" height="416" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/601.png" class="vc_single_image-img attachment-full" alt="" title="601"  data-dt-location="https://www.novelbiz.co.th/n8n-to-youtube/attachment/601/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h4>4. up-image-thumbnails-to-you-tube</h4>
<p><strong>หน้าที่:</strong> อัปโหลดภาพ Thumbnail ขึ้นไปยัง YouTube โดยใช้ videoId ที่ได้จากขั้นตอนอัปโหลดวิดีโอ<br />
<strong>API ที่ใช้:</strong> youtube.thumbnails.set ของ YouTube API<br />
<strong>ผลลัพธ์:</strong> ภาพหน้าปกที่กำหนดเองจะถูกตั้งให้กับวิดีโอบน YouTube เรียบร้อย ดูมืออาชีพกว่า Thumbnail อัตโนมัติจาก YouTube มาก!</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/701.png" target="_self" data-large_image_width="526" data-large_image_height="802"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="526" height="802" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/701.png" class="vc_single_image-img attachment-full" alt="" title="701"  data-dt-location="https://www.novelbiz.co.th/n8n-to-youtube/attachment/701/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h4>สรุป</h4>
<p>การเชื่อม n8n กับ YouTube ผ่าน Workflow นี้คือการยกระดับการทำงานของ Creator ให้เข้าสู่ยุคอัตโนมัติแบบเต็มรูปแบบ ไม่ต้องเสียเวลาอัปโหลดวิดีโอทีละไฟล์อีกต่อไป แค่เตรียมวิดีโอ คลิกเดียว แล้วปล่อยให้ AI และ n8n จัดการให้คุณ!</p>
<p>สนใจเรียนรู้เพิ่มเติมได้ที่ YouTube: <a href="https://www.youtube.com/@NOVELBIZ_CO_TH">https://www.youtube.com/@NOVELBIZ_CO_TH</a></p>

		</div>
	</div>

	<div class="wpb_video_widget wpb_content_element vc_clearfix   vc_video-aspect-ratio-169 vc_video-el-width-100 vc_video-align-center" >
		<div class="wpb_wrapper">
			<h2 class="wpb_heading wpb_video_heading">วิดีโอ Workflow Automation</h2>
			<div class="wpb_video_wrapper"><iframe loading="lazy" title="Workflow Automation" width="500" height="281" src="https://www.youtube.com/embed/videoseries?list=PLh2POp0fyXfTGAG3xY4SUGh1G-Rlr4ZC9" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
		</div>
	</div>
</div></div></div></div>
</div><p>The post <a href="https://www.novelbiz.co.th/n8n-to-youtube/">การโพสต์วิดีโอจาก n8n ขึ้น YouTube แบบอัตโนมัติ เวอร์ชั่น 2</a> first appeared on <a href="https://www.novelbiz.co.th">NOVELBIZ</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Post to WordPress ด้วย n8n แบบอัตโนมัติ</title>
		<link>https://www.novelbiz.co.th/post-to-wordpress-n8n/</link>
		
		<dc:creator><![CDATA[novelbi1]]></dc:creator>
		<pubDate>Thu, 08 May 2025 02:00:00 +0000</pubDate>
				<category><![CDATA[Learning_resources]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[ChatGPT]]></category>
		<category><![CDATA[Technology]]></category>
		<guid isPermaLink="false">https://www.novelbiz.co.th/?p=60847</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper"><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/01-1.png" target="_self" data-large_image_width="1457" data-large_image_height="610"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1457" height="610" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/01-1.png" class="vc_single_image-img attachment-full" alt="Post to WordPress ด้วย n8n แบบอัตโนมัติ" title="Post to WordPress ด้วย n8n แบบอัตโนมัติ" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/01-1.png 1457w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/01-1-768x322.png 768w" sizes="auto, (max-width: 1457px) 100vw, 1457px"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/01-5/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h2>Post to WordPress ด้วย n8n แบบอัตโนมัติ:</h2>
<h3>เปลี่ยนคอนเทนต์ให้กลายเป็นโพสต์ง่ายในพริบตา!</h3>
<p>ในการทำ Content Automation ยุคใหม่ เครื่องมืออย่าง n8n กลายเป็นตัวช่วยสำคัญที่ช่วยลดเวลาและเพิ่มประสิทธิภาพการทำงานแบบสุด ๆ โดยเฉพาะการนำข้อมูลจากเว็บไซต์อื่นมาสร้างเป็นโพสต์ใน WordPress แบบอัตโนมัติ! วันนี้เราจะพามาดู Workflow การทำงานแบบ Step-by-Step จากรูปภาพด้านบน ที่ช่วยให้คุณโพสต์บทความได้อัตโนมัติพร้อมใส่รูป ครบ จบใน Flow เดียว</p>
<h3>Overview ของ Workflow</h3>
<p>Workflow นี้มี 2 เส้นทางการทำงานหลักที่ประสานกันอย่างลงตัว:</p>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>เส้นทางที่ 1: ดึงข้อมูลจากเว็บไซต์</h3>
<p><strong>1. Schedule Trigger</strong><br />
เริ่มต้นด้วยการตั้งเวลาว่าเมื่อไรจะให้ระบบทำงานอัตโนมัติ เช่น ทุกวัน 9 โมงเช้า</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/Screenshot-2025-05-08-143013.png" target="_self" data-large_image_width="486" data-large_image_height="793"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="486" height="793" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/Screenshot-2025-05-08-143013.png" class="vc_single_image-img attachment-full" alt="" title="Screenshot 2025-05-08 143013"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/screenshot-2025-05-08-143013/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<p><strong>2. Set URL</strong><br />
ตั้ง URL เว็บไซต์เป้าหมายที่ต้องการดึงข้อมูลมาใช้งาน</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/012.png" target="_self" data-large_image_width="692" data-large_image_height="792"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="692" height="792" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/012.png" class="vc_single_image-img attachment-full" alt="" title="012"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/attachment/012/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<p><strong>3. Fetch Website</strong><br />
ดึงเนื้อหาจากเว็บไซต์นั้นมาในรูปแบบ HTML</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/013.png" target="_self" data-large_image_width="1296" data-large_image_height="823"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1296" height="823" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/013.png" class="vc_single_image-img attachment-full" alt="" title="013" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/013.png 1296w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/013-768x488.png 768w" sizes="auto, (max-width: 1296px) 100vw, 1296px"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/attachment/013/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<p><strong>4. HTML (extractHtmlContent)</strong><br />
ใช้เครื่องมือ HTML Extractor เพื่อแยกเนื้อหาที่เราต้องการ เช่น บทความ ข้อมูลพาดหัวข่าว หรือ รูปภาพ</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/014.png" target="_self" data-large_image_width="686" data-large_image_height="792"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="686" height="792" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/014.png" class="vc_single_image-img attachment-full" alt="" title="014"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/attachment/014/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/0141.png" target="_self" data-large_image_width="681" data-large_image_height="787"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="681" height="787" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/0141.png" class="vc_single_image-img attachment-full" alt="" title="0141"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/attachment/0141/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<p><strong>5. Aggregate</strong><br />
รวมข้อมูลต่าง ๆ ให้เป็นก้อนเดียวกัน พร้อมส่งไปยัง AI Agent</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/015.png" target="_self" data-large_image_width="695" data-large_image_height="787"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="695" height="787" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/015.png" class="vc_single_image-img attachment-full" alt="" title="015"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/attachment/015/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>เส้นทางที่ 2: ประมวลผลเนื้อหาและโพสต์ขึ้น WordPress</h3>
<p><strong>1. AI Agent เรียกใช้ Google Gemini Chat Model</strong><br />
ใช้ AI ช่วยสรุปหรือปรับปรุงเนื้อหาที่ดึงมา เช่น เปลี่ยนเนื้อหาเว็บข่าวให้กลายเป็นโพสต์บล็อกน่าอ่าน พร้อมสร้างแคปชันสำหรับ Social Media</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/016.png" target="_self" data-large_image_width="702" data-large_image_height="828"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="702" height="828" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/016.png" class="vc_single_image-img attachment-full" alt="" title="016"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/attachment/016/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<p>Promt สำหรับ AI Agent ให้เขียนบทความเกี่ยวกับหัวข้อที่ได้มา คำแนะนำในการเขียน และ ข้อกำหนดสำคัญ</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/0161.png" target="_self" data-large_image_width="672" data-large_image_height="682"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="672" height="682" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/0161.png" class="vc_single_image-img attachment-full" alt="" title="0161"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/attachment/0161/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<p>ข้อมูลประจำตัวเพื่อเชื่อมต่อด้วย Gemini Api Key และเลือก Model<br />
ที่เราต้องการ</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/017.png" target="_self" data-large_image_width="695" data-large_image_height="792"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="695" height="792" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/017.png" class="vc_single_image-img attachment-full" alt="" title="017"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/attachment/017/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<p>กรอกข้อมูลประจำตัวเพื่อเชื่อมต่อด้วย Gemini Api Key</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/018.png" target="_self" data-large_image_width="1347" data-large_image_height="697"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1347" height="697" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/018.png" class="vc_single_image-img attachment-full" alt="" title="018" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/018.png 1347w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/018-768x397.png 768w" sizes="auto, (max-width: 1347px) 100vw, 1347px"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/attachment/018/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<p>รับคีย์ Gemini API ได้ที่: <a href="https://aistudio.google.com/app/apikey?hl=th">https://aistudio.google.com/app/apikey?hl=th</a></p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/Screenshot-2025-05-08-013429.png" target="_self" data-large_image_width="1422" data-large_image_height="705"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1422" height="705" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/Screenshot-2025-05-08-013429.png" class="vc_single_image-img attachment-full" alt="" title="Screenshot 2025-05-08 013429" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/Screenshot-2025-05-08-013429.png 1422w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/Screenshot-2025-05-08-013429-768x381.png 768w" sizes="auto, (max-width: 1422px) 100vw, 1422px"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/screenshot-2025-05-08-013429/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<p>เนื้อหาโซเชียลมีเดีย ในรูปแบบ <a href="https://json-schema.org/">JSON</a></p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/019.png" target="_self" data-large_image_width="697" data-large_image_height="713"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="697" height="713" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/019.png" class="vc_single_image-img attachment-full" alt="" title="019"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/attachment/019/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<p><strong>2. get image url</strong><br />
ค้นหาหรือดึง URL ของภาพที่เกี่ยวข้องกับบทความ</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/Screenshot-2025-05-08-144901.png" target="_self" data-large_image_width="1292" data-large_image_height="838"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1292" height="838" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/Screenshot-2025-05-08-144901.png" class="vc_single_image-img attachment-full" alt="" title="Screenshot 2025-05-08 144901" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/Screenshot-2025-05-08-144901.png 1292w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/Screenshot-2025-05-08-144901-768x498.png 768w" sizes="auto, (max-width: 1292px) 100vw, 1292px"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/screenshot-2025-05-08-144901/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<p><strong>3. Upload to WordPress</strong><br />
อัปโหลดภาพไปยัง Media Library ของ WordPress</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/upload-to-wordpress.png" target="_self" data-large_image_width="695" data-large_image_height="731"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="695" height="731" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/upload-to-wordpress.png" class="vc_single_image-img attachment-full" alt="" title="upload to wordpress"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/upload-to-wordpress/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<p>ทำการ Login WordPress<br />
โดยใช้ user login wordpress<br />
ส่วน password ใช้ Application Password</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/0212.png" target="_self" data-large_image_width="1347" data-large_image_height="692"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1347" height="692" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/0212.png" class="vc_single_image-img attachment-full" alt="" title="0212" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/0212.png 1347w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/0212-768x395.png 768w" sizes="auto, (max-width: 1347px) 100vw, 1347px"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/attachment/0212/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/0222.png" target="_self" data-large_image_width="1145" data-large_image_height="768"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1145" height="768" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/0222.png" class="vc_single_image-img attachment-full" alt="" title="0222" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/0222.png 1145w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/0222-768x515.png 768w" sizes="auto, (max-width: 1145px) 100vw, 1145px"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/attachment/0222/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/02223.png" target="_self" data-large_image_width="1688" data-large_image_height="475"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1688" height="475" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/02223.png" class="vc_single_image-img attachment-full" alt="" title="02223" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/02223.png 1688w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/02223-768x216.png 768w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/02223-1536x432.png 1536w" sizes="auto, (max-width: 1688px) 100vw, 1688px"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/attachment/02223/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<p>ตั้งค่า Specify Headers ตามรูปภาพ</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/0213.png" target="_self" data-large_image_width="693" data-large_image_height="762"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="693" height="762" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/0213.png" class="vc_single_image-img attachment-full" alt="" title="0213"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/attachment/0213/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/0214.png" target="_self" data-large_image_width="696" data-large_image_height="775"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="696" height="775" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/0214.png" class="vc_single_image-img attachment-full" alt="" title="0214"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/attachment/0214/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<p><strong>4. Set Post Data</strong><br />
สร้างโครงสร้างของโพสต์ เช่น ชื่อเรื่อง, เนื้อหา, หมวดหมู่, แท็ก</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/javascript-code01.png" target="_self" data-large_image_width="693" data-large_image_height="627"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="693" height="627" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/javascript-code01.png" class="vc_single_image-img attachment-full" alt="" title="javascript code01"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/javascript-code01/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/javascript-code.png" target="_self" data-large_image_width="1832" data-large_image_height="722"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1832" height="722" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/javascript-code.png" class="vc_single_image-img attachment-full" alt="" title="javascript code" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/javascript-code.png 1832w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/javascript-code-768x303.png 768w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/javascript-code-1536x605.png 1536w" sizes="auto, (max-width: 1832px) 100vw, 1832px"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/javascript-code/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<p><strong>5. Post to WordPress</strong><br />
ส่งโพสต์ขึ้น WordPress โดยใช้ REST API แบบ POST</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/04-1.png" target="_self" data-large_image_width="696" data-large_image_height="675"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="696" height="675" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/04-1.png" class="vc_single_image-img attachment-full" alt="" title="04"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/04-5/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/041.png" target="_self" data-large_image_width="697" data-large_image_height="772"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="697" height="772" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/041.png" class="vc_single_image-img attachment-full" alt="" title="041"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/041-2/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<p><strong>6. Update Meta Data</strong><br />
เพิ่มข้อมูลเสริม เช่น SEO meta tags หรือ Custom fields ต่าง ๆ</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<div class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey"></div>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/06.png" target="_self" data-large_image_width="695" data-large_image_height="755"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="695" height="755" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/06.png" class="vc_single_image-img attachment-full" alt="" title="06"  data-dt-location="https://www.novelbiz.co.th/post-to-wordpress-n8n/06-3/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> ข้อดีของ Workflow นี้</h3>
<ul>
<li>ลดการทำงานซ้ำ ๆ ที่ต้องคัดลอก-วางเนื้อหา</li>
<li>ประหยัดเวลา ในการอัปเดตเว็บไซต์แบบรายวัน</li>
<li>ใช้ AI เพื่อปรับปรุงเนื้อหา ให้เหมาะกับผู้อ่านมากขึ้น</li>
<li>ครบวงจร ตั้งแต่ดึงข้อมูลจนถึงโพสต์ขึ้นเว็บ</li>
</ul>
<p>สนใจเรียนรู้เพิ่มเติมได้ที่ YouTube: <a href="https://www.youtube.com/@NOVELBIZ_CO_TH">https://www.youtube.com/@NOVELBIZ_CO_TH</a></p>

		</div>
	</div>

	<div class="wpb_video_widget wpb_content_element vc_clearfix   vc_video-aspect-ratio-169 vc_video-el-width-100 vc_video-align-center" >
		<div class="wpb_wrapper">
			
			<div class="wpb_video_wrapper"><iframe loading="lazy" title="Workflow Automation" width="500" height="281" src="https://www.youtube.com/embed/videoseries?list=PLh2POp0fyXfTGAG3xY4SUGh1G-Rlr4ZC9" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
		</div>
	</div>
</div></div></div></div>
</div><p>The post <a href="https://www.novelbiz.co.th/post-to-wordpress-n8n/">Post to WordPress ด้วย n8n แบบอัตโนมัติ</a> first appeared on <a href="https://www.novelbiz.co.th">NOVELBIZ</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Post Video to YouTube ด้วยระบบอัตโนมัติผ่าน Workflow n8n</title>
		<link>https://www.novelbiz.co.th/post-video-to-youtube/</link>
		
		<dc:creator><![CDATA[novelbi1]]></dc:creator>
		<pubDate>Mon, 05 May 2025 01:55:42 +0000</pubDate>
				<category><![CDATA[Learning_resources]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[GPT-4]]></category>
		<category><![CDATA[Technology]]></category>
		<guid isPermaLink="false">https://www.novelbiz.co.th/?p=60824</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper"><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/Post-Video-to-YouTube-ด้วยระบบอัตโนมัติผ่าน-Workflow-n8n.png" target="_self" data-large_image_width="500" data-large_image_height="500"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="500" height="500" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/Post-Video-to-YouTube-ด้วยระบบอัตโนมัติผ่าน-Workflow-n8n.png" class="vc_single_image-img attachment-full" alt="Post Video to YouTube ด้วยระบบอัตโนมัติผ่าน Workflow n8n" title="Post Video to YouTube ด้วยระบบอัตโนมัติผ่าน Workflow n8n"  data-dt-location="https://www.novelbiz.co.th/post-video-to-youtube/post-video-to-youtube-%e0%b8%94%e0%b9%89%e0%b8%a7%e0%b8%a2%e0%b8%a3%e0%b8%b0%e0%b8%9a%e0%b8%9a%e0%b8%ad%e0%b8%b1%e0%b8%95%e0%b9%82%e0%b8%99%e0%b8%a1%e0%b8%b1%e0%b8%95%e0%b8%b4%e0%b8%9c%e0%b9%88/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h2>Post Video to YouTube ด้วยระบบอัตโนมัติผ่าน Workflow n8n</h2>
<p>การเผยแพร่เนื้อหาวิดีโอผ่าน YouTube ได้กลายเป็นหนึ่งในกิจกรรมสำคัญของธุรกิจและผู้สร้างเนื้อหาจำนวนมาก อย่างไรก็ตาม การอัปโหลดวิดีโอซ้ำๆ ด้วยวิธีการแมนนวลอาจส่งผลให้เกิดความล่าช้าและเกิดข้อผิดพลาดได้ การนำระบบอัตโนมัติเข้ามาช่วยจึงเป็นทางเลือกที่เหมาะสม โดยเฉพาะเมื่อใช้เครื่องมืออย่าง n8n ซึ่งสามารถสร้าง Workflow เพื่อดำเนินกระบวนการต่างๆ ได้อย่างมีประสิทธิภาพ</p>
<p>บทความนี้จะกล่าวถึงการสร้าง Workflow สำหรับการอัปโหลดวิดีโอไปยัง YouTube โดยอัตโนมัติ ผ่านเครื่องมือ n8n ตามตัวอย่าง Workflow ที่แสดงในภาพ</p>
<h3>ภาพรวมของ Workflow</h3>
<p>Workflow ดังกล่าวประกอบด้วย 4 ขั้นตอนหลัก ได้แก่:</p>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>1. Trigger: When clicking ‘Test workflow’</h3>
<p>เป็นจุดเริ่มต้นของกระบวนการ เมื่อผู้ใช้งานกดปุ่ม &#8220;Test workflow&#8221; ภายใน n8n ระบบจะเริ่มดำเนินการตามลำดับขั้นตอนถัดไป เป็นวิธีที่เหมาะสมสำหรับการทดสอบระบบก่อนใช้งานจริง</p>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>2. up content</h3>
<p>POST: https://www.googleapis.com/upload/youtube/v3/videos?uploadType=resumable&amp;part=snippet,status<br />
ขั้นตอนนี้ทำหน้าที่ส่งข้อมูล metadata ของวิดีโอไปยัง YouTube ผ่าน HTTP Request แบบ POST โดยข้อมูลที่ใช้ประกอบด้วย:</p>
<ul class="ol-post">
<li>ชื่อวิดีโอ (title)</li>
<li>คำอธิบายวิดีโอ (description)</li>
<li>แท็ก (tags)</li>
<li>สถานะความเป็นส่วนตัว (privacy status)</li>
</ul>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/01.png" target="_self" data-large_image_width="696" data-large_image_height="852"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="696" height="852" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/01.png" class="vc_single_image-img attachment-full" alt="" title="01"  data-dt-location="https://www.novelbiz.co.th/post-video-to-youtube/01-4/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/02.png" target="_self" data-large_image_width="695" data-large_image_height="850"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="695" height="850" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/02.png" class="vc_single_image-img attachment-full" alt="" title="02"  data-dt-location="https://www.novelbiz.co.th/post-video-to-youtube/02-4/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/03.png" target="_self" data-large_image_width="695" data-large_image_height="441"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="695" height="441" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/03.png" class="vc_single_image-img attachment-full" alt="" title="03"  data-dt-location="https://www.novelbiz.co.th/post-video-to-youtube/03-4/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<p>การใช้งาน API ในขั้นตอนนี้ต้องมีการยืนยันตัวตนผ่าน OAuth 2.0 และใช้ Token ที่มีสิทธิ์การเข้าถึง <a href="https://developers.google.com/youtube/v3?hl=th">YouTube Data API v3</a></p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/04.png" target="_self" data-large_image_width="1197" data-large_image_height="728"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1197" height="728" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/04.png" class="vc_single_image-img attachment-full" alt="" title="04" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/04.png 1197w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/04-768x467.png 768w" sizes="auto, (max-width: 1197px) 100vw, 1197px"  data-dt-location="https://www.novelbiz.co.th/post-video-to-youtube/04-4/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/05.png" target="_self" data-large_image_width="981" data-large_image_height="375"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="981" height="375" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/05.png" class="vc_single_image-img attachment-full" alt="" title="05" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/05.png 981w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/05-768x294.png 768w" sizes="auto, (max-width: 981px) 100vw, 981px"  data-dt-location="https://www.novelbiz.co.th/post-video-to-youtube/05-4/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>3. Get-Video</h3>
<p>ตัวอย่าง(GET: https://www.example.co.th/wp-content/uploads/2025/04/102.mp4)<br />
ในขั้นตอนนี้ระบบจะดึงวิดีโอจากแหล่งที่จัดเก็บไว้ เช่น เซิร์ฟเวอร์ภายนอก, Google Drive หรือระบบจัดการไฟล์ใดๆ ที่ให้บริการผ่าน URL โดยใช้ HTTP Request แบบ GET</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/11.png" target="_self" data-large_image_width="696" data-large_image_height="852"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="696" height="852" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/11.png" class="vc_single_image-img attachment-full" alt="" title="11"  data-dt-location="https://www.novelbiz.co.th/post-video-to-youtube/11-5/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>4. upload-video</h3>
<p>PUT: {{ $json.headers.location }}<br />
ขั้นตอนสุดท้ายของ Workflow คือการอัปโหลดวิดีโอไปยัง YouTube ผ่าน HTTP Request แบบ PUT ซึ่งต้องอ้างอิง URL ที่ได้จากการสร้างข้อมูลวิดีโอในขั้นตอนก่อนหน้า (up content)</p>
<ul>
<li>Method: PUT</li>
<li>URL: ดึงมาจากฟิลด์ uploadUrl หรือ location ที่ได้จากขั้นตอนก่อนหน้า</li>
<li>Body Content Type: ตั้งค่าเป็น Binary file (Binary Data)</li>
<li>Binary Property: ระบุชื่อฟิลด์เป็น data</li>
</ul>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/05/33.png" target="_self" data-large_image_width="1913" data-large_image_height="902"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1913" height="902" src="https://www.novelbiz.co.th/wp-content/uploads/2025/05/33.png" class="vc_single_image-img attachment-full" alt="" title="33" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/05/33.png 1913w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/33-768x362.png 768w, https://www.novelbiz.co.th/wp-content/uploads/2025/05/33-1536x724.png 1536w" sizes="auto, (max-width: 1913px) 100vw, 1913px"  data-dt-location="https://www.novelbiz.co.th/post-video-to-youtube/33-2/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>ข้อกำหนดเบื้องต้นก่อนใช้งาน</h3>
<ul class="ol-post">
<li>เพื่อให้ Workflow ทำงานได้อย่างถูกต้อง จำเป็นต้องเตรียมองค์ประกอบต่อไปนี้:</li>
<li>Google Cloud Console: สร้างโปรเจกต์ใหม่ และเปิดใช้บริการ YouTube Data API v3</li>
<li>OAuth 2.0 Credentials: สำหรับใช้งานร่วมกับ n8n และยืนยันตัวตนผ่าน OAuth</li>
<li>n8n Credential Configuration: ตั้งค่า OAuth2 credentials ใน n8n สำหรับการเข้าถึง API</li>
<li>วิดีโอไฟล์: อยู่ในรูปแบบที่ YouTube รองรับ เช่น .mp4, .mov ฯลฯ</li>
</ul>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>ประโยชน์ของระบบอัตโนมัติในการอัปโหลดวิดีโอ</h3>
<ul class="ol-post">
<li>ลดระยะเวลาในการดำเนินงาน</li>
<li>ลดข้อผิดพลาดจากการกรอกข้อมูลซ้ำ</li>
<li>สามารถขยายการใช้งานไปยังการโพสต์วิดีโอหลายรายการได้ในครั้งเดียว</li>
<li>เพิ่มความสะดวกในการเชื่อมต่อกับระบบจัดการเนื้อหาอื่น ๆ เช่น CMS, Google Drive, FTP</li>
</ul>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>สรุป</h3>
<p>ระบบ Workflow ของ n8n ช่วยให้สามารถจัดการการอัปโหลดวิดีโอไปยัง YouTube ได้อย่างเป็นระบบและอัตโนมัติ เหมาะสำหรับผู้ที่ต้องการเพิ่มประสิทธิภาพในการจัดการเนื้อหาวิดีโอ ทั้งในระดับส่วนตัวและระดับองค์กร โดยการตั้งค่าให้ถูกต้องและผสมผสานกับระบบจัดเก็บข้อมูลภายนอก จะช่วยให้การทำงานมีความราบรื่น และประหยัดทรัพยากรได้ในระยะยาว</p>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<p>สนใจเรียนรู้เพิ่มเติมได้ที่ YouTube: <a href="https://www.youtube.com/@NOVELBIZ_CO_TH">https://www.youtube.com/@NOVELBIZ_CO_TH</a></p>

		</div>
	</div>

	<div class="wpb_video_widget wpb_content_element vc_clearfix   vc_video-aspect-ratio-169 vc_video-el-width-100 vc_video-align-center" >
		<div class="wpb_wrapper">
			<h2 class="wpb_heading wpb_video_heading">วิดีโอ Workflow Automation</h2>
			<div class="wpb_video_wrapper"><iframe loading="lazy" title="Workflow Automation" width="500" height="281" src="https://www.youtube.com/embed/videoseries?list=PLh2POp0fyXfTGAG3xY4SUGh1G-Rlr4ZC9" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
		</div>
	</div>
</div></div></div></div><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper"></div></div></div></div>
</div><p>The post <a href="https://www.novelbiz.co.th/post-video-to-youtube/">Post Video to YouTube ด้วยระบบอัตโนมัติผ่าน Workflow n8n</a> first appeared on <a href="https://www.novelbiz.co.th">NOVELBIZ</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>การโพสต์ภาพและข้อความลง X (Twitter) อัตโนมัติด้วย n8n</title>
		<link>https://www.novelbiz.co.th/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%82%e0%b8%9e%e0%b8%aa%e0%b8%95%e0%b9%8c%e0%b8%a0%e0%b8%b2%e0%b8%9e%e0%b9%81%e0%b8%a5%e0%b8%b0%e0%b8%82%e0%b9%89%e0%b8%ad%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b8%a5/</link>
		
		<dc:creator><![CDATA[novelbi1]]></dc:creator>
		<pubDate>Mon, 28 Apr 2025 07:33:31 +0000</pubDate>
				<category><![CDATA[Learning_resources]]></category>
		<category><![CDATA[AI]]></category>
		<category><![CDATA[Technology]]></category>
		<guid isPermaLink="false">https://www.novelbiz.co.th/?p=60795</guid>

					<description><![CDATA[]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper"><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/04/011-1.png" target="_self" data-large_image_width="1642" data-large_image_height="877"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1642" height="877" src="https://www.novelbiz.co.th/wp-content/uploads/2025/04/011-1.png" class="vc_single_image-img attachment-full" alt="" title="011" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/04/011-1.png 1642w, https://www.novelbiz.co.th/wp-content/uploads/2025/04/011-1-768x410.png 768w, https://www.novelbiz.co.th/wp-content/uploads/2025/04/011-1-1536x820.png 1536w" sizes="auto, (max-width: 1642px) 100vw, 1642px"  data-dt-location="https://www.novelbiz.co.th/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%82%e0%b8%9e%e0%b8%aa%e0%b8%95%e0%b9%8c%e0%b8%a0%e0%b8%b2%e0%b8%9e%e0%b9%81%e0%b8%a5%e0%b8%b0%e0%b8%82%e0%b9%89%e0%b8%ad%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b8%a5/011-2/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h2>การโพสต์ภาพและข้อความลง X (Twitter) อัตโนมัติด้วย n8n <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f680.png" alt="🚀" class="wp-smiley" style="height: 1em; max-height: 1em;" /></h2>
<p>ในยุคที่ทุกวินาทีบนโลกโซเชียลมีค่า การทำงานอัตโนมัติคือเพื่อนซี้ที่ดีที่สุดของเรา และวันนี้เราจะมาเจาะลึกการสร้าง Workflow บน n8n ที่สามารถ โพสต์รูปภาพพร้อมข้อความไปยัง X (Twitter) ได้แบบชิลๆ ตาม Flow ที่คุณเห็นในภาพด้านบนกันครับ! <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f6e0.png" alt="🛠" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<h3>โครงสร้าง Workflow ของเรา</h3>
<p>1.When clicking &#8216;Test workflow&#8217;<br />
จุดเริ่มต้นของความเวิร์ค! เป็นการกำหนด Trigger ว่า เมื่อเรากดปุ่มทดสอบ (หรือจะตั้งเวลาในอนาคตก็ได้) Workflow นี้จะเริ่มทำงานทันที</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/04/02-1.png" target="_self" data-large_image_width="190" data-large_image_height="268"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="190" height="268" src="https://www.novelbiz.co.th/wp-content/uploads/2025/04/02-1.png" class="vc_single_image-img attachment-full" alt="" title="02"  data-dt-location="https://www.novelbiz.co.th/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%82%e0%b8%9e%e0%b8%aa%e0%b8%95%e0%b9%8c%e0%b8%a0%e0%b8%b2%e0%b8%9e%e0%b9%81%e0%b8%a5%e0%b8%b0%e0%b8%82%e0%b9%89%e0%b8%ad%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b8%a5/02-3/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h4>2.Set URL</h4>
<p>เซ็ต URL ของภาพที่เราต้องการโพสต์ เช่น URL ของ เรา ประจำวัน<br />
ใช้ Node แบบ &#8220;Set&#8221; เพื่อกำหนดค่าข้อมูลเข้าไป (แค่ Copy &amp; Paste URL ง่ายๆ เหมือนวางลิงก์ในแชท)</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/04/03-1.png" target="_self" data-large_image_width="616" data-large_image_height="792"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="616" height="792" src="https://www.novelbiz.co.th/wp-content/uploads/2025/04/03-1.png" class="vc_single_image-img attachment-full" alt="" title="03"  data-dt-location="https://www.novelbiz.co.th/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%82%e0%b8%9e%e0%b8%aa%e0%b8%95%e0%b9%8c%e0%b8%a0%e0%b8%b2%e0%b8%9e%e0%b9%81%e0%b8%a5%e0%b8%b0%e0%b8%82%e0%b9%89%e0%b8%ad%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b8%a5/03-3/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h4>3.Get image</h4>
<p>ดึงข้อมูลภาพจาก URL ที่ตั้งไว้ด้วย Node ประเภท HTTP Request</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/04/04-1.png" target="_self" data-large_image_width="1875" data-large_image_height="853"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1875" height="853" src="https://www.novelbiz.co.th/wp-content/uploads/2025/04/04-1.png" class="vc_single_image-img attachment-full" alt="" title="04" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/04/04-1.png 1875w, https://www.novelbiz.co.th/wp-content/uploads/2025/04/04-1-768x349.png 768w, https://www.novelbiz.co.th/wp-content/uploads/2025/04/04-1-1536x699.png 1536w" sizes="auto, (max-width: 1875px) 100vw, 1875px"  data-dt-location="https://www.novelbiz.co.th/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%82%e0%b8%9e%e0%b8%aa%e0%b8%95%e0%b9%8c%e0%b8%a0%e0%b8%b2%e0%b8%9e%e0%b9%81%e0%b8%a5%e0%b8%b0%e0%b8%82%e0%b9%89%e0%b8%ad%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b8%a5/04-3/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h4>4.Edit Resize</h4>
<p>ปรับขนาด (Resize) ให้เหมาะสมกับมาตรฐานของ X เพื่อให้แน่ใจว่าภาพไม่โดนเบี้ยวหรือโดนตัดขอบ</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/04/05-1.png" target="_self" data-large_image_width="1883" data-large_image_height="830"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1883" height="830" src="https://www.novelbiz.co.th/wp-content/uploads/2025/04/05-1.png" class="vc_single_image-img attachment-full" alt="" title="05" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/04/05-1.png 1883w, https://www.novelbiz.co.th/wp-content/uploads/2025/04/05-1-768x339.png 768w, https://www.novelbiz.co.th/wp-content/uploads/2025/04/05-1-1536x677.png 1536w" sizes="auto, (max-width: 1883px) 100vw, 1883px"  data-dt-location="https://www.novelbiz.co.th/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%82%e0%b8%9e%e0%b8%aa%e0%b8%95%e0%b9%8c%e0%b8%a0%e0%b8%b2%e0%b8%9e%e0%b9%81%e0%b8%a5%e0%b8%b0%e0%b8%82%e0%b9%89%e0%b8%ad%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b8%a5/05-3/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h4>5.Upload image</h4>
<p>อัพโหลดภาพขึ้นไปยัง Twitter Media API (POST ไปที่ https://upload.twitter.com/1.1/media/upload.json)<br />
หลังจากนี้ เราจะได้ Media ID ซึ่งเอาไว้แนบกับทวีตของเรา</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/04/061-1.png" target="_self" data-large_image_width="1895" data-large_image_height="852"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1895" height="852" src="https://www.novelbiz.co.th/wp-content/uploads/2025/04/061-1.png" class="vc_single_image-img attachment-full" alt="" title="061" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/04/061-1.png 1895w, https://www.novelbiz.co.th/wp-content/uploads/2025/04/061-1-768x345.png 768w, https://www.novelbiz.co.th/wp-content/uploads/2025/04/061-1-1536x691.png 1536w" sizes="auto, (max-width: 1895px) 100vw, 1895px"  data-dt-location="https://www.novelbiz.co.th/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%82%e0%b8%9e%e0%b8%aa%e0%b8%95%e0%b9%8c%e0%b8%a0%e0%b8%b2%e0%b8%9e%e0%b9%81%e0%b8%a5%e0%b8%b0%e0%b8%82%e0%b9%89%e0%b8%ad%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b8%a5/061-2/" /></a>
		</figure>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/04/062.png" target="_self" data-large_image_width="1902" data-large_image_height="847"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1902" height="847" src="https://www.novelbiz.co.th/wp-content/uploads/2025/04/062.png" class="vc_single_image-img attachment-full" alt="" title="062" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/04/062.png 1902w, https://www.novelbiz.co.th/wp-content/uploads/2025/04/062-768x342.png 768w, https://www.novelbiz.co.th/wp-content/uploads/2025/04/062-1536x684.png 1536w" sizes="auto, (max-width: 1902px) 100vw, 1902px"  data-dt-location="https://www.novelbiz.co.th/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%82%e0%b8%9e%e0%b8%aa%e0%b8%95%e0%b9%8c%e0%b8%a0%e0%b8%b2%e0%b8%9e%e0%b9%81%e0%b8%a5%e0%b8%b0%e0%b8%82%e0%b9%89%e0%b8%ad%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b8%a5/attachment/062/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h4>6.X (create:tweet)</h4>
<p>ใช้ Node X เพื่อสร้างโพสต์ใหม่โดยแนบ Media ID และข้อความที่เราต้องการส่งไป</p>

		</div>
	</div>

	<div  class="wpb_single_image wpb_content_element vc_align_center">
		
		<figure class="wpb_wrapper vc_figure">
			<a href="https://www.novelbiz.co.th/wp-content/uploads/2025/04/072.png" target="_self" data-large_image_width="1877" data-large_image_height="810"  class="vc_single_image-wrapper vc_box_shadow  vc_box_border_grey dt-pswp-item rollover rollover-zoom"   ><img loading="lazy" decoding="async" width="1877" height="810" src="https://www.novelbiz.co.th/wp-content/uploads/2025/04/072.png" class="vc_single_image-img attachment-full" alt="" title="072" srcset="https://www.novelbiz.co.th/wp-content/uploads/2025/04/072.png 1877w, https://www.novelbiz.co.th/wp-content/uploads/2025/04/072-768x331.png 768w, https://www.novelbiz.co.th/wp-content/uploads/2025/04/072-1536x663.png 1536w" sizes="auto, (max-width: 1877px) 100vw, 1877px"  data-dt-location="https://www.novelbiz.co.th/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%82%e0%b8%9e%e0%b8%aa%e0%b8%95%e0%b9%8c%e0%b8%a0%e0%b8%b2%e0%b8%9e%e0%b9%81%e0%b8%a5%e0%b8%b0%e0%b8%82%e0%b9%89%e0%b8%ad%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b8%a5/attachment/072/" /></a>
		</figure>
	</div>

	<div class="wpb_text_column wpb_content_element " >
		<div class="wpb_wrapper">
			<h3>สรุป Workflow ฉบับเข้าใจง่าย <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f9e0.png" alt="🧠" class="wp-smiley" style="height: 1em; max-height: 1em;" /></h3>
<p>กดปุ่ม &gt; ตั้ง URL &gt; ดึงภาพ &gt; ปรับขนาด &gt; อัพโหลดรูป &gt; ทวีต พร้อมรูปและข้อความสุดคูล!</p>
<h3>สรุปแบบสั้นๆ:</h3>
<p>&#8220;Workflow นี้คือ โพสต์อัตโนมัติในไม่กี่คลิก บน X ด้วยพลังของ n8n&#8221;<br />
สาย Automation ตัวจริง ต้องไม่พลาด! <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f9be.png" alt="🦾" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>สนใจเรียนรู้เพิ่มเติมได้ที่ YouTube: <a href="https://www.youtube.com/@NOVELBIZ_CO_TH">https://www.youtube.com/@NOVELBIZ_CO_TH</a></p>

		</div>
	</div>

	<div class="wpb_video_widget wpb_content_element vc_clearfix   vc_video-aspect-ratio-169 vc_video-el-width-100 vc_video-align-center" >
		<div class="wpb_wrapper">
			
			<div class="wpb_video_wrapper"><iframe loading="lazy" title="EP8. สอนใช้ n8n + Google Gemini สร้างบอทสรุปข่าวลง Twitter (X) อัตโนมัติ" width="500" height="281" src="https://www.youtube.com/embed/7sWdr6eivzc?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
		</div>
	</div>
</div></div></div></div>
</div><p>The post <a href="https://www.novelbiz.co.th/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b9%82%e0%b8%9e%e0%b8%aa%e0%b8%95%e0%b9%8c%e0%b8%a0%e0%b8%b2%e0%b8%9e%e0%b9%81%e0%b8%a5%e0%b8%b0%e0%b8%82%e0%b9%89%e0%b8%ad%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b8%a5/">การโพสต์ภาพและข้อความลง X (Twitter) อัตโนมัติด้วย n8n</a> first appeared on <a href="https://www.novelbiz.co.th">NOVELBIZ</a>.</p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
