{
  "workflow": {
    "id": 1381,
    "name": "Search and download torrents using transmission-daemon",
    "views": 3298,
    "recentViews": 0,
    "totalViews": 3298,
    "createdAt": "2022-01-02T12:31:23.129Z",
    "description": "# Ok google download \"movie name\"\n\nI develop this automation to improve my quality of life in handling torrents in my media-center.\n\n## Goal\n\nAutomate the search operations of a movie based on its name and trigger a download using your transmission-daemon.\n\n## Setup\n\n### Prerequisite\n\n- Transmission daemon up and running and its authentication method\n- N8N configured self-hosted or with the possibility to add npm package better with docker-compose.yaml\n- Telegram bot credential [optional]\n\n### Configuration\n\nCreate a folder where your `docker-compose.yaml` belongs `n8n_dir` and proceed in installing the [node package](https://www.npmjs.com/package/torrent-search-api).\n\n```bash\ncd ~/n8n_dir\nnpm i torrent-search-api\n```\n\nConfiguring your `docker-compose.yaml` file this way. You must include all the dependencies of `torrent-search-api`. This will let you run the new torrent search node presented in this workflow.\n\n```\nversion: '3.3'\nservices:\n    n8n:\n        container_name: n8n\n        ports:\n            - '5678:5678'\n        restart: always\n        volumes:\n            - '~/n8n_dir/.n8n:/home/node/.n8n'\n            - '~/n8n_dir/node_modules/@tootallnate:/usr/local/lib/node_modules/@tootallnate'\n            - '~/n8n_dir/node_modules/accepts:/usr/local/lib/node_modules/accepts'\n            - '~/n8n_dir/node_modules/agent-base:/usr/local/lib/node_modules/agent-base'\n            - '~/n8n_dir/node_modules/ajv:/usr/local/lib/node_modules/ajv'\n            - '~/n8n_dir/node_modules/ansi-styles:/usr/local/lib/node_modules/ansi-styles'\n            - '~/n8n_dir/node_modules/asn1:/usr/local/lib/node_modules/asn1'\n            - '~/n8n_dir/node_modules/assert:/usr/local/lib/node_modules/assert'\n            - '~/n8n_dir/node_modules/assert-plus:/usr/local/lib/node_modules/assert-plus'\n            - '~/n8n_dir/node_modules/ast-types:/usr/local/lib/node_modules/ast-types'\n            - '~/n8n_dir/node_modules/asynckit:/usr/local/lib/node_modules/asynckit'\n            - '~/n8n_dir/node_modules/aws-sign2:/usr/local/lib/node_modules/aws-sign2'\n            - '~/n8n_dir/node_modules/aws4:/usr/local/lib/node_modules/aws4'\n            - '~/n8n_dir/node_modules/base64-js:/usr/local/lib/node_modules/base64-js'\n            - '~/n8n_dir/node_modules/batch:/usr/local/lib/node_modules/batch'\n            - '~/n8n_dir/node_modules/bcrypt-pbkdf:/usr/local/lib/node_modules/bcrypt-pbkdf'\n            - '~/n8n_dir/node_modules/bluebird:/usr/local/lib/node_modules/bluebird'\n            - '~/n8n_dir/node_modules/boolbase:/usr/local/lib/node_modules/boolbase'\n            - '~/n8n_dir/node_modules/brotli:/usr/local/lib/node_modules/brotli'\n            - '~/n8n_dir/node_modules/bytes:/usr/local/lib/node_modules/bytes'\n            - '~/n8n_dir/node_modules/caseless:/usr/local/lib/node_modules/caseless'\n            - '~/n8n_dir/node_modules/chalk:/usr/local/lib/node_modules/chalk'\n            - '~/n8n_dir/node_modules/cheerio:/usr/local/lib/node_modules/cheerio'\n            - '~/n8n_dir/node_modules/cloudscraper:/usr/local/lib/node_modules/cloudscraper'\n            - '~/n8n_dir/node_modules/co:/usr/local/lib/node_modules/co'\n            - '~/n8n_dir/node_modules/color-convert:/usr/local/lib/node_modules/color-convert'\n            - '~/n8n_dir/node_modules/color-name:/usr/local/lib/node_modules/color-name'\n            - '~/n8n_dir/node_modules/combined-stream:/usr/local/lib/node_modules/combined-stream'\n            - '~/n8n_dir/node_modules/component-emitter:/usr/local/lib/node_modules/component-emitter'\n            - '~/n8n_dir/node_modules/content-disposition:/usr/local/lib/node_modules/content-disposition'\n            - '~/n8n_dir/node_modules/content-type:/usr/local/lib/node_modules/content-type'\n            - '~/n8n_dir/node_modules/cookiejar:/usr/local/lib/node_modules/cookiejar'\n            - '~/n8n_dir/node_modules/core-util-is:/usr/local/lib/node_modules/core-util-is'\n            - '~/n8n_dir/node_modules/css-select:/usr/local/lib/node_modules/css-select'\n            - '~/n8n_dir/node_modules/css-what:/usr/local/lib/node_modules/css-what'\n            - '~/n8n_dir/node_modules/dashdash:/usr/local/lib/node_modules/dashdash'\n            - '~/n8n_dir/node_modules/data-uri-to-buffer:/usr/local/lib/node_modules/data-uri-to-buffer'\n            - '~/n8n_dir/node_modules/debug:/usr/local/lib/node_modules/debug'\n            - '~/n8n_dir/node_modules/deep-is:/usr/local/lib/node_modules/deep-is'\n            - '~/n8n_dir/node_modules/degenerator:/usr/local/lib/node_modules/degenerator'\n            - '~/n8n_dir/node_modules/delayed-stream:/usr/local/lib/node_modules/delayed-stream'\n            - '~/n8n_dir/node_modules/delegates:/usr/local/lib/node_modules/delegates'\n            - '~/n8n_dir/node_modules/depd:/usr/local/lib/node_modules/depd'\n            - '~/n8n_dir/node_modules/destroy:/usr/local/lib/node_modules/destroy'\n            - '~/n8n_dir/node_modules/dom-serializer:/usr/local/lib/node_modules/dom-serializer'\n            - '~/n8n_dir/node_modules/domelementtype:/usr/local/lib/node_modules/domelementtype'\n            - '~/n8n_dir/node_modules/domhandler:/usr/local/lib/node_modules/domhandler'\n            - '~/n8n_dir/node_modules/domutils:/usr/local/lib/node_modules/domutils'\n            - '~/n8n_dir/node_modules/ecc-jsbn:/usr/local/lib/node_modules/ecc-jsbn'\n            - '~/n8n_dir/node_modules/ee-first:/usr/local/lib/node_modules/ee-first'\n            - '~/n8n_dir/node_modules/emitter-component:/usr/local/lib/node_modules/emitter-component'\n            - '~/n8n_dir/node_modules/enqueue:/usr/local/lib/node_modules/enqueue'\n            - '~/n8n_dir/node_modules/enstore:/usr/local/lib/node_modules/enstore'\n            - '~/n8n_dir/node_modules/entities:/usr/local/lib/node_modules/entities'\n            - '~/n8n_dir/node_modules/error-inject:/usr/local/lib/node_modules/error-inject'\n            - '~/n8n_dir/node_modules/escape-html:/usr/local/lib/node_modules/escape-html'\n            - '~/n8n_dir/node_modules/escape-string-regexp:/usr/local/lib/node_modules/escape-string-regexp'\n            - '~/n8n_dir/node_modules/escodegen:/usr/local/lib/node_modules/escodegen'\n            - '~/n8n_dir/node_modules/esprima:/usr/local/lib/node_modules/esprima'\n            - '~/n8n_dir/node_modules/estraverse:/usr/local/lib/node_modules/estraverse'\n            - '~/n8n_dir/node_modules/esutils:/usr/local/lib/node_modules/esutils'\n            - '~/n8n_dir/node_modules/extend:/usr/local/lib/node_modules/extend'\n            - '~/n8n_dir/node_modules/extsprintf:/usr/local/lib/node_modules/extsprintf'\n            - '~/n8n_dir/node_modules/fast-deep-equal:/usr/local/lib/node_modules/fast-deep-equal'\n            - '~/n8n_dir/node_modules/fast-json-stable-stringify:/usr/local/lib/node_modules/fast-json-stable-stringify'\n            - '~/n8n_dir/node_modules/fast-levenshtein:/usr/local/lib/node_modules/fast-levenshtein'\n            - '~/n8n_dir/node_modules/file-uri-to-path:/usr/local/lib/node_modules/file-uri-to-path'\n            - '~/n8n_dir/node_modules/forever-agent:/usr/local/lib/node_modules/forever-agent'\n            - '~/n8n_dir/node_modules/form-data:/usr/local/lib/node_modules/form-data'\n            - '~/n8n_dir/node_modules/format-parser:/usr/local/lib/node_modules/format-parser'\n            - '~/n8n_dir/node_modules/formidable:/usr/local/lib/node_modules/formidable'\n            - '~/n8n_dir/node_modules/fs-extra:/usr/local/lib/node_modules/fs-extra'\n            - '~/n8n_dir/node_modules/ftp:/usr/local/lib/node_modules/ftp'\n            - '~/n8n_dir/node_modules/get-uri:/usr/local/lib/node_modules/get-uri'\n            - '~/n8n_dir/node_modules/getpass:/usr/local/lib/node_modules/getpass'\n            - '~/n8n_dir/node_modules/graceful-fs:/usr/local/lib/node_modules/graceful-fs'\n            - '~/n8n_dir/node_modules/har-schema:/usr/local/lib/node_modules/har-schema'\n            - '~/n8n_dir/node_modules/har-validator:/usr/local/lib/node_modules/har-validator'\n            - '~/n8n_dir/node_modules/has-flag:/usr/local/lib/node_modules/has-flag'\n            - '~/n8n_dir/node_modules/htmlparser2:/usr/local/lib/node_modules/htmlparser2'\n            - '~/n8n_dir/node_modules/http-context:/usr/local/lib/node_modules/http-context'\n            - '~/n8n_dir/node_modules/http-errors:/usr/local/lib/node_modules/http-errors'\n            - '~/n8n_dir/node_modules/http-incoming:/usr/local/lib/node_modules/http-incoming'\n            - '~/n8n_dir/node_modules/http-outgoing:/usr/local/lib/node_modules/http-outgoing'\n            - '~/n8n_dir/node_modules/http-proxy-agent:/usr/local/lib/node_modules/http-proxy-agent'\n            - '~/n8n_dir/node_modules/http-signature:/usr/local/lib/node_modules/http-signature'\n            - '~/n8n_dir/node_modules/https-proxy-agent:/usr/local/lib/node_modules/https-proxy-agent'\n            - '~/n8n_dir/node_modules/iconv-lite:/usr/local/lib/node_modules/iconv-lite'\n            - '~/n8n_dir/node_modules/inherits:/usr/local/lib/node_modules/inherits'\n            - '~/n8n_dir/node_modules/ip:/usr/local/lib/node_modules/ip'\n            - '~/n8n_dir/node_modules/is-browser:/usr/local/lib/node_modules/is-browser'\n            - '~/n8n_dir/node_modules/is-typedarray:/usr/local/lib/node_modules/is-typedarray'\n            - '~/n8n_dir/node_modules/is-url:/usr/local/lib/node_modules/is-url'\n            - '~/n8n_dir/node_modules/isarray:/usr/local/lib/node_modules/isarray'\n            - '~/n8n_dir/node_modules/isobject:/usr/local/lib/node_modules/isobject'\n            - '~/n8n_dir/node_modules/isstream:/usr/local/lib/node_modules/isstream'\n            - '~/n8n_dir/node_modules/jsbn:/usr/local/lib/node_modules/jsbn'\n            - '~/n8n_dir/node_modules/json-schema:/usr/local/lib/node_modules/json-schema'\n            - '~/n8n_dir/node_modules/json-schema-traverse:/usr/local/lib/node_modules/json-schema-traverse'\n            - '~/n8n_dir/node_modules/json-stringify-safe:/usr/local/lib/node_modules/json-stringify-safe'\n            - '~/n8n_dir/node_modules/jsonfile:/usr/local/lib/node_modules/jsonfile'\n            - '~/n8n_dir/node_modules/jsprim:/usr/local/lib/node_modules/jsprim'\n            - '~/n8n_dir/node_modules/koa-is-json:/usr/local/lib/node_modules/koa-is-json'\n            - '~/n8n_dir/node_modules/levn:/usr/local/lib/node_modules/levn'\n            - '~/n8n_dir/node_modules/lodash:/usr/local/lib/node_modules/lodash'\n            - '~/n8n_dir/node_modules/lodash.assignin:/usr/local/lib/node_modules/lodash.assignin'\n            - '~/n8n_dir/node_modules/lodash.bind:/usr/local/lib/node_modules/lodash.bind'\n            - '~/n8n_dir/node_modules/lodash.defaults:/usr/local/lib/node_modules/lodash.defaults'\n            - '~/n8n_dir/node_modules/lodash.filter:/usr/local/lib/node_modules/lodash.filter'\n            - '~/n8n_dir/node_modules/lodash.flatten:/usr/local/lib/node_modules/lodash.flatten'\n            - '~/n8n_dir/node_modules/lodash.foreach:/usr/local/lib/node_modules/lodash.foreach'\n            - '~/n8n_dir/node_modules/lodash.map:/usr/local/lib/node_modules/lodash.map'\n            - '~/n8n_dir/node_modules/lodash.merge:/usr/local/lib/node_modules/lodash.merge'\n            - '~/n8n_dir/node_modules/lodash.pick:/usr/local/lib/node_modules/lodash.pick'\n            - '~/n8n_dir/node_modules/lodash.reduce:/usr/local/lib/node_modules/lodash.reduce'\n            - '~/n8n_dir/node_modules/lodash.reject:/usr/local/lib/node_modules/lodash.reject'\n            - '~/n8n_dir/node_modules/lodash.some:/usr/local/lib/node_modules/lodash.some'\n            - '~/n8n_dir/node_modules/lru-cache:/usr/local/lib/node_modules/lru-cache'\n            - '~/n8n_dir/node_modules/media-typer:/usr/local/lib/node_modules/media-typer'\n            - '~/n8n_dir/node_modules/methods:/usr/local/lib/node_modules/methods'\n            - '~/n8n_dir/node_modules/mime:/usr/local/lib/node_modules/mime'\n            - '~/n8n_dir/node_modules/mime-db:/usr/local/lib/node_modules/mime-db'\n            - '~/n8n_dir/node_modules/mime-types:/usr/local/lib/node_modules/mime-types'\n            - '~/n8n_dir/node_modules/monotonic-timestamp:/usr/local/lib/node_modules/monotonic-timestamp'\n            - '~/n8n_dir/node_modules/ms:/usr/local/lib/node_modules/ms'\n            - '~/n8n_dir/node_modules/negotiator:/usr/local/lib/node_modules/negotiator'\n            - '~/n8n_dir/node_modules/netmask:/usr/local/lib/node_modules/netmask'\n            - '~/n8n_dir/node_modules/nth-check:/usr/local/lib/node_modules/nth-check'\n            - '~/n8n_dir/node_modules/oauth-sign:/usr/local/lib/node_modules/oauth-sign'\n            - '~/n8n_dir/node_modules/object-assign:/usr/local/lib/node_modules/object-assign'\n            - '~/n8n_dir/node_modules/on-finished:/usr/local/lib/node_modules/on-finished'\n            - '~/n8n_dir/node_modules/optionator:/usr/local/lib/node_modules/optionator'\n            - '~/n8n_dir/node_modules/pac-proxy-agent:/usr/local/lib/node_modules/pac-proxy-agent'\n            - '~/n8n_dir/node_modules/pac-resolver:/usr/local/lib/node_modules/pac-resolver'\n            - '~/n8n_dir/node_modules/parseurl:/usr/local/lib/node_modules/parseurl'\n            - '~/n8n_dir/node_modules/performance-now:/usr/local/lib/node_modules/performance-now'\n            - '~/n8n_dir/node_modules/prelude-ls:/usr/local/lib/node_modules/prelude-ls'\n            - '~/n8n_dir/node_modules/process-nextick-args:/usr/local/lib/node_modules/process-nextick-args'\n            - '~/n8n_dir/node_modules/promise-polyfill:/usr/local/lib/node_modules/promise-polyfill'\n            - '~/n8n_dir/node_modules/proxy-agent:/usr/local/lib/node_modules/proxy-agent'\n            - '~/n8n_dir/node_modules/proxy-from-env:/usr/local/lib/node_modules/proxy-from-env'\n            - '~/n8n_dir/node_modules/psl:/usr/local/lib/node_modules/psl'\n            - '~/n8n_dir/node_modules/punycode:/usr/local/lib/node_modules/punycode'\n            - '~/n8n_dir/node_modules/qs:/usr/local/lib/node_modules/qs'\n            - '~/n8n_dir/node_modules/querystring:/usr/local/lib/node_modules/querystring'\n            - '~/n8n_dir/node_modules/raw-body:/usr/local/lib/node_modules/raw-body'\n            - '~/n8n_dir/node_modules/readable-stream:/usr/local/lib/node_modules/readable-stream'\n            - '~/n8n_dir/node_modules/request:/usr/local/lib/node_modules/request'\n            - '~/n8n_dir/node_modules/request-promise:/usr/local/lib/node_modules/request-promise'\n            - '~/n8n_dir/node_modules/request-promise-core:/usr/local/lib/node_modules/request-promise-core'\n            - '~/n8n_dir/node_modules/request-x-ray:/usr/local/lib/node_modules/request-x-ray'\n            - '~/n8n_dir/node_modules/safe-buffer:/usr/local/lib/node_modules/safe-buffer'\n            - '~/n8n_dir/node_modules/safer-buffer:/usr/local/lib/node_modules/safer-buffer'\n            - '~/n8n_dir/node_modules/selectn:/usr/local/lib/node_modules/selectn'\n            - '~/n8n_dir/node_modules/setprototypeof:/usr/local/lib/node_modules/setprototypeof'\n            - '~/n8n_dir/node_modules/sliced:/usr/local/lib/node_modules/sliced'\n            - '~/n8n_dir/node_modules/smart-buffer:/usr/local/lib/node_modules/smart-buffer'\n            - '~/n8n_dir/node_modules/socks:/usr/local/lib/node_modules/socks'\n            - '~/n8n_dir/node_modules/socks-proxy-agent:/usr/local/lib/node_modules/socks-proxy-agent'\n            - '~/n8n_dir/node_modules/source-map:/usr/local/lib/node_modules/source-map'\n            - '~/n8n_dir/node_modules/sshpk:/usr/local/lib/node_modules/sshpk'\n            - '~/n8n_dir/node_modules/statuses:/usr/local/lib/node_modules/statuses'\n            - '~/n8n_dir/node_modules/stealthy-require:/usr/local/lib/node_modules/stealthy-require'\n            - '~/n8n_dir/node_modules/stream-to-string:/usr/local/lib/node_modules/stream-to-string'\n            - '~/n8n_dir/node_modules/string-format:/usr/local/lib/node_modules/string-format'\n            - '~/n8n_dir/node_modules/string_decoder:/usr/local/lib/node_modules/string_decoder'\n            - '~/n8n_dir/node_modules/superagent:/usr/local/lib/node_modules/superagent'\n            - '~/n8n_dir/node_modules/superagent-proxy:/usr/local/lib/node_modules/superagent-proxy'\n            - '~/n8n_dir/node_modules/supports-color:/usr/local/lib/node_modules/supports-color'\n            - '~/n8n_dir/node_modules/toidentifier:/usr/local/lib/node_modules/toidentifier'\n            - '~/n8n_dir/node_modules/torrent-search-api:/usr/local/lib/node_modules/torrent-search-api'\n            - '~/n8n_dir/node_modules/tough-cookie:/usr/local/lib/node_modules/tough-cookie'\n            - '~/n8n_dir/node_modules/tslib:/usr/local/lib/node_modules/tslib'\n            - '~/n8n_dir/node_modules/tunnel-agent:/usr/local/lib/node_modules/tunnel-agent'\n            - '~/n8n_dir/node_modules/tweetnacl:/usr/local/lib/node_modules/tweetnacl'\n            - '~/n8n_dir/node_modules/type-check:/usr/local/lib/node_modules/type-check'\n            - '~/n8n_dir/node_modules/type-is:/usr/local/lib/node_modules/type-is'\n            - '~/n8n_dir/node_modules/universalify:/usr/local/lib/node_modules/universalify'\n            - '~/n8n_dir/node_modules/unpipe:/usr/local/lib/node_modules/unpipe'\n            - '~/n8n_dir/node_modules/uri-js:/usr/local/lib/node_modules/uri-js'\n            - '~/n8n_dir/node_modules/util:/usr/local/lib/node_modules/util'\n            - '~/n8n_dir/node_modules/util-deprecate:/usr/local/lib/node_modules/util-deprecate'\n            - '~/n8n_dir/node_modules/uuid:/usr/local/lib/node_modules/uuid'\n            - '~/n8n_dir/node_modules/vary:/usr/local/lib/node_modules/vary'\n            - '~/n8n_dir/node_modules/verror:/usr/local/lib/node_modules/verror'\n            - '~/n8n_dir/node_modules/word-wrap:/usr/local/lib/node_modules/word-wrap'\n            - '~/n8n_dir/node_modules/wrap-fn:/usr/local/lib/node_modules/wrap-fn'\n            - '~/n8n_dir/node_modules/x-ray:/usr/local/lib/node_modules/x-ray'\n            - '~/n8n_dir/node_modules/x-ray-crawler:/usr/local/lib/node_modules/x-ray-crawler'\n            - '~/n8n_dir/node_modules/x-ray-parse:/usr/local/lib/node_modules/x-ray-parse'\n            - '~/n8n_dir/node_modules/x-ray-scraper:/usr/local/lib/node_modules/x-ray-scraper'\n            - '~/n8n_dir/node_modules/xregexp:/usr/local/lib/node_modules/xregexp'\n            - '~/n8n_dir/node_modules/yallist:/usr/local/lib/node_modules/yallist'\n            - '~/n8n_dir/node_modules/yieldly:/usr/local/lib/node_modules/yieldly'\n        image: 'n8nio/n8n:latest-rpi'\n        environment:\n            - N8N_BASIC_AUTH_ACTIVE=true\n            - N8N_BASIC_AUTH_USER=username\n            - N8N_BASIC_AUTH_PASSWORD=your_secret_n8n_password\n            - EXECUTIONS_DATA_PRUNE=true\n            - EXECUTIONS_DATA_MAX_AGE=120\n            - EXECUTIONS_TIMEOUT=300\n            - EXECUTIONS_TIMEOUT_MAX=500\n            - GENERIC_TIMEZONE=Europe/Berlin\n            - NODE_FUNCTION_ALLOW_EXTERNAL=torrent-search-api\n```\n\nOnce configured this way run n8n and create a new workflow coping the one proposed.\n\n## Configure workflow\n\n### Transmission\n\nIn order to send command to transmission you must validate the Basic Auth. To do so: open the `Start download` node and edit the Credentials. \n\n![image.png](fileId:581)\n\nPerform the same operation choosing the new credentials also in node `Start download new token`.\nIn this automation we call transmission twice due to a security protocol in transmission system that prevents single click commands to be triggered, performing the request twice bypasses this security mechanism. [https://en.wikipedia.org/wiki/Cross-site_request_forgery](https://en.wikipedia.org/wiki/Cross-site_request_forgery)\nWe use the `X-Transmission-Session-Id` provided by the first request to authenticate the second request.\n\n### Telegram\nIn order to make the workflow work as expected you must create a telegram bot and configure the nodes (`Torrent not found` and `Telegram1`) to send your message once the workflow is complete. \nHere's an easy guide to follow [https://docs.n8n.io/nodes/n8n-nodes-base.telegram/](https://docs.n8n.io/nodes/n8n-nodes-base.telegram/)\nIn those nodes you also should configure the Chat ID, you may use your telegram username or use a bot to retrieve your id.\nYou may chat with [useridinfobot](https://t.me/useridinfobot) that sends you your id.\n\n## Ok google automation\n\nSince right now we do not have a n8n client for mobile that can trigger automation using google assistant I decided to use an IFTTT automation to trigger the webhook.\n\nI connect my IFTTT account with google assistant and pick the trigger.\n`Say a phrase with a text ingredient` as in the picture below.\n\n![image.png](fileId:582)\n\nAnd configure the trigger this way.\n`scarica $` -&gt; `download $`\nor\n`metti in download $` -&gt; `put in download $`\n\nor some other trigger you may want.\n\n![image.png](fileId:580)\n\nThen configure your server to trigger the webhook of n8n.\n\n![image.png](fileId:579)\n\n## Conclusion\n\nIn conclusion we provide a fully working automation that integrates in n8n a node library and provides an easy trigger to perform a complex operation.\n\n### Security concern\nGiving the ability to trigger a download may be problematic for potential unwanted torrent malware download, so you may decide to authenticate the webhook request passing in the body another field with a shared token between the two endpoints.\n\nMoreover the `torrent-search-api` library and its dependencies have some vulnerability that you may want to avoid on your own media-center, this will hopefully be patched soon in a further release of the library.\n\nThis is just an interesting proof of concept.\n\n### Quality of the download\n\nYou may want to introduce another block between torrent search and webhook trigger to search for a movie based on the words detected by google assistant, sometimes it misinterprets something and you may end up downloading potential copyrighted material.\nPlease use this automation only for free and open source movies and music.\n\n\n",
    "workflow": {
      "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.length)\n  item.found = false;\n  \nconsole.log('Done!');\n\nreturn item;"
          },
          "typeVersion": 1
        },
        {
          "name": "Start download",
          "type": "n8n-nodes-base.httpRequest",
          "position": [
            960,
            280
          ],
          "parameters": {
            "url": "http://localhost:9091/transmission/rpc",
            "options": {},
            "requestMethod": "POST",
            "authentication": "basicAuth",
            "jsonParameters": true,
            "bodyParametersJson": "={\"method\":\"torrent-add\",\"arguments\":{\"paused\":false,\"download-dir\":\"/media/FILM/TORRENT\",\"filename\":\"{{$node[\"SearchTorrent\"].json[\"torrents\"][0][\"magnet\"]}}\"}}",
            "headerParametersJson": "{\"X-Transmission-Session-Id\":\"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\"}"
          },
          "credentials": {
            "httpBasicAuth": "Transmission-basic-auth"
          },
          "typeVersion": 1,
          "continueOnFail": true
        },
        {
          "name": "IF",
          "type": "n8n-nodes-base.if",
          "position": [
            740,
            300
          ],
          "parameters": {
            "conditions": {
              "boolean": [
                {
                  "value1": "={{$json[\"found\"]}}",
                  "value2": true
                }
              ]
            }
          },
          "typeVersion": 1
        },
        {
          "name": "Torrent not found",
          "type": "n8n-nodes-base.telegram",
          "position": [
            960,
            470
          ],
          "parameters": {
            "text": "=Film {{$node[\"Webhook\"].json[\"body\"].title}} non trovato.",
            "chatId": "00000000",
            "additionalFields": {}
          },
          "credentials": {
            "telegramApi": "your_bot_credential"
          },
          "typeVersion": 1
        },
        {
          "name": "Telegram1",
          "type": "n8n-nodes-base.telegram",
          "position": [
            1500,
            490
          ],
          "parameters": {
            "text": "=Scarico {{$node[\"Webhook\"].json[\"body\"].title}}!\nTitolo: {{$node[\"SearchTorrent\"].json[\"torrents\"][0][\"title\"]}}",
            "chatId": "0000000",
            "additionalFields": {}
          },
          "credentials": {
            "telegramApi": "your_bot_credential"
          },
          "typeVersion": 1
        },
        {
          "name": "IF2",
          "type": "n8n-nodes-base.if",
          "position": [
            1150,
            280
          ],
          "parameters": {
            "conditions": {
              "string": [
                {
                  "value1": "=\"{{$json[\"error\"][\"statusCode\"]}}\"",
                  "value2": "=\"409\""
                }
              ]
            }
          },
          "typeVersion": 1
        },
        {
          "name": "Start download new token",
          "type": "n8n-nodes-base.httpRequest",
          "position": [
            1340,
            260
          ],
          "parameters": {
            "url": "http://localhost:9091/transmission/rpc",
            "options": {},
            "requestMethod": "POST",
            "authentication": "basicAuth",
            "jsonParameters": true,
            "bodyParametersJson": "={\"method\":\"torrent-add\",\"arguments\":{\"paused\":false,\"download-dir\":\"/media/FILM/TORRENT\",\"filename\":\"{{$node[\"SearchTorrent\"].json[\"torrents\"][0][\"magnet\"]}}\"}}",
            "headerParametersJson": "={\"X-Transmission-Session-Id\":\"{{$node[\"Start download\"].json[\"error\"][\"response\"][\"headers\"][\"x-transmission-session-id\"]}}\"}"
          },
          "credentials": {
            "httpBasicAuth": "Transmission-basic-auth"
          },
          "typeVersion": 1
        }
      ],
      "connections": {
        "IF": {
          "main": [
            [
              {
                "node": "Start download",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "Torrent not found",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "IF2": {
          "main": [
            [
              {
                "node": "Start download new token",
                "type": "main",
                "index": 0
              }
            ],
            [
              {
                "node": "Telegram1",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Webhook": {
          "main": [
            [
              {
                "node": "SearchTorrent",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "SearchTorrent": {
          "main": [
            [
              {
                "node": "IF",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Start download": {
          "main": [
            [
              {
                "node": "IF2",
                "type": "main",
                "index": 0
              }
            ]
          ]
        },
        "Start download new token": {
          "main": [
            [
              {
                "node": "Telegram1",
                "type": "main",
                "index": 0
              }
            ]
          ]
        }
      }
    },
    "lastUpdatedBy": 11,
    "workflowInfo": {
      "nodeCount": 9,
      "nodeTypes": {
        "n8n-nodes-base.if": {
          "count": 2
        },
        "n8n-nodes-base.webhook": {
          "count": 1
        },
        "n8n-nodes-base.telegram": {
          "count": 2
        },
        "n8n-nodes-base.httpRequest": {
          "count": 2
        },
        "n8n-nodes-base.functionItem": {
          "count": 1
        }
      }
    },
    "status": "published",
    "readyToDemo": null,
    "user": {
      "name": "Danger",
      "username": "dangerblack",
      "bio": "he/him\n🎲 Boardgames and role-play addicted\n📸 Love snapping pictures \n🪴 Plant dad\n👨‍💻 Software Engineer made in Italy",
      "verified": true,
      "links": [
        ""
      ],
      "avatar": "https://gravatar.com/avatar/56c18ac3eda0e3a9c1981f99325738e5623c892837c0c5c14e9697209661f386?r=pg&d=retro&size=200"
    },
    "nodes": [
      {
        "id": 15,
        "icon": "fa:code",
        "name": "n8n-nodes-base.functionItem",
        "codex": {
          "data": {
            "alias": [
              "Javascript",
              "Code",
              "Custom Code",
              "JS"
            ],
            "resources": {
              "generic": [
                {
                  "url": "https://n8n.io/blog/how-uproc-scraped-a-multi-page-website-with-a-low-code-workflow/",
                  "icon": " 🕸️",
                  "label": "How uProc scraped a multi-page website with a low-code workflow"
                },
                {
                  "url": "https://n8n.io/blog/aws-workflow-automation/",
                  "label": "7 no-code workflow automations for Amazon Web Services"
                }
              ],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.code/"
                }
              ]
            },
            "categories": [
              "Development",
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Data Transformation"
              ]
            }
          }
        },
        "group": "[\"transform\"]",
        "defaults": {
          "name": "Function Item",
          "color": "#ddbb33"
        },
        "iconData": {
          "icon": "code",
          "type": "icon"
        },
        "displayName": "Function Item",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 5,
            "name": "Development"
          },
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 19,
        "icon": "file:httprequest.svg",
        "name": "n8n-nodes-base.httpRequest",
        "codex": {
          "data": {
            "alias": [
              "API",
              "Request",
              "URL",
              "Build",
              "cURL"
            ],
            "resources": {
              "generic": [
                {
                  "url": "https://n8n.io/blog/2021-the-year-to-automate-the-new-you-with-n8n/",
                  "icon": "☀️",
                  "label": "2021: The Year to Automate the New You with n8n"
                },
                {
                  "url": "https://n8n.io/blog/why-business-process-automation-with-n8n-can-change-your-daily-life/",
                  "icon": "🧬",
                  "label": "Why business process automation with n8n can change your daily life"
                },
                {
                  "url": "https://n8n.io/blog/automatically-pulling-and-visualizing-data-with-n8n/",
                  "icon": "📈",
                  "label": "Automatically pulling and visualizing data with n8n"
                },
                {
                  "url": "https://n8n.io/blog/learn-how-to-automatically-cross-post-your-content-with-n8n/",
                  "icon": "✍️",
                  "label": "Learn how to automatically cross-post your content with n8n"
                },
                {
                  "url": "https://n8n.io/blog/automatically-adding-expense-receipts-to-google-sheets-with-telegram-mindee-twilio-and-n8n/",
                  "icon": "🧾",
                  "label": "Automatically Adding Expense Receipts to Google Sheets with Telegram, Mindee, Twilio, and n8n"
                },
                {
                  "url": "https://n8n.io/blog/running-n8n-on-ships-an-interview-with-maranics/",
                  "icon": "🛳",
                  "label": "Running n8n on ships: An interview with Maranics"
                },
                {
                  "url": "https://n8n.io/blog/what-are-apis-how-to-use-them-with-no-code/",
                  "icon": " 🪢",
                  "label": "What are APIs and how to use them with no code"
                },
                {
                  "url": "https://n8n.io/blog/5-tasks-you-can-automate-with-notion-api/",
                  "icon": "⚡️",
                  "label": "5 tasks you can automate with the new Notion API "
                },
                {
                  "url": "https://n8n.io/blog/world-poetry-day-workflow/",
                  "icon": "📜",
                  "label": "Celebrating World Poetry Day with a daily poem in Telegram"
                },
                {
                  "url": "https://n8n.io/blog/automate-google-apps-for-productivity/",
                  "icon": "💡",
                  "label": "15 Google apps you can combine and automate to increase productivity"
                },
                {
                  "url": "https://n8n.io/blog/automate-designs-with-bannerbear-and-n8n/",
                  "icon": "🎨",
                  "label": "Automate Designs with Bannerbear and n8n"
                },
                {
                  "url": "https://n8n.io/blog/how-uproc-scraped-a-multi-page-website-with-a-low-code-workflow/",
                  "icon": " 🕸️",
                  "label": "How uProc scraped a multi-page website with a low-code workflow"
                },
                {
                  "url": "https://n8n.io/blog/building-an-expense-tracking-app-in-10-minutes/",
                  "icon": "📱",
                  "label": "Building an expense tracking app in 10 minutes"
                },
                {
                  "url": "https://n8n.io/blog/5-workflow-automations-for-mattermost-that-we-love-at-n8n/",
                  "icon": "🤖",
                  "label": "5 workflow automations for Mattermost that we love at n8n"
                },
                {
                  "url": "https://n8n.io/blog/how-to-use-the-http-request-node-the-swiss-army-knife-for-workflow-automation/",
                  "icon": "🧰",
                  "label": "How to use the HTTP Request Node - The Swiss Army Knife for Workflow Automation"
                },
                {
                  "url": "https://n8n.io/blog/learn-how-to-use-webhooks-with-mattermost-slash-commands/",
                  "icon": "🦄",
                  "label": "Learn how to use webhooks with Mattermost slash commands"
                },
                {
                  "url": "https://n8n.io/blog/how-a-membership-development-manager-automates-his-work-and-investments/",
                  "icon": "📈",
                  "label": "How a Membership Development Manager automates his work and investments"
                },
                {
                  "url": "https://n8n.io/blog/a-low-code-bitcoin-ticker-built-with-questdb-and-n8n-io/",
                  "icon": "📈",
                  "label": "A low-code bitcoin ticker built with QuestDB and n8n.io"
                },
                {
                  "url": "https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/",
                  "icon": "🎡",
                  "label": "How to set up a no-code CI/CD pipeline with GitHub and TravisCI"
                },
                {
                  "url": "https://n8n.io/blog/automations-for-activists/",
                  "icon": "✨",
                  "label": "How Common Knowledge use workflow automation for activism"
                },
                {
                  "url": "https://n8n.io/blog/creating-scheduled-text-affirmations-with-n8n/",
                  "icon": "🤟",
                  "label": "Creating scheduled text affirmations with n8n"
                },
                {
                  "url": "https://n8n.io/blog/how-goomer-automated-their-operations-with-over-200-n8n-workflows/",
                  "icon": "🛵",
                  "label": "How Goomer automated their operations with over 200 n8n workflows"
                },
                {
                  "url": "https://n8n.io/blog/aws-workflow-automation/",
                  "label": "7 no-code workflow automations for Amazon Web Services"
                }
              ],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.httprequest/"
                }
              ]
            },
            "categories": [
              "Development",
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Helpers"
              ]
            }
          }
        },
        "group": "[\"output\"]",
        "defaults": {
          "name": "HTTP Request",
          "color": "#0004F5"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHZpZXdCb3g9IjAgMCA0MCA0MCIgZm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Y4IDM0LjIxNzkgMjYuMjc2NiAzNS43NDI3Wk0xMy43MjM0IDM1Ljc0MjdDOS44OTM2OSAzNC4yMTc5IDYuNzUxNTUgMzEuMzMyNCA0Ljg5MjkzIDI3LjY4NDdIMTAuNjIyNkMxMS4yODkgMzAuODY4IDEyLjM2MzUgMzMuNjM5MyAxMy43MjM0IDM1Ljc0MjdaIiBmaWxsPSIjM0E0MkU5Ii8+Cjwvc3ZnPgo="
        },
        "displayName": "HTTP Request",
        "typeVersion": 4,
        "nodeCategories": [
          {
            "id": 5,
            "name": "Development"
          },
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 20,
        "icon": "fa:map-signs",
        "name": "n8n-nodes-base.if",
        "codex": {
          "data": {
            "alias": [
              "Router",
              "Filter",
              "Condition",
              "Logic",
              "Boolean",
              "Branch"
            ],
            "details": "The IF node can be used to implement binary conditional logic in your workflow. You can set up one-to-many conditions to evaluate each item of data being inputted into the node. That data will either evaluate to TRUE or FALSE and route out of the node accordingly.\n\nThis node has multiple types of conditions: Bool, String, Number, and Date & Time.",
            "resources": {
              "generic": [
                {
                  "url": "https://n8n.io/blog/learn-to-automate-your-factorys-incident-reporting-a-step-by-step-guide/",
                  "icon": "🏭",
                  "label": "Learn to Automate Your Factory's Incident Reporting: A Step by Step Guide"
                },
                {
                  "url": "https://n8n.io/blog/2021-the-year-to-automate-the-new-you-with-n8n/",
                  "icon": "☀️",
                  "label": "2021: The Year to Automate the New You with n8n"
                },
                {
                  "url": "https://n8n.io/blog/why-business-process-automation-with-n8n-can-change-your-daily-life/",
                  "icon": "🧬",
                  "label": "Why business process automation with n8n can change your daily life"
                },
                {
                  "url": "https://n8n.io/blog/create-a-toxic-language-detector-for-telegram/",
                  "icon": "🤬",
                  "label": "Create a toxic language detector for Telegram in 4 step"
                },
                {
                  "url": "https://n8n.io/blog/no-code-ecommerce-workflow-automations/",
                  "icon": "store",
                  "label": "6 e-commerce workflows to power up your Shopify s"
                },
                {
                  "url": "https://n8n.io/blog/how-to-build-a-low-code-self-hosted-url-shortener/",
                  "icon": "🔗",
                  "label": "How to build a low-code, self-hosted URL shortener in 3 steps"
                },
                {
                  "url": "https://n8n.io/blog/automate-your-data-processing-pipeline-in-9-steps-with-n8n/",
                  "icon": "⚙️",
                  "label": "Automate your data processing pipeline in 9 steps"
                },
                {
                  "url": "https://n8n.io/blog/how-to-get-started-with-crm-automation-and-no-code-workflow-ideas/",
                  "icon": "👥",
                  "label": "How to get started with CRM automation (with 3 no-code workflow ideas"
                },
                {
                  "url": "https://n8n.io/blog/5-tasks-you-can-automate-with-notion-api/",
                  "icon": "⚡️",
                  "label": "5 tasks you can automate with the new Notion API "
                },
                {
                  "url": "https://n8n.io/blog/automate-google-apps-for-productivity/",
                  "icon": "💡",
                  "label": "15 Google apps you can combine and automate to increase productivity"
                },
                {
                  "url": "https://n8n.io/blog/automation-for-maintainers-of-open-source-projects/",
                  "icon": "🏷️",
                  "label": "How to automatically manage contributions to open-source projects"
                },
                {
                  "url": "https://n8n.io/blog/how-uproc-scraped-a-multi-page-website-with-a-low-code-workflow/",
                  "icon": " 🕸️",
                  "label": "How uProc scraped a multi-page website with a low-code workflow"
                },
                {
                  "url": "https://n8n.io/blog/5-workflow-automations-for-mattermost-that-we-love-at-n8n/",
                  "icon": "🤖",
                  "label": "5 workflow automations for Mattermost that we love at n8n"
                },
                {
                  "url": "https://n8n.io/blog/why-this-product-manager-loves-workflow-automation-with-n8n/",
                  "icon": "🧠",
                  "label": "Why this Product Manager loves workflow automation with n8n"
                },
                {
                  "url": "https://n8n.io/blog/sending-automated-congratulations-with-google-sheets-twilio-and-n8n/",
                  "icon": "🙌",
                  "label": "Sending Automated Congratulations with Google Sheets, Twilio, and n8n "
                },
                {
                  "url": "https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/",
                  "icon": "🎡",
                  "label": "How to set up a no-code CI/CD pipeline with GitHub and TravisCI"
                },
                {
                  "url": "https://n8n.io/blog/benefits-of-automation-and-n8n-an-interview-with-hubspots-hugh-durkin/",
                  "icon": "🎖",
                  "label": "Benefits of automation and n8n: An interview with HubSpot's Hugh Durkin"
                },
                {
                  "url": "https://n8n.io/blog/aws-workflow-automation/",
                  "label": "7 no-code workflow automations for Amazon Web Services"
                }
              ],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.if/"
                }
              ]
            },
            "categories": [
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Flow"
              ]
            }
          }
        },
        "group": "[\"transform\"]",
        "defaults": {
          "name": "If",
          "color": "#408000"
        },
        "iconData": {
          "icon": "map-signs",
          "type": "icon"
        },
        "displayName": "If",
        "typeVersion": 2,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 42,
        "icon": "fa:play",
        "name": "n8n-nodes-base.start",
        "codex": {
          "data": {
            "resources": {
              "generic": [
                {
                  "url": "https://n8n.io/blog/why-business-process-automation-with-n8n-can-change-your-daily-life/",
                  "icon": "🧬",
                  "label": "Why business process automation with n8n can change your daily life"
                },
                {
                  "url": "https://n8n.io/blog/why-i-chose-n8n-over-zapier-in-2020/",
                  "icon": "😍",
                  "label": "Why I chose n8n over Zapier in 2020"
                },
                {
                  "url": "https://n8n.io/blog/automatically-pulling-and-visualizing-data-with-n8n/",
                  "icon": "📈",
                  "label": "Automatically pulling and visualizing data with n8n"
                },
                {
                  "url": "https://n8n.io/blog/how-to-use-the-http-request-node-the-swiss-army-knife-for-workflow-automation/",
                  "icon": "🧰",
                  "label": "How to use the HTTP Request Node - The Swiss Army Knife for Workflow Automation"
                },
                {
                  "url": "https://n8n.io/blog/sending-sms-the-low-code-way-with-airtable-twilio-programmable-sms-and-n8n/",
                  "icon": "📱",
                  "label": "Sending SMS the Low-Code Way with Airtable, Twilio Programmable SMS, and n8n"
                },
                {
                  "url": "https://n8n.io/blog/automating-conference-organization-processes-with-n8n/",
                  "icon": "🙋‍♀️",
                  "label": "Automating Conference Organization Processes with n8n"
                }
              ],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.start/"
                }
              ]
            },
            "categories": [
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0"
          }
        },
        "group": "[\"input\"]",
        "defaults": {
          "name": "Start",
          "color": "#00e000"
        },
        "iconData": {
          "icon": "play",
          "type": "icon"
        },
        "displayName": "Start",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 47,
        "icon": "file:webhook.svg",
        "name": "n8n-nodes-base.webhook",
        "codex": {
          "data": {
            "alias": [
              "HTTP",
              "API",
              "Build",
              "WH"
            ],
            "resources": {
              "generic": [
                {
                  "url": "https://n8n.io/blog/learn-how-to-automatically-cross-post-your-content-with-n8n/",
                  "icon": "✍️",
                  "label": "Learn how to automatically cross-post your content with n8n"
                },
                {
                  "url": "https://n8n.io/blog/running-n8n-on-ships-an-interview-with-maranics/",
                  "icon": "🛳",
                  "label": "Running n8n on ships: An interview with Maranics"
                },
                {
                  "url": "https://n8n.io/blog/how-to-build-a-low-code-self-hosted-url-shortener/",
                  "icon": "🔗",
                  "label": "How to build a low-code, self-hosted URL shortener in 3 steps"
                },
                {
                  "url": "https://n8n.io/blog/what-are-apis-how-to-use-them-with-no-code/",
                  "icon": " 🪢",
                  "label": "What are APIs and how to use them with no code"
                },
                {
                  "url": "https://n8n.io/blog/5-tasks-you-can-automate-with-notion-api/",
                  "icon": "⚡️",
                  "label": "5 tasks you can automate with the new Notion API "
                },
                {
                  "url": "https://n8n.io/blog/how-a-digital-strategist-uses-n8n-for-online-marketing/",
                  "icon": "💻",
                  "label": "How a digital strategist uses n8n for online marketing"
                },
                {
                  "url": "https://n8n.io/blog/the-ultimate-guide-to-automate-your-video-collaboration-with-whereby-mattermost-and-n8n/",
                  "icon": "📹",
                  "label": "The ultimate guide to automate your video collaboration with Whereby, Mattermost, and n8n"
                },
                {
                  "url": "https://n8n.io/blog/how-to-automatically-give-kudos-to-contributors-with-github-slack-and-n8n/",
                  "icon": "👏",
                  "label": "How to automatically give kudos to contributors with GitHub, Slack, and n8n"
                },
                {
                  "url": "https://n8n.io/blog/5-workflow-automations-for-mattermost-that-we-love-at-n8n/",
                  "icon": "🤖",
                  "label": "5 workflow automations for Mattermost that we love at n8n"
                },
                {
                  "url": "https://n8n.io/blog/why-this-product-manager-loves-workflow-automation-with-n8n/",
                  "icon": "🧠",
                  "label": "Why this Product Manager loves workflow automation with n8n"
                },
                {
                  "url": "https://n8n.io/blog/creating-custom-incident-response-workflows-with-n8n/",
                  "label": "How to automate every step of an incident response workflow"
                },
                {
                  "url": "https://n8n.io/blog/learn-to-build-powerful-api-endpoints-using-webhooks/",
                  "icon": "🧰",
                  "label": "Learn to Build Powerful API Endpoints Using Webhooks"
                },
                {
                  "url": "https://n8n.io/blog/learn-how-to-use-webhooks-with-mattermost-slash-commands/",
                  "icon": "🦄",
                  "label": "Learn how to use webhooks with Mattermost slash commands"
                },
                {
                  "url": "https://n8n.io/blog/how-goomer-automated-their-operations-with-over-200-n8n-workflows/",
                  "icon": "🛵",
                  "label": "How Goomer automated their operations with over 200 n8n workflows"
                }
              ],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.webhook/"
                }
              ]
            },
            "categories": [
              "Development",
              "Core Nodes"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "Core Nodes": [
                "Helpers"
              ]
            }
          }
        },
        "group": "[\"trigger\"]",
        "defaults": {
          "name": "Webhook"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OCIgaGVpZ2h0PSI0OCI+PHBhd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8+PC9zdmc+"
        },
        "displayName": "Webhook",
        "typeVersion": 2,
        "nodeCategories": [
          {
            "id": 5,
            "name": "Development"
          },
          {
            "id": 9,
            "name": "Core Nodes"
          }
        ]
      },
      {
        "id": 49,
        "icon": "file:telegram.svg",
        "name": "n8n-nodes-base.telegram",
        "codex": {
          "data": {
            "alias": [
              "human",
              "form",
              "wait",
              "hitl",
              "approval"
            ],
            "resources": {
              "generic": [
                {
                  "url": "https://n8n.io/blog/why-business-process-automation-with-n8n-can-change-your-daily-life/",
                  "icon": "🧬",
                  "label": "Why business process automation with n8n can change your daily life"
                },
                {
                  "url": "https://n8n.io/blog/create-a-toxic-language-detector-for-telegram/",
                  "icon": "🤬",
                  "label": "Create a toxic language detector for Telegram in 4 step"
                },
                {
                  "url": "https://n8n.io/blog/automatically-adding-expense-receipts-to-google-sheets-with-telegram-mindee-twilio-and-n8n/",
                  "icon": "🧾",
                  "label": "Automatically Adding Expense Receipts to Google Sheets with Telegram, Mindee, Twilio, and n8n"
                },
                {
                  "url": "https://n8n.io/blog/no-code-ecommerce-workflow-automations/",
                  "icon": "store",
                  "label": "6 e-commerce workflows to power up your Shopify s"
                },
                {
                  "url": "https://n8n.io/blog/world-poetry-day-workflow/",
                  "icon": "📜",
                  "label": "Celebrating World Poetry Day with a daily poem in Telegram"
                },
                {
                  "url": "https://n8n.io/blog/using-automation-to-boost-productivity-in-the-workplace/",
                  "icon": "💪",
                  "label": "Using Automation to Boost Productivity in the Workplace"
                },
                {
                  "url": "https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/",
                  "icon": "🎡",
                  "label": "How to set up a no-code CI/CD pipeline with GitHub and TravisCI"
                },
                {
                  "url": "https://n8n.io/blog/creating-scheduled-text-affirmations-with-n8n/",
                  "icon": "🤟",
                  "label": "Creating scheduled text affirmations with n8n"
                },
                {
                  "url": "https://n8n.io/blog/creating-telegram-bots-with-n8n-a-no-code-platform/",
                  "icon": "💬",
                  "label": "Creating Telegram Bots with n8n, a No-Code Platform"
                },
                {
                  "url": "https://n8n.io/blog/aws-workflow-automation/",
                  "label": "7 no-code workflow automations for Amazon Web Services"
                }
              ],
              "primaryDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.telegram/"
                }
              ],
              "credentialDocumentation": [
                {
                  "url": "https://docs.n8n.io/integrations/builtin/credentials/telegram/"
                }
              ]
            },
            "categories": [
              "Communication",
              "HITL"
            ],
            "nodeVersion": "1.0",
            "codexVersion": "1.0",
            "subcategories": {
              "HITL": [
                "Human in the Loop"
              ]
            }
          }
        },
        "group": "[\"output\"]",
        "defaults": {
          "name": "Telegram"
        },
        "iconData": {
          "type": "file",
          "fileBuffer": "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBmaWxsPSIjZmZmIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiB2aWV3Qm94PSIwIDAgNjYgNjYiPjx1c2UgeGxpbms6aHJlZj0iI2EiIHg9Ii41IiB5PSIuNSIvPjxzeW1ib2wgaWQ9ImEiIG92ZXJmbG93PSJ2aXNpYmxlIj48ZyBmaWxsLXJ1bGU9Im5vbnplcm8iIHN0cm9rZT0ibm9uZSI+PHBhdGggZmlsbD0iIzM3YWVlMiIgZD0iTTAgMzJjMCAxNy42NzMgMTQuMzI3IDMyIDMyIDMyczMyLTE0LjMyNyAzMi0zMlM0OS42NzMgMCAzMiAwIDAgMTQuMzI3IDAgMzIiLz48cGF0aCBmaWxsPSIjYzhkYWVhIiBkPSJtMjEuNjYxIDM0LjMzOCAzLjc5NyAxMC41MDhzLjQ3NS45ODMuOTgzLjk4MyA4LjA2OC03Ljg2NCA4LjA2OC03Ljg2NGw4LjQwNy0xNi4yMzctMjEuMTE5IDkuODk4eiIvPjxwYXRoIGZpbGw9IiNhOWM2ZDgiIGQ9Im0yNi42OTUgMzcuMDM0LS43MjkgNy43NDZzLS4zMDUgMi4zNzMgMi4wNjggMGw0LjY0NC00LjIwMyIvPjxwYXRoIGQ9Im0yMS43MyAzNC43MTItNy44MDktMi41NDVzLS45MzItLjM3OC0uNjMzLTEuMjM3Yy4wNjItLjE3Ny4xODYtLjMyOC41NTktLjU4OCAxLjczMS0xLjIwNiAzMi4wMjgtMTIuMDk2IDMyLjAyOC0xMi4wOTZzLjg1Ni0uMjg4IDEuMzYxLS4wOTdjLjIzMS4wODguMzc4LjE4Ny41MDMuNTQ4LjA0NS4xMzIuMDcxLjQxMS4wNjguNjg5LS4wMDMuMjAxLS4wMjcuMzg2LS4wNDUuNjc4LS4xODQgMi45NzgtNS43MDYgMjUuMTk4LTUuNzA2IDI1LjE5OHMtLjMzIDEuMy0xLjUxNCAxLjM0NWMtLjQzMi4wMTYtLjk1Ni0uMDcxLTEuNTgyLS42MS0yLjMyMy0xLjk5OC0xMC4zNTItNy4zOTQtMTIuMTI2LTguNThhLjM0LjM0IDAgMCAxLS4xNDYtLjIzOWMtLjAyNS0uMTI1LjEwOC0uMjguMTA4LS4yOHMxMy45OC0xMi40MjcgMTQuMzUyLTEzLjczMWMuMDI5LS4xMDEtLjA3OS0uMTUxLS4yMjYtLjEwNy0uOTI5LjM0Mi0xNy4wMjUgMTAuNTA2LTE4LjgwMSAxMS42MjktLjEwNC4wNjYtLjM5NS4wMjMtLjM5NS4wMjMiLz48L2c+PC9zeW1ib2w+PC9zdmc+"
        },
        "displayName": "Telegram",
        "typeVersion": 1,
        "nodeCategories": [
          {
            "id": 6,
            "name": "Communication"
          },
          {
            "id": 28,
            "name": "HITL"
          }
        ]
      }
    ],
    "categories": [
      {
        "id": 36,
        "name": "File Management"
      }
    ],
    "image": [
      {
        "id": 579,
        "url": "https://f000.backblazeb2.com/file/n8n-website-images/8d505152236d40279821124133d22a62.png"
      },
      {
        "id": 580,
        "url": "https://f000.backblazeb2.com/file/n8n-website-images/9dea744c1ebc44499094500c52e0f685.png"
      },
      {
        "id": 581,
        "url": "https://f000.backblazeb2.com/file/n8n-website-images/5196875df2d74265bc831277b22a2703.png"
      },
      {
        "id": 582,
        "url": "https://f000.backblazeb2.com/file/n8n-website-images/6a7ffc2e26ea41968b7f57c75f1083b1.png"
      }
    ]
  }
}