- Text — default workflow chat step content
- Flex Message — rich layouts via trigger overrides
- Image — image messages via trigger overrides
- Sticker — sticker messages via trigger overrides
Configure a LINE Messaging API channel
Before connecting LINE in Novu, create a Messaging API channel in the LINE Developers Console and issue a Channel Access Token.Open the LINE Developers Console
Go to the LINE Developers Console and sign in.
Create a provider and channel
Create a provider (if you do not have one), then create a Messaging API channel for your LINE Official Account.
Issue a Channel Access Token
Open your channel, go to the Messaging API tab, and issue a Channel access token (long-lived). Copy the token — you will paste it into Novu.
Enable webhooks (recommended)
On the same tab, enable Use webhook if you plan to capture subscriber LINE user IDs from follow or message events. Set the webhook URL to your backend endpoint that creates
line_user channel endpoints in Novu.See LINE’s docs on getting user IDs for details.Push messages can only be delivered to users who have added your LINE Official Account as a friend.
Configure LINE integration in Novu
Connect subscribers
Each subscriber needs a LINE user ID (for example,U1234567890abcdef) so Novu knows where to deliver messages. Create a line_user channel endpoint for the subscriber using the channel endpoints API.
- Node.js
- cURL
Push messages can only be delivered to users who have added your LINE Official Account as a friend. Capture the LINE user ID from follow or message webhook events, then register it as a
line_user channel endpoint.Send notifications
Create a workflow with a Chat step, add your message content, and trigger the workflow for a subscriber that has aline_user channel endpoint configured.
Rich message types
Passflex, image, or sticker under overrides.chat when triggering a workflow. When present, Novu sends that message type instead of plain text.
- Sticker
- Image
- Flex Message
Image URLs must be direct HTTPS links to JPEG or PNG files. Redirects and unsupported formats may cause delivery failures. See LINE’s message types documentation for payload requirements.