line-oa
Operate LINE Official Account Manager (chat.line.biz) via browser automation. Use when asked to check LINE messages, reply to LINE customers, or manage LINE OA chat interface.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/picseeinc/line-oaLINE Official Account Manager
⚠️ CRITICAL: Always use profile:"openclaw" (isolated browser) for all browser actions. Never use Chrome relay. Keep the same targetId across operations to avoid losing the tab.
⚠️ CONTEXT Management:
- Snapshot results are large. Do NOT repeat them in thinking.
- Extract needed info and process immediately. Do not re-describe the entire snapshot.
- Preferred approach: Use
snapshot refs:"aria" compact:trueto find element refs, thenact+click/typewith ref. - Avoid: Hard-coded
evaluatewithtextContent.includes()— unreliable due to DOM timing and structure variations.
⚠️ AUTO-LOGIN SCRIPTS:
auto-login.mjsis a reference implementation (not directly executable by agents)login-flow.mdis the agent-executable version (use this for automation)- Why separate? Agents use browser tool calls, not Node module imports
Configuration
Before first use, check if config.json exists:
read file_path:"skills/line-oa/config.json"
⚠️ PATH RULE: Always use workspace-relative paths starting from skills/line-oa/. Never use ../ or absolute paths starting with /.
If missing, help the user run the following command to start the setup wizard:
cd skills/line-oa
node scripts/setup.js
Enter LINE OA Manager
This is the first step for all operations below.
-
Check and start browser service:
browser action:"status"If
"running": false, start the browser service:browser action:"start" profile:"openclaw"Wait 2-3 seconds for the service to initialize.
-
Read config to get chatUrl:
read file_path:"skills/line-oa/config.json"Extract
chatUrlfrom the JSON (e.g.,https://chat.line.biz/U1234567890abcdef1234567890abcdef/). -
Open browser:
browser action:"open" profile:"openclaw" targetUrl:"<chatUrl>"Capture
targetIdandurlfrom response. -
Wait for page load:
browser action:"act" profile:"openclaw" targetId:"<targetId>" request:{"kind":"wait","timeMs":2000} -
Check current URL:
browser action:"act" profile:"openclaw" targetId:"<targetId>" request:{"kind":"evaluate","fn":"function(){return window.location.href;}"}Key result: If the current URL matches
chatUrl, you have successfully logged in! Go to step 5, else proceed to troubleshooting.Troubleshooting
If you see the login page (the URL redirects to
account.line.biz), use these automation scripts:a. Click LINE Account button:
read file_path:"skills/line-oa/scripts/click-line-account.js"Execute the script directly:
browser action:"act" profile:"openclaw" targetId:"<targetId>" request:{"kind":"evaluate","fn":"<script_content>"}Wait 2 seconds.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-picseeinc-line-oa": {
"enabled": true,
"auto_update": true
}
}
}