ข้ามไปยังเนื้อหา

เชื่อมต่อ LINE Official Account

พร้อมให้ AI Agent จัดการแชทลูกค้าบน LINE แล้วหรือยัง?

  • 💬 ตอบกลับทันที 24/7 — AI Agent ของคุณตอบข้อความลูกค้าแม้ทีมของคุณออฟไลน์
  • ไม่พลาดโอกาสขาย — การตอบกลับที่รวดเร็วช่วยเพิ่มการมีส่วนร่วมและโอกาสปิดการขาย
  • 🎯 อัตโนมัติการขายและตอบคำถาม — AI สามารถแนะนำสินค้า ตอบ FAQs และนำผู้ใช้ไปสู่การซื้อ
  • 📊 รวมศูนย์การจัดการสนทนา — ดูและจัดการการสนทนา LINE พร้อมช่องทางอื่น ๆ ทั้งหมดใน DealDroid

  • Step A — เปิดใช้งาน Messaging API & สร้าง Provider: เปิด Messaging API ใน LINE OA และตั้งค่า Provider
  • Step B — สร้างช่องทางใน DealDroid: เพิ่ม New Line OA ใน DealDroid และวาง Channel ID / Channel Secret
  • Step C — ตั้งค่า Webhook & Issue Token: วาง Webhook URL ใน LINE, เปิด webhook และสร้าง Channel Access Token แล้ววางใน DealDroid
  • Step D — ทดสอบ & ปิด Auto-response: ปิดข้อความต้อนรับของ LINE, ทดสอบจากหลายเบอร์, ตรวจสอบ Chat ใน DealDroid

  1. เปิดหน้า Auto-response ใน LINE OA แล้วไปที่ Response settings

auto-response message, arrow point at Auto-response messages and point at Change at Chat Off

  1. เปิด Chat toggle ให้เป็น ON แล้วคลิก Messaging API settings

Response settings page, arrow point at Chat toggle button and point at Messaging API settings

  1. หาก Messaging API ยังเป็น Disabled ให้กด Enable Messaging API และสร้าง/เลือก Provider

Messaging API settings page, point at Enable Messaging API

  1. เลือก New provider (ถ้ายังไม่มี) ใส่ชื่อ Provider, กรอก URL ของ Privacy Policy/Terms แล้วยืนยัน

Select provider popup, arrow point at Text Field and show name of provider


  1. ใน DealDroid ไปที่ SettingsChannels → กด New Line OA

Dealdroid Channel settings page, arrow point at Setting icon, point at Channels menu, and point at New Line OA button

  1. เปิดฟอร์ม New Line OA เพื่อเตรียมใส่ Channel ID, Channel Secret และ Access Token

New Line OA setup page, arrow point at Channel Name field, Channel ID field, Channel Secret field, and Access Token field

  1. กลับไปที่หน้า Messaging API ใน LINE แล้วคัดลอก Channel ID และ Channel Secret จากนั้นวางลงใน DealDroid

Messaging API settings page, arrow point at Channel ID and Channel Secret fields

Dealdroid Line OA setup page, arrow point at Channel ID and Channel Secret fields


  1. ใน DealDroid คัดลอก Webhook URL ของช่องทางที่สร้างไว้ แล้ววางในช่อง Webhook URL ของ LINE Messaging API จากนั้นกด Save

Dealdroid Line OA setup page, arrow point at Webhook URL field

Messaging API settings page, arrow point at Webhook URL field and point at Link to Line Developers Console

  1. ไปที่ LINE Developers Console → เลือก Provider → เลือก Channel → ในแท็บ Messaging API ให้กด Issue เพื่อสร้าง Channel Access Token แล้วคัดลอก

Line Developers Console page, arrow point at Provider and Channel

Line Developers Messaging API page, arrow point at Generate token button

Line Developers Generate Access Token page, arrow point at Issue button

Line Developers Access Token page, arrow point at Copy button next to Access Token field

  1. วาง Access Token ลงในช่อง Access Token ของ DealDroid และกด Save

Dealdroid Line OA setup page, arrow point at Access Token field and Save button


  1. ใน LINE OA → Response settings → เปิด Enable webhook แล้วกด Save

Line Official Account Response settings page, arrow point at Menu Response settings and Enable webhook toggle button

  1. ปิด Auto-response (In use) เพื่อป้องกันข้อความต้อนรับอัตโนมัติรบกวนการทดสอบ

Line Official Account Auto-response messages page, arrow point at Home tab, Auto-response messages menu, and In use toggle button

  1. ทดสอบส่งข้อความไปที่ LINE OA ของคุณแล้วตรวจดูการตอบกลับจาก AI Agent ในหน้า Chat ของ DealDroid
Line application chat page of your Line OA showing message from user and reply from AI Agent

Dealdroid Chat page showing message from user and reply from AI Agent, pointer at Chat menu


ฟิลด์ (DealDroid)หาได้จาก (LINE)
Channel Nameตั้งชื่อเองใน DealDroid
Channel IDMessaging API → Basic settings
Channel SecretMessaging API → Channel secret
Webhook URLคัดลอกจาก DealDroid → วางใน LINE Messaging API
Access TokenLINE Developers Console → Messaging API → Issue (long-lived)

  • Webhook ไม่ทำงาน: ตรวจสอบว่า Enable webhook เปิดและ Webhook URL เป็น https ถูกต้อง และ Save แล้ว
  • AI ไม่ตอบ แต่ข้อความมาถึง DealDroid: ตรวจสอบ Access Token ว่าเป็น long-lived และตรวจดู logs ใน DealDroid Chat
  • ข้อความตอบผิดพลาด: ตรวจสอบการแมปฐานความรู้และสคริปต์การขาย
  • ไม่สามารถสร้าง Token/Secret: ตรวจสอบสิทธิ์บัญชีใน Provider
  • Auto-response ส่งข้อความซ้ำ: ปิด Auto-response ใน LINE OA ก่อนทดสอบ

  1. ทดสอบจากหลายเบอร์/หลายอุปกรณ์เพื่อตรวจ edge case
  2. เพิ่ม Knowledge Base และสินค้าที่เกี่ยวข้องให้ Droid สามารถตอบคำถามเชิงธุรกิจได้ดีขึ้น
  3. หากยังมีปัญหา ให้ส่งภาพหน้าจอและ logs มาที่ทีม DealDroid เพื่อให้ช่วยตรวจสอบ

สำเร็จแล้ว! AI Sales Agent ของคุณพร้อมใช้งานบน LINE OA 🎉