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
| Field | Type | Required | Description |
|---|---|---|---|
| To | Text | Yes | User ID or group ID to send message to |
| Message | Text | Yes | Text message to send |
Output
Later steps use this data by picking this step in the $ picker. For example, message is $.<step ID>.output.message.
{
"message": "string",
"response": {},
"success": false
}Example values show the shape of the data, not real values. See Using data from earlier steps.
Field descriptions
| Field | Type | Description |
|---|---|---|
message | Text | Status message about the operation |
response | Object | Response from LINE API |
success | Yes / No | Whether the message was sent successfully |
Get Profile
Get user profile information from LINE
Settings
| Field | Type | Required | Description |
|---|---|---|---|
| User ID | Text | Yes | User 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.
{
"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
| Field | Type | Description |
|---|---|---|
displayName | Text | User's display name |
language | Text | User's language |
pictureUrl | Text | URL of user's profile picture |
statusMessage | Text | User's status message |
userId | Text | User 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.
{
"consumption": "string",
"quota": "string"
}Example values show the shape of the data, not real values. See Using data from earlier steps.
Field descriptions
| Field | Type | Description |
|---|---|---|
consumption | Object | |
consumption.totalUsage | Number | Total usage count |
quota | Object | |
quota.type | Text | Type of quota |
quota.value | Number | Quota value |
Link Rich Menu
Link a rich menu to one or multiple users
Settings
| Field | Type | Required | Description |
|---|---|---|---|
| Rich Menu ID | Text | Yes | The rich menu ID to link |
| User IDs | Text | Yes | Comma-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.
{
"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
| Field | Type | Description |
|---|---|---|
mode | Text | single or bulk |
status | Number | |
success | Yes / No |