Others · OTC-15

LINE Chatbot Development with Dialogflow

LINE Chatbot Development with Dialogflow is a course in building chatbots on LINE Official Account that understand Thai messages with Dialogflow intents and entities, connect through the LINE Messaging API, send Flex Messages and pull data from Firestore or Google Sheets through fulfillment. It suits developers, business owners and customer service teams who run a LINE channel.

Updated
From 5,850 THB / person 6,500 −10% excl. VAT 7% · group rates available
PDFDownload the course outline
  • Duration12 hours · 2 days
  • FormatOnsite / live online
  • Next roundOn request
  • CertificateIncluded

Course overview

LINE is the main channel Thai customers use to contact businesses, so a chatbot on a LINE Official Account can answer repeated questions, collect details and hand work on at any time. Google's Dialogflow helps a bot understand Thai messages written in many different ways through intents and entities, without hand-writing a rule for every case, and connects to back-end data through fulfillment.

This course starts by creating a LINE Messaging API channel and a Dialogflow ES agent, then designs intents, entities, parameters and contexts for Thai conversations. Learners connect the agent to LINE both through the built-in integration and through their own Node.js webhook, send Flex Messages and quick replies, build fulfillment that reads data from Firestore and Google Sheets, and get to know Conversational Agents (Dialogflow CX) for more complex work, finishing with a product enquiry chatbot workshop. (2 days, 6 hours per day, 12 hours in total, Beginner level.)

What you’ll gain

  • Create and configure a LINE Messaging API channel and webhook
  • Build a Dialogflow ES agent with intents, entities, parameters and contexts
  • Connect Dialogflow to LINE through the built-in integration and your own webhook
  • Send Flex Messages and quick replies
  • Build fulfillment that reads data from Firestore and Google Sheets
  • Explain how Dialogflow ES and Conversational Agents differ and choose the right one for the job

Who this course is for

  • Developers who want to build chatbots on LINE Official Account
  • Business owners and customer service teams who want to cut down repetitive replies
  • Marketing and IT teams who manage an organisation's LINE channel
  • Anyone interested in starting to build chatbots

Prerequisites

  • Comfortable using a computer, the internet and the LINE app
  • No programming is required, though some JavaScript makes the webhook labs easier
  • Your own LINE account and Google account
  • A laptop that can run the Node.js LTS release and VS Code

Curriculum

Course Details

This course is the 2026 edition of LINE Chatbot Development with Dialogflow. It runs for 2 days, 6 hours per day (12 hours in total, 09:00-16:00), as lectures with labs. Beginner level. This edition keeps Dialogflow ES at its core, because it is still fully available and offers a no-cost Trial Edition, and adds Conversational Agents (the new name for Dialogflow CX), which Google recommends for complex bots. It adds writing your

own webhook with Node.js and the current @line/bot-sdk, sending Flex Messages and quick replies, and reading data from Firestore and Google Sheets. Learners use their own LINE Official Account and Google Cloud accounts; some services need a billing account and are charged by usage. This course differs from LINE AI Chatbot with Gemini and ChatGPT, which answers with an LLM directly. Learners take home a lab guide, sample agent files and webhook source code.

Day 1 LINE Messaging API and Dialogflow Basics

Section 1: An Overview of the LINE Messaging API

  • What LINE Official Account and the Messaging API can do
  • Webhook events and message types
  • Reply and push messages, and message quotas by LINE OA plan
  • Examples of chatbots used by Thai businesses

Section 2: Lab: Setting Up Your Tools

  • Install VS Code, the Node.js LTS release and Git
  • Sign up for GitHub and prepare a Google account
  • Sign in to the LINE Developers Console
  • Lab: check that your machine and accounts are ready

Section 3: Lab: Creating a LINE Official Account and Channel

  • Create a provider and a Messaging API channel
  • Set up responses, the greeting message and the channel access token
  • Design messages with the Flex Message Simulator
  • Lab: add the bot as a friend and test a first message

Section 4: Introducing Dialogflow

  • Rule-based, NLU and LLM chatbots
  • How Dialogflow ES and Conversational Agents (Dialogflow CX) differ
  • Editions and costs to know before you start
  • Lab: create a first agent that supports Thai

Section 5: Lab: Intents, Entities and Parameters

  • Intents and training phrases that cover many ways of asking
  • System entities and custom entities with synonyms
  • Extract parameters and use slot filling to ask for missing details
  • Lab: a booking bot that asks for the date and number of people

Section 6: Lab: Contexts and Conversation Design

  • Input contexts and output contexts
  • Follow-up intents and reading values from earlier intents
  • Fallback intents and replies when the bot does not understand
  • Lab: test and refine the conversation with real messages
Day 2 Connecting LINE, Fulfillment and a Workshop

Section 7: Lab: Connecting Dialogflow to LINE

  • Enable the Dialogflow ES LINE integration
  • Reply with a custom payload for LINE
  • Send Flex Messages, images and quick replies
  • Lab: a static chatbot that replies with well-designed messages

Section 8: Lab: Your Own Webhook with Node.js

  • When to write your own webhook instead of the built-in integration
  • Receive events with @line/bot-sdk and verify signatures
  • Send messages to Dialogflow with detectIntent and reply
  • Lab: expose a local webhook with ngrok and test it with LINE

Section 9: Lab: Fulfillment for Back-End Systems

  • What fulfillment is, and its request and response format
  • The inline editor versus your own webhook service
  • Read and write data in Firestore
  • Lab: a bot that checks order status from a database

Section 10: Workshop: Reading Data from Google Sheets

  • Prepare Google Sheets or a CSV file as a data source
  • Write Google Apps Script to search data and return JSON
  • Deploy Apps Script as a web app and call it from fulfillment
  • Workshop: look up product prices and stock through LINE

Section 11: Conversational Agents (Dialogflow CX)

  • How flows, pages and state handlers differ from ES intents
  • Playbooks, generators and data stores powered by LLMs
  • LINE and webhook integration in Conversational Agents
  • Criteria for deciding when to move from ES

Section 12: Workshop: A Product Enquiry Chatbot

  • Design the conversation and a rich menu so users find information quickly
  • Hand over to an admin when the bot cannot answer
  • Test, improve training phrases and review history
  • PDPA considerations and storing customer data

Schedule & training options

For individuals — public rounds

No public rounds are open right now. Join the waiting list and we will contact you first when the next round opens, or ask us on LINE. Or call 02-570-8449 or 088-807-9770

For organisations — in-house / private

  • Tailor the content to your team’s tools and projects
  • Your dates, at your office or live online
  • Quotation with tax ID for procurement
Corporate training quote

Instructors

Frequently asked questions

What are intents and parameters in Dialogflow?

An intent is what the user wants, such as asking a price or booking a slot. You add many training phrases to teach the bot which messages mean that intent. Parameters are values extracted from the message using entities, such as a date, product name or quantity. If details are missing, slot filling makes the bot ask until it has what it needs, and contexts carry values on to the next question.

How do you connect Dialogflow to a LINE Official Account?

There are two ways. The first is to create a Messaging API channel in the LINE Developers Console, enter its channel ID, channel secret and channel access token in Dialogflow's Integrations menu, then copy the webhook URL back into LINE and enable the webhook. The second is to write your own webhook with Node.js and @line/bot-sdk and pass messages to Dialogflow with detectIntent, which gives more control over replies.

What is fulfillment used for in Dialogflow?

Fulfillment is used when the bot must reply with data that changes with the real system, such as checking an order, looking up a price or saving a booking. When an intent with fulfillment enabled is matched, Dialogflow sends a request with the parameters to your webhook. Your code reads or writes data, for example in Firestore or Google Sheets, and returns the reply. You can write it in the inline editor or as your own webhook service.

How do Dialogflow ES and Conversational Agents (Dialogflow CX) differ, and which should I use?

Dialogflow ES designs conversations with intents and contexts and suits small to medium bots. It is still fully available and has a no-cost Trial Edition. Conversational Agents, the new name for Dialogflow CX, uses flows and pages as a state machine for complex conversations and adds LLM-powered playbooks and generators, but is charged by usage. Google suggests considering CX as bots grow more complex. This course starts with ES and gives an overview of CX so you can decide.

Who is the LINE Chatbot Development with Dialogflow course for, and what should I know beforehand?

It suits developers who want to build chatbots on LINE OA, business owners and customer service teams who want fewer repetitive replies, marketing and IT teams who manage a LINE channel, and anyone interested. You do not need to program, since most work happens in the Dialogflow console, though some JavaScript makes the webhook labs easier.

What do I need to prepare for LINE Chatbot Development with Dialogflow?

Bring a laptop that can run the Node.js LTS release, VS Code and Git, a smartphone with the LINE app, and your own LINE and Google accounts. A free LINE Official Account plan and the Dialogflow ES Trial Edition cover most labs, but some topics, such as Conversational Agents or fulfillment running on Google Cloud, need the learner's own billing account and are charged by usage.

Related articles

Articles are published in Thai.