TH

สร้าง AI Chat Widget ฝังหน้าเว็บไซต์ และเชื่อมต่อ LINE OA / MS Teams จากฐานข้อมูลจริง

สถาปัตยกรรม Dual-UI และระบบจัดการ Multi-Widget ของ OrgAI ช่วยให้องค์กรสร้าง AI Chat Widget แยกอิสระฝังบนเว็บไซต์ภายนอก หรือเชื่อมกับ LINE Official Account (LINE OA) และ MS Teams โดยดึงข้อมูลจากเอกสารและฐานข้อมูลจริง

สถาปัตยกรรม Dual-UI & Modular Inheritance ยืดหยุ่นสูงสุดสำหรับองค์กร:

แต่ละช่องทางเป็นวิดเจ็ตอิสระ สืบทอดจากพื้นที่ทำงานหลักได้เท่าที่ต้องการ แล้วกำหนดการเชื่อมต่อ เอกสาร กฎพฤติกรรม และโควตาของตัวเอง โดยไม่ไปเปลี่ยนช่องทางอื่น

  • 1. การเชื่อมต่อฐานข้อมูล (Database Connection)

    เลือกระหว่าง Inherit Master DB เพื่อใช้การเชื่อมต่อหลักขององค์กร หรือต่อ Custom Connection เฉพาะช่องทางนั้น เมื่อต้องการแยกฐานข้อมูลที่เปิดให้ลูกค้าสอบถาม ออกจากฐานข้อมูลภายใน

  • 2. ขอบเขตเอกสาร (File Scope)

    กำหนดโหมด NONE เมื่อช่องทางนี้ไม่ใช้เอกสาร, โหมด PRIMARY เมื่อใช้ชุดเอกสารหลักที่อนุญาต หรือโหมด CUSTOM เมื่อเลือกเฉพาะไฟล์คู่มือที่เปิดเผยได้

  • 3. กฎพฤติกรรมแยกอิสระ (Guardrails & Behavior Rules)

    แต่ละช่องทางมีกฎของตัวเอง เช่น สั่งจับคำสั่งทางธุรกิจ เมื่อผู้ใช้พิมพ์ชื่อ-ที่อยู่-เบอร์โทรผ่าน LINE OA ถือเป็นการสั่งซื้อทันที โดยไม่เปลี่ยนพฤติกรรมของวิดเจ็ตบนเว็บไซต์

  • 4. ความปลอดภัยและโควตา (Token Quotas & Domain Whitelist)

    คุมเพดาน Token รายเดือนแยกตามวิดเจ็ต เมื่อถึงเพดานช่องทางนั้นจะหยุดตอบ และล็อกเฉพาะโดเมนที่อนุญาตให้นำ Widget ไปฝัง โดเมนนอกบัญชีขาวจะเรียกใช้สคริปต์ไม่ได้

เปรียบเทียบช่องทาง

ทั้งสามช่องทางใช้สถาปัตยกรรมเดียวกัน ต่างกันที่วิธีรับข้อความและกฎที่ล็อกไว้กับช่องทางนั้น

เปรียบเทียบ Web Chat Widget, LINE OA และ Microsoft Teams
ช่องทางการเชื่อมต่อแหล่งคำตอบการควบคุม
Web Chat Widgetฝังสคริปต์บนเว็บไซต์ภายนอกเอกสารและฐานข้อมูลตาม Database Connection และ File Scope ของวิดเจ็ตนั้นDomain Whitelist ล็อกโดเมนที่อนุญาต และคุมเพดาน Token รายเดือน
LINE OA (Messaging API Webhook)รับข้อความผ่าน LINE Messaging API Webhookชุดความรู้ของช่องทาง LINE ซึ่งแยกขอบเขตจากวิดเจ็ตบนเว็บได้Guardrails จับชื่อ-ที่อยู่-เบอร์โทรให้ถือเป็นการสั่งซื้อทันที
Microsoft Teamsบอทในแชนเนลและแชตขององค์กรดึงคำตอบจากเอกสารและฐานข้อมูลจริงผ่านการเชื่อมต่อชุดเดียวกันใช้ในทีมภายใน พร้อมกฎพฤติกรรมและโควตา Token แยกจากช่องทางสาธารณะ

คำถามที่พบบ่อย

การฝังหน้าเว็บสาธารณะ ข้อมูลภายในจะหลุดหรือไม่

ไม่หลุด เพราะล็อกขอบเขตไฟล์ระดับเซิร์ฟเวอร์ วิดเจ็ตที่ฝังบนหน้าเว็บสาธารณะตอบได้เฉพาะเอกสารใน File Scope ของช่องทางนั้น คือโหมด NONE, PRIMARY หรือ CUSTOM ไฟล์ภายในที่ไม่ได้เปิดไว้จะไม่ถูกส่งให้โมเดล และโดเมนที่ไม่อยู่ใน Domain Whitelist จะฝัง Widget ไม่ได้

การนำระบบแจ้งซ่อมหรือ ERP มาเชื่อมทำได้อย่างไร

ดึงข้อมูลจาก Fixdy หรือ ERPNext มาเชื่อมกับ AI โดย OrgAI เพื่อให้ผู้ใช้เช็กสถานะงานซ่อมหรือสต็อกผ่าน LINE ได้ทันที โดยแต่ละช่องทางเลือก Database Connection และแมปเฉพาะข้อมูลที่เปิดให้สอบถาม

EN

Embeddable AI Chat Widgets & Omnichannel LINE OA / MS Teams Integration

OrgAI uses a Dual-UI Architecture and a Modular Inheritance Pattern to deploy domain-whitelisted chat widgets and LINE Official Account integrations. Each widget inherits the master workspace, then keeps its own database binding, knowledge scope, persona, and monthly token cap. The same pattern connects Microsoft Teams. Answers come from the documents and live database records assigned to that channel, not from an open copy of the internal systems.

Modular inheritance modules

A channel takes only the modules it needs. Changing one widget does not rewrite the master workspace or the other channels.

  • Database binding

    Bind the widget to the master connection, or attach a custom connection used only by that channel when customer-facing questions must stay off the internal database.

  • Business data mappings

    Map operational records such as orders, repair jobs, and stock items so the channel reads live values. A LINE OA conversation can check a job or a stock balance without opening the back office.

  • Scoped knowledge sources

    Choose NONE to turn documents off, PRIMARY to use the allowed primary set, or CUSTOM to select only manuals that are safe to expose on that channel.

  • Custom persona guardrails

    Keep behavior rules on the channel that needs them. A LINE OA flow can treat a message that contains a name, address, and phone number as an order, while the web widget keeps a different persona.

  • Monthly token quota caps

    Set a monthly token ceiling per widget. Public traffic stops when that cap is reached, so one embed cannot drain the organization's usage. Pair the cap with the domain whitelist so the script runs only on approved hosts.

Channel comparison

Web Chat Widget, LINE OA, and Microsoft Teams on one inheritance model
ChannelConnectionAnswer sourceControl
Web Chat WidgetEmbedded script on an external websiteDocuments and database records from that widget's binding and file scopeDomain whitelist plus a monthly token cap
LINE OA (Messaging API Webhook)Inbound messages through the LINE Messaging API webhookThe LINE channel's own knowledge scope, separate from the web widget when neededGuardrails can treat a name, address, and phone number as an immediate order
Microsoft TeamsA bot in team channels and chatsThe same real documents and database records, through that channel's bindingInternal behavior rules and a token quota kept apart from public channels

Frequently asked questions

How does OrgAI keep a public widget from exposing internal databases?

OrgAI locks file scope and database binding on the server. A public widget answers only from the scope assigned to that channel: NONE, PRIMARY, or CUSTOM. Records outside that scope are not sent to the model, and the embed runs only on domains in the whitelist.

What safeguards limit token consumption on widgets and LINE OA?

Each widget has its own monthly token quota cap. Traffic from a public website or a LINE OA conversation draws on that widget's quota. When the cap is reached, the channel stops answering until the next cycle or an administrator raises the quota.

ปรึกษาการเชื่อมต่อ Omnichannel

ปรึกษาการเชื่อมต่อ Omnichannel กับ Nextio Consult ตรวจสอบ แพ็กเกจราคา

Plan the omnichannel rollout with Nextio Consult, then review pricing.