Prerequisites
- LINE Official Account (previously LINE@ account)
- LINE Developers account
- LINE Messaging API access
Setup
Create LINE Official Account
- Go to LINE Official Account Manager
- Create a new Official Account
- Verify your account
Enable Messaging API
- In LINE Official Account settings
- Go to Settings → Messaging API
- Click Enable Messaging API
- Create a LINE Developers channel
Get API credentials
From LINE Developers Console:
- Go to your Messaging API channel
- Copy Channel ID
- Copy Channel Secret
- Issue a Channel Access Token (long-lived)
Configure webhook
- Copy the webhook URL from Chatwoot
- In LINE Developers Console, go to Messaging API tab
- Set Webhook URL to the Chatwoot URL
- Enable Use webhook
- Verify the webhook
Disable auto-reply (important)
In LINE Official Account Manager:
- Go to Settings → Response settings
- Disable Auto-response messages
- Disable Greeting messages (or Chatwoot won’t receive them)
- Enable Webhooks
Features
- Real-time messaging - Instant two-way communication
- Rich messages - Text, images, videos, audio, stickers
- Template messages - Buttons, carousels, confirmations
- Quick replies - Suggested response buttons
- Rich menus - Custom menu at bottom of chat
- Flex messages - Custom layouts and designs
- Location sharing - Send and receive locations
- File sharing - Send and receive files
Message Types
Text Messages
Standard text messages with emoji support.Rich Messages
Images with tappable areas that link to URLs:Template Messages
Buttons Template
Carousel Template
Quick Replies
Suggested response buttons:Configuration Options
Channel ID from LINE Developers Console
Channel Secret for webhook verification
Long-lived Channel Access Token
Rich Menu
Create custom menu at bottom of LINE chat:- Design menu image (2500x1686px or 2500x843px)
- Upload to LINE Developers Console
- Configure tap areas and actions
- Link menu to your Official Account
Best Practices
Disable LINE auto-replies to avoid conflicts
Use template messages for better engagement
Add quick replies to guide conversations
Set up rich menu for easy navigation
Use stickers sparingly (can be fun but unprofessional)
Monitor message delivery status
Keep messages concise (LINE users expect quick responses)
Troubleshooting
Messages not arriving in Chatwoot
Messages not arriving in Chatwoot
- Verify webhook URL is correct
- Check webhook is enabled in LINE Developers Console
- Disable auto-response in LINE Official Account Manager
- Verify webhook token matches
- Test webhook with LINE webhook test tool
- Check Chatwoot logs for errors
Cannot send messages
Cannot send messages
- Verify Channel Access Token is valid
- Check token hasn’t expired (use long-lived token)
- Ensure user has added your Official Account
- Check account isn’t blocked or deleted
- Verify LINE API rate limits
Webhook verification fails
Webhook verification fails
- Check Channel Secret is correct
- Verify webhook URL is publicly accessible
- Ensure HTTPS is properly configured
- Check firewall allows LINE webhook IPs
Rich messages not displaying
Rich messages not displaying
- Verify JSON structure is correct
- Check image URLs are publicly accessible
- Ensure image dimensions meet LINE requirements
- Test rich message in LINE Simulator
LINE API Limits
Free Plan
- Messages: 500 free messages per month
- Additional messages: Paid (varies by country)
Messaging Limits
- Push messages: Rate limits based on account type
- Reply messages: Must reply within 30 seconds of webhook
- Multicast: Up to 500 recipients
File Size Limits
- Images: 10MB (JPEG, PNG)
- Videos: 200MB (MP4)
- Audio: 200MB (M4A, MP3)
- Files: 10MB

