line.json•2.37 kB
{
"nodeType": "n8n-nodes-base.line",
"displayName": "Line",
"description": "Consume Line API",
"version": 1,
"properties": [
{
"name": "message",
"displayName": "Message",
"type": "string",
"default": "",
"required": true,
"displayOptions": {
"show": {
"operation": [
"send"
],
"resource": [
"notification"
]
}
}
},
{
"name": "additionalFields",
"displayName": "Additional Fields",
"type": "collection",
"default": {},
"description": "HTTP/HTTPS URL. Maximum size of 2048×2048px JPEG.",
"placeholder": "Add Field",
"displayOptions": {
"show": {
"operation": [
"send"
],
"resource": [
"notification"
]
}
}
},
{
"name": "operation",
"displayName": "Operation",
"type": "options",
"default": "send",
"description": "Sends notifications to users or groups",
"options": [
{
"name": "Send",
"value": "send",
"description": "Sends notifications to users or groups"
}
],
"displayOptions": {
"show": {
"resource": [
"notification"
]
}
}
},
{
"name": "notice",
"displayName": "End of service: LINE Notify will be discontinued from April 1st 2025, You can find more information <a href=\"https://notify-bot.line.me/closing-announce\" target=\"_blank\">here</a>",
"type": "notice",
"default": ""
},
{
"name": "resource",
"displayName": "Resource",
"type": "options",
"default": "notification",
"options": [
{
"name": "Notification",
"value": "notification"
}
]
}
],
"credentialsConfig": [
{
"name": "lineNotifyOAuth2Api",
"required": true
},
{
"name": "notice",
"required": false
}
],
"io": {
"inputs": [
"Main"
],
"outputs": [
"Main"
],
"outputNames": [],
"hints": {}
},
"wiring": {
"role": "generic",
"requires": [],
"optional": [],
"consumedBy": [],
"consumes": [
"Main"
],
"produces": [
"Main"
]
}
}