Skip to main content
LINE is the dominant messaging platform across Japan, Taiwan, Thailand, and Indonesia. profClaw integrates via the LINE Messaging API for bot interactions.

Capabilities

FeatureSupported
1:1 messagesYes
Group messagesYes
Quick reply buttonsYes
Flex messagesYes
File/image sendYes
WebhookYes
Channel accessYes

Setup

1

Create a LINE Developers account

2

Create a Messaging API channel

Create a new provider and channel. Choose Messaging API as the channel type.
3

Get credentials

Under Messaging API tab:
  • Channel access token (long-lived)
  • Channel secret
4

Set webhook URL

Under Messaging API > Webhook settings, set: https://your-domain.com/webhooks/lineEnable Use webhook.
5

Configure profClaw

LINE_CHANNEL_ACCESS_TOKEN=your-channel-access-token
LINE_CHANNEL_SECRET=your-channel-secret

Environment Variables

LINE_CHANNEL_ACCESS_TOKEN
string
required
LINE Messaging API channel access token (long-lived).
LINE_CHANNEL_SECRET
string
required
Channel secret for webhook signature verification.
LINE_WEBHOOK_URL
string
Webhook URL. Required to be set in LINE Developer Console.

Configuration Example

LINE_CHANNEL_ACCESS_TOKEN=xxxxxxxxxxxxxxxxxxx
LINE_CHANNEL_SECRET=abcdef1234567890

Flex Messages

profClaw can send LINE Flex Messages for rich layouts:
{
  "type": "flex",
  "altText": "Task completed",
  "contents": {
    "type": "bubble",
    "body": {
      "type": "box",
      "layout": "vertical",
      "contents": [
        { "type": "text", "text": "Result", "weight": "bold" }
      ]
    }
  }
}

Notes

  • Status: Beta
  • LINE requires a public HTTPS webhook URL.
  • LINE’s free tier allows 500 messages/month. Paid plans remove the limit.
  • The webhook URL must be verified in the LINE Developer Console.
  • LINE’s Messaging API uses POST webhooks - profClaw verifies the X-Line-Signature header.