Tips and Trend of Creating Basic Chatbot

YAYA Chatbot Sensing the Real Andamand Pearl Documentation

Prim Wong
4 min readMay 7, 2021

YAYA Chatbot

YAYA is named after Phuket Traditional Dress to guide you the best journey to Phuket, Thailand

Chatbot is the NEW WAVE!

YAYA Chatbot @963ggoai

Nowadays, Chatbot is oftenly used to be a customer services.

  • Chatbot can serve customer 22/7 (Real Time)
    Customer Support Process can be tremendously improved with the help of Chatbots, the always -available agent. Customer Support is extremely important to keep your brand loyalty and growing your businesses.
  • Proactive Customer Interaction
    Chatbot allows you to starting a conversation with any customer. This will make your clients feel that your brand is a big step ahead into improving your brand in the long run.
  • Cost Saving
    Implementing a Chatbot is much cost saving than employed the clients to answers question with a demand of the customer.

Types of Chatbot

There are 2 Types of Chatbot, Ruled-Base and AI Chatbot.

Image Courtesy of tidio.com
  1. Ruled- base Chatbot using Decision Trees.
    This Chatbot can only answers and quides speaker to the planned conversation.
  2. AI Chatbot
    The AI Chatbot goal is trying to mimics Human’s answers by using Natural Language Processing or NLP. The “changed of the word” and even another “types of sentence structure” won’t prevending this chatbot for answering. Further more, the more we use this AI Chatbot, it’s will be more intelligence as for more training set in it’s database! It’s so cool right?

Building Chatbot

1. Setup LINE Developers

2. เชื่อม LINE กับ Dialogflow

3. Setup Dialogflow

4. LINE BOT DESIGNER

Setup LINE Developers

  1. เข้าไปที่ https://developers.line.biz/
https://developers.line.biz/

2. Login ด้วย LINE Account ที่ใช้อยู่ หรือสร้าง account Line ใหม่ แนะนำให้สร้างใหม่เมื่อมีการใช้งานจำนวนมาก Line จะคิดค่าบริการเพิ่มเติม

3. Create Provider YAYA

4. ใส่ข้อมูล Channel icon, Channel name, Channel description, Category, Subcategory, Email address,App types เลือกทั้ง Web app, Mobile app

5. Create Channel เพื่อสร้างช่องทางสื่อสาร ซึ่งในที่นี้ก็จะเปรียบเสมือน LINE@ ของ Bot ที่เราสร้างไว้เพื่อโต้ตอบกับผู้ใช้ เลือก Create a Messaging API channel

6. จากนั้นเราก็ใส่ข้อมูลของ Channel นี้เข้าไปดังนี้

Channel type : เป็น Messaging API

Provider: YAYA

Channel icon: ใส่ภาพ profile

Channel name:YAYA

Channel description: Phuket Travel Guide

Category/Subcategory: การท่องเที่ยว/บริการท่องเที่ยว

Email Address: Email

Privacy Policy URL: นโยบายความเป็นส่วนตัว (เว้นว่างได้)

Terms Of Use URL: เงื่อนไขการใช้บริการ (เว้นว่างได้)

7. จากนั้นกด Confirm จะพบกับ popup “ข้อตกลงเกี่ยวกับการใช้ข้อมูล” อ่านทำความเข้าใจและกด “ยอมรับ”

เชื่อม LINE กับ Dialogflow

1. สร้าง Channel access token คลิก ->Messaging API ->issue

3 สร้าง Webhooks

Webhook URL -> Edit -> Enabled->นำ URL จาก Dialogflow มาใส่

Setup Dialogflow

--

--

No responses yet