Skip to content

LINE ​

LINE Messaging API for sending messages and managing LINE Official Account

This node signs in with a credential: LINE Access Token. See Connect a credential.

Actions ​

Steps this node can perform. Add one from Add a step, then pick the action.

Send Message ​

Send a message to a user or group using LINE Messaging API

Settings

FieldTypeRequiredDescription
ToTextYesUser ID or group ID to send message to
MessageTextYesText message to send

Output

Later steps use this data by picking this step in the $ picker. For example, message is $.<step ID>.output.message.

json
{
  "message": "string",
  "response": {},
  "success": false
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
messageTextStatus message about the operation
responseObjectResponse from LINE API
successYes / NoWhether the message was sent successfully

Get Profile ​

Get user profile information from LINE

Settings

FieldTypeRequiredDescription
User IDTextYesUser ID to get profile for

Output

Later steps use this data by picking this step in the $ picker. For example, displayName is $.<step ID>.output.displayName.

json
{
  "displayName": "string",
  "language": "string",
  "pictureUrl": "string",
  "statusMessage": "string",
  "userId": "string"
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
displayNameTextUser's display name
languageTextUser's language
pictureUrlTextURL of user's profile picture
statusMessageTextUser's status message
userIdTextUser ID

Get Quota ​

Get message quota and consumption information

Settings

No settings.

Output

Later steps use this data by picking this step in the $ picker. For example, consumption is $.<step ID>.output.consumption.

json
{
  "consumption": "string",
  "quota": "string"
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
consumptionObject
consumption.totalUsageNumberTotal usage count
quotaObject
quota.typeTextType of quota
quota.valueNumberQuota value

Link a rich menu to one or multiple users

Settings

FieldTypeRequiredDescription
Rich Menu IDTextYesThe rich menu ID to link
User IDsTextYesComma-separated LINE user IDs. One ID uses per-user API; multiple IDs uses bulk API.

Output

Later steps use this data by picking this step in the $ picker. For example, mode is $.<step ID>.output.mode.

json
{
  "mode": "string",
  "status": 0,
  "success": false
}

Example values show the shape of the data, not real values. See Using data from earlier steps.

Field descriptions
FieldTypeDescription
modeTextsingle or bulk
statusNumber
successYes / No