LINE Notifications
Using the LINE Messaging API, you can send monitor incident notifications to LINE.
Prerequisites
Section titled “Prerequisites”-
Prepare a LINE Official Account and Messaging API channel
Follow the official LINE guide to enable the Messaging API for a LINE Official Account. Manako needs credentials for that Messaging API channel.
-
Issue a Channel Access Token
Issue a valid Channel Access Token for the Messaging API channel and store it securely. This is the value for Manako’s Channel Access Token field.
-
Obtain the target ID
Read
source.userId,source.groupId, orsource.roomIdfrom a Webhook event sent by the user, group, or room. This is the value for Manako’s Target ID field. -
Confirm the Bot can reach the target
For a user target, have the user add the LINE Official Account as a friend. For a group or room, add the Bot to that conversation.
Obtaining the Destination ID
Section titled “Obtaining the Destination ID”| Destination | ID Format | How to Obtain |
|---|---|---|
| User | U + 32-digit hex | source.userId from a Webhook event |
| Group | C + 32-digit hex | source.groupId from webhook events |
| Room | R + 32-digit hex | source.roomId from webhook events |
Manako Configuration
Section titled “Manako Configuration”- In the dashboard, open Settings > Integrations, then select Configure for LINE
- Enter a recognizable Name
- Enter the Channel Access Token and Target ID
- Select Add
After setup, LINE messages will be sent when a monitor detects an incident or recovers.
Notification Message Appearance
Section titled “Notification Message Appearance”Normal notifications are LINE Flex Messages with a status-colored header. Only the Test action sends a text message.
When an Incident Occurs
Section titled “When an Incident Occurs”| Section | Content |
|---|---|
| Header | 🔴 ダウン検知 (⚠️ 警告 for a warning) |
| Body | Monitor name, monitored URL when available, and ID: {Incident ID} |
| Footer | Manako |
When an Incident Recovers
Section titled “When an Incident Recovers”| Section | Content |
|---|---|
| Header | 🟢 復旧 (🟢 解決済み for a manual incident) |
| Body | Monitor name and ID: {Incident ID} |
| Footer | Manako |
Troubleshooting
Section titled “Troubleshooting”- The Target ID is rejected: Manako accepts
U,C, orRfollowed by 32 hexadecimal characters. A display name or LINE ID cannot be used. - The API fails or the message is not received: Check whether the Token expired or was revoked, whether the user is a friend, and whether the Bot belongs to the target group or room. LINE may return success even when a blocked user does not receive the message.
- A test arrives but normal notifications do not: When a monitor has channel links, only active linked channels are used. If links exist but all are disabled, Manako does not fall back to team-wide channels.
- Notifications stop during rapid state changes: After more than three state changes for the same monitor within 10 minutes, the flap guard suppresses subsequent notifications.
- Notifications appear duplicated: A sent record for the same incident, channel, and event type skips retries. Creation and recovery are separate events, while failed or pending sends are retried.
Test sends an actual LINE text message and has a 60-second cooldown after success. A failure on one channel does not stop delivery to other channels.
The flap guard and incident-level sent check apply to incident notifications. Maintenance notifications bypass both controls and go to active, verified team channels.