Dashboard
Start Here
This dashboard controls your local LINE OA bot server. For a first test, confirm LINE settings, keep Vehicle API mock mode on, approve your LINE user, add one vehicle permission, then try the Test Console or your real LINE chat.
- Use Server Settings to confirm your public webhook URL.
- Use LINE Settings to save your channel token and secret.
- Use Users & Permissions to approve who can check which plate.
- Use Test Console to simulate messages before using real LINE.
LINE Settings
Connect this local bot server to your LINE Official Account. Get the Channel Access Token and Channel Secret from LINE Developers. The webhook URL shown here is the one to paste into LINE Developers.
Use in LINE OA: https://ma0bot.com/webhook/line
Server Settings
Controls how this app runs locally and how LINE reaches it through Cloudflare Tunnel. Cloudflare should route to http://localhost:3000; LINE should call the webhook URL shown below.
Vehicle API Settings
Choose how the bot looks up vehicle location: mock data for testing, the real API later, or Playwright browser automation as a temporary bridge. The LINE flow stays the same while you switch providers here.
Bot Flow Settings
Edit the wording the bot sends, the labels shown on LINE buttons, and the typed messages that trigger each action. Button labels also work when typed manually. For trigger fields, separate extra phrases with commas, for example Check Vehicle Location, location, รถอยู่ไหน.
Keep {{plate}} in the confirm plate message so the selected license plate appears in the reply.
Users & Permissions
Unknown LINE users are created as pending. Set a user to active before they can check vehicles. Customer ID is assigned manually here by you; later it can come from your CRM/customer system or Vehicle API if you connect one.
Use strict permission mode when each customer should only see specific plates. Use allow-all mode when every active user may check any vehicle.
Permission Settings
Users
Vehicle Permissions
Active Sessions
Shows where each user is in the guided flow. If someone gets stuck, click Clear to reset them back to the main menu. Sessions automatically expire after 10 minutes of inactivity.
Logs
Use this page to audit webhook events, user messages, permission checks, Vehicle API calls, and LINE replies. Filter by user, plate, result, or action, then export CSV when needed.
Test Console
Simulate a LINE user without opening LINE. Use the same LINE user ID that exists in Users & Permissions, then send messages like Check Vehicle Location, 1 กก-1234, and Confirm.