mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
650 lines
14 KiB
JSON
650 lines
14 KiB
JSON
{
|
|
"createdAt": "2021-04-30T08:31:10.410Z",
|
|
"updatedAt": "2021-04-30T08:46:44.441Z",
|
|
"id": "192",
|
|
"name": "Mattermost:Channel:create addUser members statistics delete restore:Message:post postEphemeral delete:Reaction:create getAll delete:User:create getById getByEmail getAll invite deactive",
|
|
"active": false,
|
|
"nodes": [
|
|
{
|
|
"parameters": {},
|
|
"name": "Start",
|
|
"type": "n8n-nodes-base.start",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
250,
|
|
300
|
|
],
|
|
"id": "f0a6807e-f707-401a-a50c-7ef643be9447"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"resource": "channel",
|
|
"teamId": "y1p853gfspdrxre5oextbii7wh",
|
|
"displayName": "=TestChannel{{Date.now()}}",
|
|
"channel": "=testchannel{{Date.now()}}"
|
|
},
|
|
"name": "Mattermost",
|
|
"type": "n8n-nodes-base.mattermost",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
430,
|
|
300
|
|
],
|
|
"credentials": {
|
|
"mattermostApi": {
|
|
"id": "155",
|
|
"name": "Mattermost API creds"
|
|
}
|
|
},
|
|
"id": "adeecdf6-f6ea-4065-b1ec-6273ed507467"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"resource": "channel",
|
|
"operation": "addUser",
|
|
"channelId": "={{$node[\"Mattermost\"].json[\"id\"]}}",
|
|
"userId": "4yp7tpa3sbgk9qrf38egttbioo"
|
|
},
|
|
"name": "Mattermost1",
|
|
"type": "n8n-nodes-base.mattermost",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
580,
|
|
300
|
|
],
|
|
"credentials": {
|
|
"mattermostApi": {
|
|
"id": "155",
|
|
"name": "Mattermost API creds"
|
|
}
|
|
},
|
|
"id": "85887926-1b04-4ed2-a6d5-0627fb9e408f"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"resource": "channel",
|
|
"operation": "members",
|
|
"teamId": "y1p853gfspdrxre5oextbii7wh",
|
|
"channelId": "={{$node[\"Mattermost\"].json[\"id\"]}}",
|
|
"returnAll": false,
|
|
"limit": 1
|
|
},
|
|
"name": "Mattermost2",
|
|
"type": "n8n-nodes-base.mattermost",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
1650,
|
|
300
|
|
],
|
|
"credentials": {
|
|
"mattermostApi": {
|
|
"id": "155",
|
|
"name": "Mattermost API creds"
|
|
}
|
|
},
|
|
"id": "ad9c7a0c-ff3c-4538-a243-81316472e888"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"resource": "channel",
|
|
"operation": "statistics",
|
|
"channelId": "={{$node[\"Mattermost\"].json[\"id\"]}}"
|
|
},
|
|
"name": "Mattermost3",
|
|
"type": "n8n-nodes-base.mattermost",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
1800,
|
|
300
|
|
],
|
|
"credentials": {
|
|
"mattermostApi": {
|
|
"id": "155",
|
|
"name": "Mattermost API creds"
|
|
}
|
|
},
|
|
"id": "724755bb-157b-43cf-8153-d0ff0a00bb26"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"resource": "channel",
|
|
"operation": "delete",
|
|
"channelId": "={{$node[\"Mattermost\"].json[\"id\"]}}"
|
|
},
|
|
"name": "Mattermost4",
|
|
"type": "n8n-nodes-base.mattermost",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
1950,
|
|
300
|
|
],
|
|
"credentials": {
|
|
"mattermostApi": {
|
|
"id": "155",
|
|
"name": "Mattermost API creds"
|
|
}
|
|
},
|
|
"id": "474eb599-04f2-4e43-a472-b6fd4e94d97e"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"resource": "channel",
|
|
"operation": "restore",
|
|
"channelId": "={{$node[\"Mattermost\"].json[\"id\"]}}"
|
|
},
|
|
"name": "Mattermost5",
|
|
"type": "n8n-nodes-base.mattermost",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
2100,
|
|
300
|
|
],
|
|
"credentials": {
|
|
"mattermostApi": {
|
|
"id": "155",
|
|
"name": "Mattermost API creds"
|
|
}
|
|
},
|
|
"id": "46fb131b-3338-4e49-a9f8-85130fe56e17"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"resource": "channel",
|
|
"operation": "delete",
|
|
"channelId": "={{$node[\"Mattermost\"].json[\"id\"]}}"
|
|
},
|
|
"name": "Mattermost6",
|
|
"type": "n8n-nodes-base.mattermost",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
2240,
|
|
190
|
|
],
|
|
"credentials": {
|
|
"mattermostApi": {
|
|
"id": "155",
|
|
"name": "Mattermost API creds"
|
|
}
|
|
},
|
|
"id": "10595228-5484-4c14-bbb2-429a52a5d2c9"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"channelId": "={{$node[\"Mattermost\"].json[\"id\"]}}",
|
|
"message": "=Message{{Date.now()}}",
|
|
"attachments": [],
|
|
"otherOptions": {}
|
|
},
|
|
"name": "Mattermost7",
|
|
"type": "n8n-nodes-base.mattermost",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
730,
|
|
450
|
|
],
|
|
"credentials": {
|
|
"mattermostApi": {
|
|
"id": "155",
|
|
"name": "Mattermost API creds"
|
|
}
|
|
},
|
|
"id": "a48c3b43-1402-40cd-ad28-dfa306c1e17c"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"operation": "postEphemeral",
|
|
"userId": "4yp7tpa3sbgk9qrf38egttbioo",
|
|
"channelId": "={{$node[\"Mattermost\"].json[\"id\"]}}",
|
|
"message": "=EpheMessage{{Date.now()}}"
|
|
},
|
|
"name": "Mattermost8",
|
|
"type": "n8n-nodes-base.mattermost",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
900,
|
|
450
|
|
],
|
|
"credentials": {
|
|
"mattermostApi": {
|
|
"id": "155",
|
|
"name": "Mattermost API creds"
|
|
}
|
|
},
|
|
"id": "84efb0d3-0dd2-4942-b188-3e4bf1e258b3"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"operation": "delete",
|
|
"postId": "={{$node[\"Mattermost7\"].json[\"id\"]}}"
|
|
},
|
|
"name": "Mattermost9",
|
|
"type": "n8n-nodes-base.mattermost",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
1500,
|
|
450
|
|
],
|
|
"credentials": {
|
|
"mattermostApi": {
|
|
"id": "155",
|
|
"name": "Mattermost API creds"
|
|
}
|
|
},
|
|
"id": "d1a5ed6b-2eaf-434c-9bac-de823f6112c6"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"resource": "reaction",
|
|
"userId": "fo4frgcntiy6jfc63wor76kxpy",
|
|
"postId": "={{$node[\"Mattermost7\"].json[\"id\"]}}",
|
|
"emojiName": "rocket"
|
|
},
|
|
"name": "Mattermost10",
|
|
"type": "n8n-nodes-base.mattermost",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
1050,
|
|
550
|
|
],
|
|
"credentials": {
|
|
"mattermostApi": {
|
|
"id": "155",
|
|
"name": "Mattermost API creds"
|
|
}
|
|
},
|
|
"id": "5b0cedd2-5bfd-4a46-ae99-7eecfb3ab70b"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"resource": "reaction",
|
|
"operation": "getAll",
|
|
"postId": "={{$node[\"Mattermost7\"].json[\"id\"]}}",
|
|
"returnAll": false,
|
|
"limit": 1
|
|
},
|
|
"name": "Mattermost11",
|
|
"type": "n8n-nodes-base.mattermost",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
1200,
|
|
550
|
|
],
|
|
"credentials": {
|
|
"mattermostApi": {
|
|
"id": "155",
|
|
"name": "Mattermost API creds"
|
|
}
|
|
},
|
|
"id": "345bbd7e-f443-45be-bec2-016b0aa64758"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"resource": "reaction",
|
|
"operation": "delete",
|
|
"userId": "fo4frgcntiy6jfc63wor76kxpy",
|
|
"postId": "={{$node[\"Mattermost7\"].json[\"id\"]}}",
|
|
"emojiName": "rocket"
|
|
},
|
|
"name": "Mattermost12",
|
|
"type": "n8n-nodes-base.mattermost",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
1350,
|
|
550
|
|
],
|
|
"credentials": {
|
|
"mattermostApi": {
|
|
"id": "155",
|
|
"name": "Mattermost API creds"
|
|
}
|
|
},
|
|
"id": "e3e339f3-5aae-4b43-b227-aa1ee65700fb"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"resource": "user",
|
|
"operation": "create",
|
|
"username": "=Username{{Date.now()}}",
|
|
"authService": "email",
|
|
"email": "=fake{{Date.now()}}@test.com",
|
|
"password": "=a{{Math.round(Math.random()*1000000)}}z",
|
|
"additionalFields": {}
|
|
},
|
|
"name": "Mattermost13",
|
|
"type": "n8n-nodes-base.mattermost",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
440,
|
|
150
|
|
],
|
|
"credentials": {
|
|
"mattermostApi": {
|
|
"id": "155",
|
|
"name": "Mattermost API creds"
|
|
}
|
|
},
|
|
"id": "bd6fa681-3999-4bee-ab30-29ab39bc0a67"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"resource": "user",
|
|
"operation": "getById",
|
|
"userIds": "={{$node[\"Mattermost13\"].json[\"id\"]}}",
|
|
"additionalFields": {}
|
|
},
|
|
"name": "Mattermost14",
|
|
"type": "n8n-nodes-base.mattermost",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
600,
|
|
150
|
|
],
|
|
"credentials": {
|
|
"mattermostApi": {
|
|
"id": "155",
|
|
"name": "Mattermost API creds"
|
|
}
|
|
},
|
|
"id": "5cd54641-5d32-48a7-97c8-8bd5f7cdd22e"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"resource": "user",
|
|
"operation": "getByEmail",
|
|
"email": "={{$node[\"Mattermost13\"].json[\"email\"]}}"
|
|
},
|
|
"name": "Mattermost15",
|
|
"type": "n8n-nodes-base.mattermost",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
750,
|
|
150
|
|
],
|
|
"credentials": {
|
|
"mattermostApi": {
|
|
"id": "155",
|
|
"name": "Mattermost API creds"
|
|
}
|
|
},
|
|
"id": "239a7d42-4b04-401a-a4f2-8818d904e223"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"resource": "user",
|
|
"operation": "getAll",
|
|
"returnAll": false,
|
|
"limit": 1,
|
|
"additionalFields": {}
|
|
},
|
|
"name": "Mattermost16",
|
|
"type": "n8n-nodes-base.mattermost",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
900,
|
|
150
|
|
],
|
|
"credentials": {
|
|
"mattermostApi": {
|
|
"id": "155",
|
|
"name": "Mattermost API creds"
|
|
}
|
|
},
|
|
"id": "438a00e9-77fb-4d53-903f-3e67c5a3e8d8"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"resource": "user",
|
|
"operation": "invite",
|
|
"teamId": "y1p853gfspdrxre5oextbii7wh",
|
|
"emails": "={{$node[\"Mattermost13\"].json[\"email\"]}}"
|
|
},
|
|
"name": "Mattermost17",
|
|
"type": "n8n-nodes-base.mattermost",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
1050,
|
|
150
|
|
],
|
|
"credentials": {
|
|
"mattermostApi": {
|
|
"id": "155",
|
|
"name": "Mattermost API creds"
|
|
}
|
|
},
|
|
"id": "59055891-8e15-4c74-8832-5a3a8db69b58"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"resource": "user",
|
|
"operation": "deactive",
|
|
"userId": "={{$node[\"Mattermost13\"].json[\"id\"]}}"
|
|
},
|
|
"name": "Mattermost18",
|
|
"type": "n8n-nodes-base.mattermost",
|
|
"typeVersion": 1,
|
|
"position": [
|
|
1200,
|
|
150
|
|
],
|
|
"credentials": {
|
|
"mattermostApi": {
|
|
"id": "155",
|
|
"name": "Mattermost API creds"
|
|
}
|
|
},
|
|
"id": "0a74598f-31d7-4011-a447-72d092178f02"
|
|
}
|
|
],
|
|
"connections": {
|
|
"Mattermost": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Mattermost1",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Mattermost1": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Mattermost7",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Mattermost2": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Mattermost3",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Mattermost3": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Mattermost4",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Mattermost4": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Mattermost5",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Mattermost5": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Mattermost6",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Start": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Mattermost",
|
|
"type": "main",
|
|
"index": 0
|
|
},
|
|
{
|
|
"node": "Mattermost13",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Mattermost7": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Mattermost8",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Mattermost9": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Mattermost2",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Mattermost8": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Mattermost10",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Mattermost10": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Mattermost11",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Mattermost11": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Mattermost12",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Mattermost12": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Mattermost9",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Mattermost13": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Mattermost14",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Mattermost14": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Mattermost15",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Mattermost15": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Mattermost16",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Mattermost16": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Mattermost17",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"Mattermost17": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Mattermost18",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"settings": {},
|
|
"staticData": null,
|
|
"meta": null,
|
|
"pinData": null,
|
|
"versionId": null,
|
|
"triggerCount": 0,
|
|
"tags": []
|
|
} |