Skip to content
For LLMsView as Markdown·

LINE

Send messages, manage rich menus, and interact with LINE users.

DetailValue
CategorySocial Media
Base URLhttps://api.line.me/v2
AuthenticationBearer Token
Endpoints5
Connector keyline

Using LINE in a workflow

  1. Go to Connections and click New Connection.
  2. Pick LINE from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown — the full list is below.

Available endpoints

EndpointSummary
POST /bot/message/pushSend a push message
POST /bot/message/replyReply to a message
POST /bot/message/broadcastBroadcast to all followers
GET /bot/profile/{userId}Get user profile
GET /bot/richmenuList rich menus

Each endpoint is documented in full below. Use the outline on the right to jump to one.

POST /bot/message/push

Send a push message

DetailValue
Operation IDsocial.pushMessage
MethodPOST
Path/bot/message/push

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your LINE connection from the Connection dropdown.
  3. In the Operation dropdown, select social.pushMessage.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream LINE API reference.

POST /bot/message/reply

Reply to a message

DetailValue
Operation IDsocial.replyMessage
MethodPOST
Path/bot/message/reply

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your LINE connection from the Connection dropdown.
  3. In the Operation dropdown, select social.replyMessage.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream LINE API reference.

POST /bot/message/broadcast

Broadcast to all followers

DetailValue
Operation IDsocial.broadcast
MethodPOST
Path/bot/message/broadcast

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your LINE connection from the Connection dropdown.
  3. In the Operation dropdown, select social.broadcast.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream LINE API reference.

GET /bot/profile/{userId}

Get user profile

DetailValue
Operation IDsocial.getProfile
MethodGET
Path/bot/profile/{userId}

Parameters

NameLocationTypeRequired
userIdpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your LINE connection from the Connection dropdown.
  3. In the Operation dropdown, select social.getProfile.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream LINE API reference.

GET /bot/richmenu

List rich menus

DetailValue
Operation IDsocial.listRichMenus
MethodGET
Path/bot/richmenu

Parameters

No parameters.

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your LINE connection from the Connection dropdown.
  3. In the Operation dropdown, select social.listRichMenus.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream LINE API reference.