Business Process Automation
0146 Functionitem Telegram Create Webhook
0146 Functionitem Telegram Create Webhook
Webhook
Medium
8
Nodes
Webhook
Trigger
Medium
Complexity
7/22/2025
Added
Workflow Overview
Total Nodes
8
Node Types
0
Workflow JSON
5.67 KB
{
"name": "0146 Functionitem Telegram Create Webhook",
"nodes": [
{
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"position": [
310,
300
],
"webhookId": "6be952e8-e30f-4dd7-90b3-bc202ae9f174",
"parameters": {
"path": "6be952e8-e30f-4dd7-90b3-bc202ae9f174",
"options": {
"rawBody": true
},
"httpMethod": "POST"
},
"typeVersion": 1
},
{
"name": "SearchTorrent",
"type": "n8n-nodes-base.functionItem",
"position": [
530,
300
],
"parameters": {
"functionCode": "const TorrentSearchApi = require('torrent-search-api');\n\nTorrentSearchApi.enableProvider('KickassTorrents');\nTorrentSearchApi.enableProvider('Rarbg');\n\nitem.title = $node[\"Webhook\"].json[\"body\"].title.trim();\n\nconst torrents = await TorrentSearchApi.search(item.title, 'All', 5);\n\nitem.torrents = torrents;\nitem.found = true;\n\nif(!torrents.len...Showing first 1000 characters. Click "Expand" to view the full JSON.